TbsCertificate

data class TbsCertificate(val version: Int = 2, val serialNumber: Long, val signatureAlgorithm: JwsAlgorithm, val issuerCommonName: String, val validFrom: Instant, val validUntil: Instant, val subjectCommonName: String, val publicKey: CryptoPublicKey)

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: Long, signatureAlgorithm: JwsAlgorithm, issuerCommonName: String, validFrom: Instant, validUntil: Instant, subjectCommonName: String, publicKey: CryptoPublicKey)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val validFrom: Instant
Link copied to clipboard
val validUntil: Instant
Link copied to clipboard
val version: Int = 2

Functions

Link copied to clipboard