addExtension

fun addExtension(oid: String, critical: Boolean, value: ByteArray): BuilderT
fun addExtension(oid: String, critical: Boolean, value: ByteString): BuilderT

Adds an X.509 extension to the certificate or CRL

Return

the builder.

Parameters

oid

the OID for the extension.

critical

the criticality flag.

value

the bytes of the extension


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

Return

the builder

Parameters

extension

a X509Extension to add.