| java.lang.Object org.bouncycastle.asn1.x509.X509ExtensionsGenerator
X509ExtensionsGenerator | public class X509ExtensionsGenerator (Code) | | Generator for X.509 extensions
|
Method Summary | |
public void | addExtension(DERObjectIdentifier oid, boolean critical, DEREncodable value) Add an extension with the given oid and the passed in value to be included
in the OCTET STRING associated with the extension. | public void | addExtension(DERObjectIdentifier 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. | public X509Extensions | generate() Generate an X509Extensions object based on the current state of the generator. | public boolean | isEmpty() Return true if there are no extension present in this generator. | public void | reset() |
addExtension | public void addExtension(DERObjectIdentifier oid, boolean critical, DEREncodable value)(Code) | | Add an extension with the given oid and the passed in value to be included
in the OCTET STRING associated with the extension.
Parameters: oid - OID for the extension. Parameters: critical - true if critical, false otherwise. Parameters: value - the ASN.1 object to be included in the extension. |
addExtension | public void addExtension(DERObjectIdentifier oid, boolean critical, byte[] value)(Code) | | Add an extension with the given oid and the passed in byte array to be wrapped in the
OCTET STRING associated with the extension.
Parameters: oid - OID for the extension. Parameters: critical - true if critical, false otherwise. Parameters: value - the byte array to be wrapped. |
generate | public X509Extensions generate()(Code) | | Generate an X509Extensions object based on the current state of the generator.
an X09Extensions object. |
isEmpty | public boolean isEmpty()(Code) | | Return true if there are no extension present in this generator.
true if empty, false otherwise |
reset | public void reset()(Code) | | Reset the generator
|
|
|