Extension
| Modifier and Type | Field and Description |
|---|---|
| private static final String | EXTENSION_NAME
Attribute name. |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | OCSPNonceExtension(int
the number of random bytes composing the nonce length)Create an |
| public | OCSPNonceExtension(boolean
a boolean flag indicating whether the criticality bit
is set for this extension isCritical, int the number of random bytes composing the nonce length)Create an |
| public | OCSPNonceExtension(byte[]
The nonce data to be set for the extension. This
must be a non-null array of at least one byte long. incomingNonce)Create an |
| public | OCSPNonceExtension(boolean
a boolean flag indicating whether the criticality bit
is set for this extension isCritical, byte[] The nonce data to be set for the extension. This
must be a non-null array of at least one byte long and can be up to
32 bytes. incomingNonce)Create an |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: the name of the extensionOverrides sun. Return the name of the extension as a |
| public byte[] | Returns: A copy of the underlying nonce bytesReturn the nonce bytes themselves, without any DER encoding. |
| public String | Returns: a string representation of the extension.Overrides sun. Returns a printable representation of the |
| EXTENSION_NAME | back to summary |
|---|---|
| private static final String EXTENSION_NAME Attribute name. | |
| nonceData | back to summary |
|---|---|
| private final byte[] nonceData | |
| OCSPNonceExtension | back to summary |
|---|---|
| public OCSPNonceExtension(int length) throws IOException Create an
| |
| OCSPNonceExtension | back to summary |
|---|---|
| public OCSPNonceExtension(boolean isCritical, int length) throws IOException Create an
| |
| OCSPNonceExtension | back to summary |
|---|---|
| public OCSPNonceExtension(byte[] incomingNonce) throws IOException Create an
| |
| OCSPNonceExtension | back to summary |
|---|---|
| public OCSPNonceExtension(boolean isCritical, byte[] incomingNonce) throws IOException Create an
| |
| getName | back to summary |
|---|---|
| public String getName() Overrides sun. Return the name of the extension as a | |
| getNonceValue | back to summary |
|---|---|
| public byte[] getNonceValue() Return the nonce bytes themselves, without any DER encoding.
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides sun. Returns a printable representation of the | |