X509CAImpl.makeCert

Interface for creating new certificates

class X509CAImpl
static
makeCert
(
ALLOC
)
(,,
in AlgorithmIdentifier sig_algo
,
auto const ref Vector!(ubyte, ALLOC) pub_key
,,,,,)

Parameters

signer PKSigner

a signing object

rng RandomNumberGenerator

a random number generator

sig_algo AlgorithmIdentifier

the signature algorithm identifier

pub_key Vector!(ubyte, ALLOC)

the serialized public key

not_before X509Time

the start time of the certificate

not_after X509Time

the end time of the certificate

issuer_dn X509DN

the DN of the issuer

subject_dn X509DN

the DN of the subject

extensions X509Extensions

an optional list of certificate extensions

Return Value

s newly minted certificate

Meta