Package java.security.cert
Class CertPath.CertPathRep
- java.lang.Object
-
- java.security.cert.CertPath.CertPathRep
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CertPath
protected static class CertPath.CertPathRep extends Object implements Serializable
The alternateSerializableclass to be used for serialization and deserialization onCertPathobjects.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCertPathRep(String type, byte[] data)Creates a newCertPathRepinstance with the specified type and encoded data.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectreadResolve()Deserializes aCertPathfrom a serializedCertPathRepobject.
-
-
-
Constructor Detail
-
CertPathRep
protected CertPathRep(String type, byte[] data)
Creates a newCertPathRepinstance with the specified type and encoded data.- Parameters:
type- the certificate type.data- the encoded data.
-
-
Method Detail
-
readResolve
protected Object readResolve() throws ObjectStreamException
Deserializes aCertPathfrom a serializedCertPathRepobject.- Returns:
- the deserialized
CertPath. - Throws:
ObjectStreamException- if deserialization fails.
-
-