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 alternateSerializableclass to be used for serialization and deserialization ofCertificateobjects.- 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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectreadResolve()Deserializes aCertificatefrom a serializedCertificateRepobject.
-
-
-
Constructor Detail
-
CertificateRep
protected CertificateRep(String type, byte[] data)
Creates a newCertificateRepinstance with the specified certificate type and encoded data.- Parameters:
type- the certificate type.data- the encoded data.
-
-
Method Detail
-
readResolve
protected Object readResolve() throws ObjectStreamException
Deserializes aCertificatefrom a serializedCertificateRepobject.- Returns:
- the deserialized
Certificate. - Throws:
ObjectStreamException- if deserialization fails.
-
-