public static class TLS13Certificate.X509CertificateEntry extends TLS13Certificate.CertificateEntry
A TLS 1.3 X.509 CertificateEntry consists of an X.509 certificate and an optional list of extensions (OCSP Status and the SignedCertificateTimestamp), see RFC 8446:
enum { X509(0), RawPublicKey(2), (255) } CertificateType; struct { select (certificate_type) { case RawPublicKey: // From RFC 7250 ASN.1_subjectPublicKeyInfo opaque ASN1_subjectPublicKeyInfo<1..2^24-1>; case X509: opaque cert_data<1..2^24-1>; }; Extension extensions<0..2^16-1>; } CertificateEntry;
Constructor and Description |
---|
X509CertificateEntry(java.security.cert.X509Certificate certificate)
Creates an X509CertificateEntry for the given certificate.
|
Modifier and Type | Method and Description |
---|---|
java.security.cert.X509Certificate |
getCertificate()
Gets the certificate of this CertificateEntry.
|
getExtensions, setExtensions