Class CertPath.CertPathRep
java.lang.Object
java.security.cert.CertPath.CertPathRep
- All Implemented Interfaces:
Serializable
- Enclosing class:
CertPath
Alternate
CertPath
class for serialization.- Since:
- 1.4
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
CertPathRep
(String type, byte[] data) Creates aCertPathRep
with the specified type and encoded form of a certification path. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Returns aCertPath
constructed from the type and data of thisCertPathRep
.
-
Constructor Details
-
CertPathRep
Creates aCertPathRep
with the specified type and encoded form of a certification path.- Parameters:
type
- the standard name of aCertificate
typedata
- the encoded form of the certification path
-
-
Method Details
-
readResolve
Returns aCertPath
constructed from the type and data of thisCertPathRep
.- Returns:
- the resolved
CertPath
object - Throws:
ObjectStreamException
- if aCertPath
object could not be constructed
-