Identity.java, [...]: New versions from classpath.
2003-05-10 Michael Koch <konqueror@gmx.de> * java/security/Identity.java, java/security/IdentityScope.java, java/security/Key.java, java/security/KeyPair.java, java/security/PrivateKey.java, java/security/Provider.java, java/security/PublicKey.java, java/security/SecureRandom.java, java/security/SecureRandomSpi.java, java/security/SignedObject.java, java/security/Signer.java, java/security/cert/Certificate.java, java/security/cert/PKIXCertPathBuilderResult.java, java/security/cert/X509Certificate.java: New versions from classpath. From-SVN: r66655
This commit is contained in:
committed by
Michael Koch
parent
3ee106652e
commit
2d133a9fd0
@@ -47,6 +47,7 @@ import java.io.ObjectInputStream;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.InvalidObjectException;
|
||||
import java.io.ObjectStreamException;
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* The Certificate class is an abstract class used to manage
|
||||
@@ -71,9 +72,9 @@ import java.io.ObjectStreamException;
|
||||
* @author Mark Benvenuto
|
||||
* @author Casey Marshall
|
||||
*/
|
||||
public abstract class Certificate
|
||||
public abstract class Certificate implements Serializable
|
||||
{
|
||||
static final long serialVersionUID = -6751606818319535583L;
|
||||
private static final long serialVersionUID = -6751606818319535583L;
|
||||
|
||||
private String type;
|
||||
|
||||
@@ -227,7 +228,7 @@ public abstract class Certificate
|
||||
* @throws ObjectStreamException If the replacement could not be
|
||||
* created.
|
||||
*/
|
||||
public Object writeReplace() throws ObjectStreamException
|
||||
protected Object writeReplace() throws ObjectStreamException
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user