Package java.security.cert
Class Certificate.CertificateRep
java.lang.Object
java.security.cert.Certificate.CertificateRep
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Certificate
protected static class Certificate.CertificateRep extends Object implements Serializable
The alternate
Serializable class to be used for serialization and
deserialization of Certificate objects.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertificateRep(String type, byte[] data)Creates a newCertificateRepinstance with the specified certificate type and encoded data. -
Method Summary
Modifier and Type Method Description protected ObjectreadResolve()Deserializes aCertificatefrom a serializedCertificateRepobject.
-
Constructor Details
-
CertificateRep
Creates a newCertificateRepinstance with the specified certificate type and encoded data.- Parameters:
type- the certificate type.data- the encoded data.
-
-
Method Details
-
readResolve
Deserializes aCertificatefrom a serializedCertificateRepobject.- Returns:
- the deserialized
Certificate. - Throws:
ObjectStreamException- if deserialization fails.
-