Deprecated
use org.bouncycastle.asn1.x509.ExtensionsGenerator
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | addExtension(ASN1ObjectIdentifier
OID for the extension. oid, boolean true if critical, false otherwise. critical, ASN1Encodable the ASN.1 object to be included in the extension. 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(ASN1ObjectIdentifier
OID for the extension. oid, boolean true if critical, false otherwise. critical, byte[] the byte array to be wrapped. 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 | Returns: an X09Extensions object.
Deprecated
as a consequence of
Generate an X509Extensions object based on the current state of the generator.
X509Extensions being deprecated.
|
| public boolean | Returns: true if empty, false otherwiseReturn true if there are no extension present in this generator. |
| public void |
| extensions | back to summary |
|---|---|
| private Hashtable<K, V> extensions | |
| extOrdering | back to summary |
|---|---|
| private Vector<E> extOrdering | |
| X509ExtensionsGenerator | back to summary |
|---|---|
| public X509ExtensionsGenerator() | |
| addExtension | back to summary |
|---|---|
| public 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.
| |
| addExtension | back to summary |
|---|---|
| public 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.
| |
| generate | back to summary |
|---|---|
| public X509Extensions generate()
Deprecated as a consequence of Generate an X509Extensions object based on the current state of the generator.
| |
| isEmpty | back to summary |
|---|---|
| public boolean isEmpty() Return true if there are no extension present in this generator.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the generator | |