X509ExtensionsGeneratorAddExtension(DerObjectIdentifier, Boolean, Byte) Method
Add an extension with the given oid and the passed in byte array to be wrapped
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 Byte
- The byte array to be wrapped.