Class Certificate.CertificateRep
java.lang.Object
java.security.cert.Certificate.CertificateRep
- All Implemented Interfaces:
Serializable
- Enclosing class:
Certificate
Alternate
Certificate
class for serialization.- Since:
- 1.3
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
CertificateRep
(String type, byte[] data) Construct the alternateCertificate
class with theCertificate
type andCertificate
encoding bytes. -
Method Summary
Modifier and TypeMethodDescriptionprotected Object
Returns aCertificate
with the type and data of thisCertificateRep
.
-
Constructor Details
-
CertificateRep
Construct the alternateCertificate
class with theCertificate
type andCertificate
encoding bytes.- Parameters:
type
- the standard name of theCertificate
type.data
- theCertificate
data.
-
-
Method Details
-
readResolve
Returns aCertificate
with the type and data of thisCertificateRep
.- Returns:
- the resolved
Certificate
object - Throws:
ObjectStreamException
- if theCertificate
could not be resolved
-