W3cubDocs

/OpenJDK 21

Class Certificate.CertificateRep

java.lang.Object
java.security.cert.Certificate.CertificateRep
All Implemented Interfaces:
Serializable
Enclosing class:
Certificate
protected static class Certificate.CertificateRep extends Object implements Serializable
Alternate Certificate class for serialization.
Since:
1.3
See Also:

Constructor Summary

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

Method Summary

Modifier and Type Method Description
protected Object readResolve()
Returns a Certificate with the type and data of this CertificateRep.

Methods declared in class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

CertificateRep

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.

Method Details

readResolve

protected Object readResolve() throws ObjectStreamException
Returns a Certificate with the type and data of this CertificateRep.
Returns:
the resolved Certificate object
Throws:
ObjectStreamException - if the Certificate could not be resolved

© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/security/cert/Certificate.CertificateRep.html