Serialized Form
-
Package java.security.cert
-
Class java.security.cert.Certificate extends java.lang.Object implements Serializable
- serialVersionUID:
- -3585440601605666277L
-
Serialization Methods
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamExceptionReplace the Certificate to be serialized.- Throws:
java.io.ObjectStreamException- if a new object representing this Certificate could not be created- Since:
- 1.3
-
-
Serialized Fields
-
type
java.lang.String type
-
hash
int hash
Cache the hash code for the certiticate
-
-
Class java.security.cert.Certificate.CertificateRep extends java.lang.Object implements Serializable
- serialVersionUID:
- -8563758940495660020L
-
Serialization Methods
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamExceptionResolve the Certificate Object.- Throws:
java.io.ObjectStreamException- if the Certificate could not be resolved
-
-
Serialized Fields
-
type
java.lang.String type
-
data
byte[] data
-
-
Class java.security.cert.CertificateEncodingException extends CertificateException implements Serializable
- serialVersionUID:
- 6219492851589449162L
-
Class java.security.cert.CertificateException extends java.security.GeneralSecurityException implements Serializable
- serialVersionUID:
- 3192535253797119798L
-
Class java.security.cert.CertificateExpiredException extends CertificateException implements Serializable
- serialVersionUID:
- 9071001339691533771L
-
Class java.security.cert.CertificateNotYetValidException extends CertificateException implements Serializable
- serialVersionUID:
- 4355919900041064702L
-
Class java.security.cert.CertificateParsingException extends CertificateException implements Serializable
- serialVersionUID:
- -7989222416793322029L
-
Class java.security.cert.CertificateRevokedException extends CertificateException implements Serializable
- serialVersionUID:
- 7839996631571608627L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream ois) throws java.io.IOException, java.lang.ClassNotFoundExceptionDeserialize theCertificateRevokedExceptioninstance.- Throws:
java.io.IOExceptionjava.lang.ClassNotFoundException
-
writeObject
private void writeObject(java.io.ObjectOutputStream oos) throws java.io.IOExceptionSerialize thisCertificateRevokedExceptioninstance.- Serial Data:
- the size of the extensions map (int), followed by all of the extensions in the map, in no particular order. For each extension, the following data is emitted: the OID String (Object), the criticality flag (boolean), the length of the encoded extension value byte array (int), and the encoded extension value bytes.
- Throws:
java.io.IOException
-
-
Serialized Fields
-
revocationDate
java.util.Date revocationDate
the date on which the certificate was revoked -
reason
java.security.cert.CRLReason reason
the revocation reason -
authority
javax.security.auth.x500.X500Principal authority
the name of the authority that signed the certificate's revocation status information
-
-
Class java.security.cert.CertPath extends java.lang.Object implements Serializable
- serialVersionUID:
- 6068470306649138683L
-
Serialization Methods
-
writeReplace
protected java.lang.Object writeReplace() throws java.io.ObjectStreamExceptionReplaces theCertPathto be serialized with aCertPathRepobject.- Throws:
ObjectStreamException- if aCertPathRepobject representing this certification path could not be created
-
-
Serialized Fields
-
type
java.lang.String type
The CertPath type
-
-
Class java.security.cert.CertPath.CertPathRep extends java.lang.Object implements Serializable
- serialVersionUID:
- 3015633072427920915L
-
Serialization Methods
-
readResolve
protected java.lang.Object readResolve() throws java.io.ObjectStreamExceptionReturns aCertPathconstructed from the type and data.- Throws:
ObjectStreamException- if aCertPathcould not be constructed
-
-
Serialized Fields
-
type
java.lang.String type
The Certificate type -
data
byte[] data
The encoded form of the cert path
-
-
Class java.security.cert.CertPathBuilderException extends java.security.GeneralSecurityException implements Serializable
- serialVersionUID:
- 5316471420178794402L
-
Class java.security.cert.CertPathValidatorException extends java.security.GeneralSecurityException implements Serializable
- serialVersionUID:
- -2365020986539324560L
-
Serialization Methods
-
readObject
private void readObject(java.io.ObjectInputStream stream) throws java.lang.ClassNotFoundException, java.io.IOException- Throws:
java.lang.ClassNotFoundExceptionjava.io.IOException
-
-
Serialized Fields
-
index
int index
The index of the certificate in the certification path that caused the exception to be thrown. Initialize to be -1. -
certPath
CertPath certPath
theCertPaththat was being validated when the exception was thrown -
reason
CertPathValidatorException.Reason reason
the reason the validation failed -
ie
java.lang.Throwable ie
Internal (wrapped) exception
-
-
Class java.security.cert.CertStoreException extends java.security.GeneralSecurityException implements Serializable
- serialVersionUID:
- 2395296107471573245L
-
Class java.security.cert.CRLException extends java.security.GeneralSecurityException implements Serializable
- serialVersionUID:
- -6694728944094197147L
-
Class java.security.cert.X509Certificate extends Certificate implements Serializable
- serialVersionUID:
- -2491127588187038216L
-