|
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.ocsp.SingleRequest
Represents a single request for an OCSP Request.
| Constructor Summary | |
SingleRequest(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert)Creates a new SingleRequest with the given certificate and the CA certificate. |
|
SingleRequest(oracle.security.crypto.cert.X509 cert, oracle.security.crypto.cert.X509 caCert, AlgorithmIdentifier hashAlgID)Creates a new SingleRequest with the given certificate and the CA certificate. |
|
| Method Summary | |
void |
addSingleReqExtension(oracle.security.crypto.cert.X509Extension ext)Adds an extension to this request. |
CertID |
getCertID()Gets the cert ID of this single request. |
oracle.security.crypto.cert.X509Extension |
getSingleReqExtension(ASN1ObjectID type)Gets the extension if it exists of this request for the given type. |
oracle.security.crypto.cert.X509ExtensionSet |
getSingleReqExtensions()Gets the extensions of this request. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
setSingleReqExtensions(oracle.security.crypto.cert.X509ExtensionSet extensionSet)Sets the extensions of this request with the given extension set. |
java.lang.String |
toString() |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SingleRequest(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert)
throws AlgorithmIdentifierException,
java.io.IOException
cert - The certificate to request information on.caCert - The CA's certificate that issued cert.
public SingleRequest(oracle.security.crypto.cert.X509 cert,
oracle.security.crypto.cert.X509 caCert,
AlgorithmIdentifier hashAlgID)
throws AlgorithmIdentifierException,
java.io.IOException
cert - The certificate to request information on.caCert - The CA's certificate that issued cert.hashAlgID - The algorithm used for hashing the GeneralName and the public key of the CA's certificate.| Method Detail |
public CertID getCertID()
public void addSingleReqExtension(oracle.security.crypto.cert.X509Extension ext)
ext - The X509Extension to add.public void setSingleReqExtensions(oracle.security.crypto.cert.X509ExtensionSet extensionSet)
extensionSet - The extensions to set.public oracle.security.crypto.cert.X509Extension getSingleReqExtension(ASN1ObjectID type)
type - The ASN1ObjectID representing the type of the X509Extension.public oracle.security.crypto.cert.X509ExtensionSet getSingleReqExtensions()
public void input(java.io.InputStream is)
throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
java.io.IOExceptionpublic int length()
public java.lang.String toString()
|
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 | ||||||||