|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 2 (10.1.2.0.2) B15562-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.cert.X509Extension
oracle.security.crypto.ocsp.NonceExtension
Represents the Nonce extension from RFC 2650 for OCSPRequest and OCSPResponse objects.
Field Summary |
Fields inherited from class oracle.security.crypto.cert.X509Extension |
id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded |
Constructor Summary | |
NonceExtension() Create a new extension with the appropriate OID type. |
|
NonceExtension(byte[] nonce) Creates a new Nonce extension with the given nonce. |
|
NonceExtension(byte[] nonce, boolean critical) Creates a new Nonce extension with the given nonce. |
|
NonceExtension(java.io.InputStream is) |
Method Summary | |
byte[] |
getNonce() Gets the nonce ofthis extension. |
java.lang.String |
toString() Returns a string representation of this object. |
Methods inherited from class oracle.security.crypto.cert.X509Extension |
getASN1Value, getCritical, getID, getType, getValue, input, inputInstance, isRecognized, length, output, setCritical, setValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public NonceExtension()
Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream)
method.
public NonceExtension(byte[] nonce)
nonce
- The nonce bytes.public NonceExtension(byte[] nonce, boolean critical)
nonce
- The nonce of this extension.critical
- True if this extension is critical, false otherwise.public NonceExtension(java.io.InputStream is) throws java.io.IOException
Method Detail |
public byte[] getNonce()
public java.lang.String toString()
oracle.security.crypto.cert.X509Extension
|
Oracle Security Developer Tools PKI SDK OCSP Java API Reference 10g Release 2 (10.1.2.0.2) B15562-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |