Example usage for Java org.bouncycastle.asn1.x509 ExtensionsGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
void | addExtension(ASN1ObjectIdentifier oid, boolean critical, ASN1Encodable value) Add an extension with the given oid and the passed in value to be included in the OCTET STRING associated with the extension. |
void | addExtension(ASN1ObjectIdentifier oid, boolean critical, byte[] value) Add an extension with the given oid and the passed in byte array to be wrapped in the OCTET STRING associated with the extension. |
Extensions | generate() Generate an Extensions object based on the current state of the generator. |