Package-level declarations

Types

Link copied to clipboard
data class AlternativeNames

RFC 5280 {Subject||Issuer}AlternativeNames (SANs, IANs) container class constructed from a certificate's extensions (i.e. TbsCertificate.extensions filtered by OID). Hence, this class is not intended to be used for constructing SANs or IANs, but used to extract them from a certificate.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@Serializable
data class Pkcs10CertificationRequest(val tbsCsr: TbsCertificationRequest, val signatureAlgorithm: X509SignatureAlgorithm, val signature: CryptoSignature) : Asn1Encodable<Asn1Sequence>

Very simple implementation of a PKCS#10 Certification Request

Link copied to clipboard
@Serializable
data class RelativeDistinguishedName(val attrsAndValues: List<AttributeTypeAndValue>) : Asn1Encodable<Asn1Set>

X.500 Name (used in X.509 Certificates)

Link copied to clipboard

Enumeration of implicit tags used to indicate different SubjectAltNames

Link copied to clipboard
@Serializable
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: BitSet? = null, val subjectUniqueID: BitSet? = null, val extensions: List<X509CertificateExtension>? = null) : Asn1Encodable<Asn1Sequence>

Very simple implementation of the meat of an X.509 Certificate: The structure that gets signed

Link copied to clipboard
@Serializable
data class TbsCertificationRequest(val version: Int = 0, val subjectName: List<RelativeDistinguishedName>, val publicKey: CryptoPublicKey, val attributes: List<Pkcs10CertificationRequestAttribute> = listOf()) : Asn1Encodable<Asn1Sequence>

The meat of a PKCS#10 Certification Request: The structure that gets signed

Link copied to clipboard
@Serializable
data class X509Certificate constructor(val tbsCertificate: TbsCertificate, val signatureAlgorithm: X509SignatureAlgorithm, val signature: CryptoSignature) : Asn1Encodable<Asn1Sequence>

Very simple implementation of an X.509 Certificate

Link copied to clipboard

X.509 Certificate Extension

Properties

Link copied to clipboard
Link copied to clipboard