ddn.net.tls.certificate
Certificate and certificate chain implementations.
Provides concrete implementations of TlsCertificate and TlsCertificateChain backed by parsed X.509 certificate data.
Types 2
X.509 certificate implementation.
Stores certificate fields extracted from DER or PEM data. Instances are typically created during TLS handshake when the peer's certificate chain is received.
Fields
string subjectCommonName_string issuerCommonName_string subjectDn_string issuerDn_string[] subjectAltNames_string serialNumber_long notBefore_long notAfter_string keyAlgorithm_size_t keySize_string fingerprintSha256_string[] extendedKeyUsage_bool isCa_int pathLengthConstraint_ubyte[] derBytes_string pemString_Constructors
this(string subjectCN, string issuerCN, string subjectDN, string issuerDN,
string[] san, string serial, long nb, long na,
string keyAlg, size_t keySz, string fp,
string[] eku, bool ca, int plc,
const(ubyte)[] der, string pem)Constructs a NativeTlsCertificate from field values.Certificate chain implementation.
Stores an ordered list of certificates where index 0 is the end-entity (leaf) certificate, followed by intermediates.
Fields
TlsCertificate[] certs_Methods
Constructors
this(TlsCertificate[] certificates)Constructs a chain from an array of certificates.