|
Oracle Fusion Middleware PKI SDK OCSP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10673-03 |
|||||||
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.AcceptableResponseTypeExtension
public class AcceptableResponseTypeExtension
Represents the acceptable response type extension for OCSPRequest objects. Defines the response that the client will accept from the server. For now, there is only one possibility: PKIX.id_pkix_ocsp_basic
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 | |
---|---|
AcceptableResponseTypeExtension() Create a new extension with the appropriate OID type. |
|
AcceptableResponseTypeExtension(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse) Creates a new extension with the given response type. |
|
AcceptableResponseTypeExtension(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse, boolean critical) Creates a new extension with the given response type. |
|
AcceptableResponseTypeExtension(java.io.InputStream is) |
Method Summary | |
---|---|
java.util.Enumeration |
acceptableResponses() Gets the acceptable response types from this extension. |
void |
addAcceptableResponse(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse) Adds a response type to this extension. |
java.lang.String |
toString() |
Methods inherited from class oracle.security.crypto.cert.X509Extension |
---|
getCritical, getType, getValue, input, inputInstance, isRecognized, length, output, readExternal, setCritical, setValue, writeExternal |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AcceptableResponseTypeExtension()
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 AcceptableResponseTypeExtension(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse)
acceptableResponse
- The response type.public AcceptableResponseTypeExtension(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse, boolean critical)
acceptableResponse
- The response type.critical
- True if this extension is critical, false otherwise.public AcceptableResponseTypeExtension(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public void addAcceptableResponse(oracle.security.crypto.asn1.ASN1ObjectID acceptableResponse)
acceptableResponse
- A response type to add.public java.util.Enumeration acceptableResponses()
public java.lang.String toString()
toString
in class oracle.security.crypto.cert.X509Extension
|
Oracle Fusion Middleware PKI SDK OCSP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10673-03 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |