TbsCertificationRequest

constructor(subjectName: List<RelativeDistinguishedName>, publicKey: CryptoPublicKey, extensions: List<X509CertificateExtension>? = null, version: Int = 0, attributes: List<Pkcs10CertificationRequestAttribute>? = null)(source)

Convenience constructor for adding X509CertificateExtensions to a CSR (in addition to generic attributes

Throws

if no extensions are provided


constructor(version: Int = 0, subjectName: List<RelativeDistinguishedName>, publicKey: CryptoPublicKey, attributes: List<Pkcs10CertificationRequestAttribute> = listOf())(source)

Parameters

version

defaults to 0

subjectName

list of subject distinguished names

publicKey

nomen est omen

attributes

nomen est omen