X509ExtensionsGeneratorAddExtension(DerObjectIdentifier, Boolean, Asn1Encodable) Method
Add an extension with the given oid and the passed in value to be included
in the OCTET STRING associated with the extension.
Namespace: Org.BouncyCastle.Asn1.X509Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
function AddExtension(oid, critical, extValue);
Parameters
- oid DerObjectIdentifier
- OID for the extension.
- critical Boolean
- True if critical, false otherwise.
- extValue Asn1Encodable
- The ASN.1 object to be included in the extension.