iaik.security.ssl
Class TLS13Certificate.X509CertificateEntry

java.lang.Object
  extended by iaik.security.ssl.TLS13Certificate.CertificateEntry
      extended by 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;
 


Constructor Summary
TLS13Certificate.X509CertificateEntry(java.security.cert.X509Certificate certificate)
          Creates an X509CertificateEntry for the given certificate.
 
Method Summary
 java.security.cert.X509Certificate getCertificate()
          Gets the certificate of this CertificateEntry.
 
Methods inherited from class iaik.security.ssl.TLS13Certificate.CertificateEntry
getExtensions, setExtensions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TLS13Certificate.X509CertificateEntry

public TLS13Certificate.X509CertificateEntry(java.security.cert.X509Certificate certificate)
Creates an X509CertificateEntry for the given certificate.

Parameters:
certificate - the X.509 certificate
Method Detail

getCertificate

public java.security.cert.X509Certificate getCertificate()
Gets the certificate of this CertificateEntry.

Returns:
the certificate of this CertificateEntry

This Javadoc may contain text parts from text parts from IETF Internet Standard specifications (see copyright note).

iSaSiLk 6.0, (c) 2002 IAIK, (c) 2003 - 2015 SIC