iaik.security.ssl
Class TLS13Certificate.CertificateEntry

java.lang.Object
  extended by iaik.security.ssl.TLS13Certificate.CertificateEntry
Direct Known Subclasses:
TLS13Certificate.X509CertificateEntry
Enclosing class:
TLS13Certificate

public abstract static class TLS13Certificate.CertificateEntry
extends java.lang.Object

TLS 1.3 CertificateEntry.

A TLS 1.3 CertificateEntry consists of a raw public key or 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
 ExtensionList getExtensions()
          Gets the extensions included in this CertificateEntry.
 void setExtensions(ExtensionList extensions)
          Sets any extensions for this CertificateEntry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setExtensions

public void setExtensions(ExtensionList extensions)
Sets any extensions for this CertificateEntry.

Parameters:
extensions - the extensions

getExtensions

public ExtensionList getExtensions()
Gets the extensions included in this CertificateEntry.

Returns:
the extensions included in this CertificateEntry or null if no extensions are included

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