X509Certificate

@Serializable
data class X509Certificate constructor(    val tbsCertificate: TbsCertificate,     val signatureAlgorithm: X509SignatureAlgorithm,     val signature: CryptoSignature) : PemEncodable<Asn1Sequence> (source)

Very simple implementation of an X.509 Certificate

Constructors

Link copied to clipboard
constructor(tbsCertificate: TbsCertificate, signatureAlgorithm: X509SignatureAlgorithm, signature: CryptoSignature)

Types

Link copied to clipboard

Properties

Link copied to clipboard
open override val canonicalPEMBoundary: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeToDerSafe(): KmmResult<ByteArray>
Link copied to clipboard
open override fun encodeToTlv(): Asn1Sequence
Link copied to clipboard
Link copied to clipboard
open fun encodeToTlvSafe(): KmmResult<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
suspend fun X509Certificate.toJcaCertificate(): KmmResult<<Error class: unknown class>>

Converts this X509Certificate to a java.security.cert.X509Certificate. This function is suspending, because it uses a mutex to lock the underlying certificate factory (which is reused for performance reasons

Link copied to clipboard
fun X509Certificate.toJcaCertificateBlocking(): KmmResult<<Error class: unknown class>>

blocking implementation of toJcaCertificate

Link copied to clipboard
open infix fun withImplicitTag(tagValue: ULong): Asn1Element