NativeTlsCertificate.this

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.

Parameters

subjectCNSubject common name.
issuerCNIssuer common name.
subjectDNFull subject distinguished name.
issuerDNFull issuer distinguished name.
sanSubject alternative names.
serialSerial number as hex string.
nbnotBefore as Unix timestamp.
nanotAfter as Unix timestamp.
keyAlgPublic key algorithm name.
keySzPublic key size in bits.
fpSHA-256 fingerprint as colon-separated hex.
ekuExtended Key Usage OIDs.
caWhether this is a CA certificate.
plcPath length constraint (-1 if absent).
derDER-encoded certificate bytes.
pemPEM-encoded certificate string.