TbsCertificate
data class TbsCertificate constructor( val version: Int? = 2, val serialNumber: ByteArray, val signatureAlgorithm: X509SignatureAlgorithm, val issuerName: List<RelativeDistinguishedName>, val validFrom: Asn1Time, val validUntil: Asn1Time, val subjectName: List<RelativeDistinguishedName>, val publicKey: CryptoPublicKey, val issuerUniqueID: Asn1BitString? = null, val subjectUniqueID: Asn1BitString? = null, val extensions: List<X509CertificateExtension>? = null) : Asn1Encodable<Asn1Sequence> (source)
Very simple implementation of the meat of an X.509 Certificate: The structure that gets signed
Constructors
Link copied to clipboard
constructor( version: Int? = 2, serialNumber: ByteArray, signatureAlgorithm: X509SignatureAlgorithm, issuerName: List<RelativeDistinguishedName>, validFrom: Asn1Time, validUntil: Asn1Time, subjectName: List<RelativeDistinguishedName>, publicKey: CryptoPublicKey, issuerUniqueID: Asn1BitString? = null, subjectUniqueID: Asn1BitString? = null, extensions: List<X509CertificateExtension>? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Contains IssuerAlternativeName
s parsed from extensions. This property is initialized right away. This incurs some structural validation, but still allows for contents violating RFC 5280, e.g. all UTF-8 strings are accepted, even though this is too lenient.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Contains SubjectAlternativeName
s parsed from extensions. This property is initialized right away. This incurs some structural validation, but still allows for contents violating RFC 5280, e.g. all UTF-8 strings are accepted, even though this is too lenient.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard