Builder

class Builder(signingKey: AsymmetricKey, issuer: X500Name, thisUpdate: Instant, nextUpdate: Instant?) : X509SignedBuilder<X509Crl.Builder>

Constructors

Link copied to clipboard
constructor(signingKey: AsymmetricKey, issuer: X500Name, thisUpdate: Instant, nextUpdate: Instant?)

Properties

Link copied to clipboard
protected open override val extensionTag: Int
Link copied to clipboard
Link copied to clipboard
protected open override val self: X509Crl.Builder
Link copied to clipboard

Functions

Link copied to clipboard

Adds an X.509 extension to the certificate or CRL.

fun addExtension(oid: String, critical: Boolean, value: ByteArray): X509Crl.Builder
fun addExtension(oid: String, critical: Boolean, value: ByteString): X509Crl.Builder

Adds an X.509 extension to the certificate or CRL

Link copied to clipboard
Link copied to clipboard
suspend fun build(): X509Crl
Link copied to clipboard
protected suspend fun buildASN1(): ASN1Sequence

Builds three-element ASN1Sequence that contains TBS ASN1Sequence, signature algorithm and the signature.

Link copied to clipboard
protected open suspend override fun buildTbs(tbsList: MutableList<ASN1Object>)

Adds the to-be-signed structure to tbsList.