addExtension

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

Adds an X.509 extension to the certificate

Return

the builder.

Parameters

oid

the OID for the extension.

critical

the criticality flag.

value

the bytes of the extension