iaik.security.ssl
Class TLS13Certificate.X509CertificateEntry
java.lang.Object
iaik.security.ssl.TLS13Certificate.CertificateEntry
iaik.security.ssl.TLS13Certificate.X509CertificateEntry
- Enclosing class:
- TLS13Certificate
public static class TLS13Certificate.X509CertificateEntry
- extends TLS13Certificate.CertificateEntry
TLS 1.3 X.509 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;
Method Summary |
java.security.cert.X509Certificate |
getCertificate()
Gets the certificate of this CertificateEntry. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TLS13Certificate.X509CertificateEntry
public TLS13Certificate.X509CertificateEntry(java.security.cert.X509Certificate certificate)
- Creates an X509CertificateEntry for the given certificate.
- Parameters:
certificate
- the X.509 certificate
getCertificate
public java.security.cert.X509Certificate getCertificate()
- Gets the certificate of this CertificateEntry.
- Returns:
- the certificate of this CertificateEntry
iSaSiLk 6.0, (c) 2002 IAIK, (c) 2003 - 2015 SIC