Class 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 Detail

      • 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 Detail

      • readResolve

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