Pkcs10CertificationRequestInfo

@Serializable
data class Pkcs10CertificationRequestInfo(val version: Pkcs10CertificationRequestInfo.Version = Version.V1, val subjectName: List<X500RelativeDistinguishedName>, val publicKey: SubjectPublicKeyInfo, val attributes: List<Pkcs10CsrAttribute> = emptyList())(source)

As per RFC2986:

CertificationRequestInfo ::= SEQUENCE {
version INTEGER { v1(0) } (v1,...),
subject Name,
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
attributes [0] Attributes{{ CRIAttributes }}
}

Attribute { ATTRIBUTE:IOSet } ::= SEQUENCE {
type ATTRIBUTE.&id({IOSet}),
values SET SIZE(1..MAX) OF ATTRIBUTE.&Type({IOSet}{@type})
}

Constructors

Link copied to clipboard
constructor(version: Pkcs10CertificationRequestInfo.Version = Version.V1, subjectName: List<X500RelativeDistinguishedName>, publicKey: SubjectPublicKeyInfo, attributes: List<Pkcs10CsrAttribute> = emptyList())

Types

Link copied to clipboard

Legal CSR versions. As per RFC2986, only V1 is defined.

Properties

Link copied to clipboard
Link copied to clipboard