TbsCertificate

@Serializable(with = TbsCertificate.Companion::class)
open class TbsCertificate(val version: Int? = 2, val serialNumber: ByteArray, val signatureAlgorithm: SignatureAlgorithmIdentifier, val issuerName: List<RelativeDistinguishedName>, val validFrom: Asn1Time, val validUntil: Asn1Time, val subjectName: List<RelativeDistinguishedName>, val subjectPublicKeyInfo: SubjectPublicKeyInfo, val issuerUniqueID: Asn1BitString? = null, val subjectUniqueID: Asn1BitString? = null, val extensions: List<X509CertificateExtension>? = null) : Asn1Encodable<Asn1Sequence> (source)

Constructors

Link copied to clipboard
constructor(version: Int? = 2, serialNumber: ByteArray, signatureAlgorithm: SignatureAlgorithmIdentifier, issuerName: List<RelativeDistinguishedName>, validFrom: Asn1Time, validUntil: Asn1Time, subjectName: List<RelativeDistinguishedName>, subjectPublicKeyInfo: SubjectPublicKeyInfo, issuerUniqueID: Asn1BitString? = null, subjectUniqueID: Asn1BitString? = null, extensions: List<X509CertificateExtension>? = null)

Types

Link copied to clipboard
object Companion : Asn1Serializable<Asn1Sequence, TbsCertificate>

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val issuerUniqueID: Asn1BitString?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val subjectUniqueID: Asn1BitString?
Link copied to clipboard
val validFrom: Asn1Time
Link copied to clipboard
val validUntil: Asn1Time
Link copied to clipboard
val version: Int?

Functions

Link copied to clipboard
open override fun encodeToTlv(): Asn1Sequence
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
Link copied to clipboard
open infix fun withImplicitTag(tag: Asn1Element.Tag): Asn1Element
open infix fun withImplicitTag(template: Asn1Element.Tag.Template): Asn1Element
open infix fun withImplicitTag(tagValue: ULong): Asn1Element