TbsCertificationRequest
@Serializable
The meat of a PKCS#10 Certification Request: The structure that gets signed
Parameters
version
defaults to 0
subjectName
list of subject distinguished names
publicKey
nomen est omen
attributes
nomen est omen
Constructors
Link copied to clipboard
constructor(subjectName: List<RelativeDistinguishedName>, publicKey: CryptoPublicKey, extensions: List<X509CertificateExtension>, version: Int = 0, attributes: List<Pkcs10CertificationRequestAttribute>? = null)
Convenience constructor for adding X509CertificateExtensions
to a CSR (in addition to generic attributes
constructor(version: Int = 0, subjectName: List<RelativeDistinguishedName>, publicKey: CryptoPublicKey, attributes: List<Pkcs10CertificationRequestAttribute>? = null)
Functions
Link copied to clipboard
Convenience function to directly get the DER-encoded representation of the implementing object
Link copied to clipboard
Exception-free version of encodeToDer
Link copied to clipboard
Safe version of encodeToDer, wrapping the result into a KmmResult
Link copied to clipboard
Encodes the implementing object into an A
Link copied to clipboard
Exception-free version of encodeToTlv
Link copied to clipboard
Safe version of encodeToTlv, wrapping the result into a KmmResult