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 Details

    • CertificateRep

      protected CertificateRep​(String type, byte[] data)
      Creates a new CertificateRep instance with the specified certificate type and encoded data.
      Parameters:
      type - the certificate type.
      data - the encoded data.
  • Method Details

    • readResolve

      protected Object readResolve() throws ObjectStreamException
      Deserializes a Certificate from a serialized CertificateRep object.
      Returns:
      the deserialized Certificate.
      Throws:
      ObjectStreamException - if deserialization fails.