Certificate.CertificateRep

  • Certificate.CertificateRep is an alternate implementation of the Certificate class designed for serialization.

  • It provides a protected constructor to create an instance using the certificate type and encoded data.

  • It includes a protected readResolve method to reconstruct the Certificate object during deserialization.

  • This class inherits methods from java.lang.Object, such as clone, equals, hashCode, and toString.

protected static class Certificate.CertificateRep extends Object
implements Serializable

Alternate Certificate class for serialization.

Protected Constructor Summary

CertificateRep(String type, byte[] data)
Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.

Protected Method Summary

Object
readResolve()
Resolve the Certificate Object.

Inherited Method Summary

Protected Constructors

protected CertificateRep (String type, byte[] data)

Construct the alternate Certificate class with the Certificate type and Certificate encoding bytes.

Parameters
type the standard name of the Certificate type.

data the Certificate data.

Protected Methods

protected Object readResolve ()

Resolve the Certificate Object.

Returns
  • the resolved Certificate Object
Throws
ObjectStreamException if the Certificate could not be resolved