Builder

constructor(publicKey: EcPublicKey, signingKey: EcPrivateKey, signatureAlgorithm: Algorithm, serialNumber: ASN1Integer, subject: X500Name, issuer: X500Name, validFrom: Instant, validUntil: Instant)

Parameters

publicKey

the public key for the certificate.

signingKey

Tthe key to sign the TBSCertificate with.

signatureAlgorithm

the signature algorithm to sign with.

serialNumber

the serial number in the certificate.

subject

the subject of the certificate.

issuer

the issuer of the certificate.

validFrom

the point in time the certificate is valid from.

validUntil

the point in time the certificate is valid until.