|
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.SingleBasicResponse
Represents a single response for a Basic OCSP Response.
Nested Class Summary | |
static class |
SingleBasicResponse.CertStatus Implementation of the different status code of a SingleBasicResponse object. |
Constructor Summary | |
SingleBasicResponse(CertID certID, SingleBasicResponse.CertStatus status, java.util.Date thisUpdate) Creates a new SingleBasicResponse given the certID and the certStatus. |
|
SingleBasicResponse(java.io.InputStream is) |
Method Summary | |
void |
addSingleRespExtension(oracle.security.crypto.cert.X509Extension ext) Adds an extension to this response. |
CertID |
getCertID() Returns the certID of this SingleBasicResponse object. |
SingleBasicResponse.CertStatus |
getCertStatus() Returns the status of this SingleBasicResponse object. |
java.util.Date |
getNextUpdate() Returns the end of validity of this response. |
oracle.security.crypto.cert.CRLReason |
getRevocationReason() Returns the revocation reason in the case of a revoked certificate. |
java.util.Date |
getRevocationTime() Returns the revocation date in the case of a revoked certificate. |
oracle.security.crypto.cert.X509Extension |
getSingleRespExtension(ASN1ObjectID type) Gets the extension if it exists of this response for the given type. |
oracle.security.crypto.cert.X509ExtensionSet |
getSingleRespExtensions() Gets the extensions of this response. |
java.util.Date |
getThisUpdate() Returns thisUpdate. |
void |
input(java.io.InputStream is) |
int |
length() |
void |
output(java.io.OutputStream os) Output to the specified output stream. |
void |
setNextUpdate(java.util.Date nextUpdate) Sets nextUpdate. |
void |
setRevocationReason(oracle.security.crypto.cert.CRLReason revReason) Sets the revocation reason in the case of a revoked certificate. |
void |
setRevocationTime(java.util.Date revTime) Sets the revocation time in the case of a revoked certificate. |
void |
setSingleRespExtensions(oracle.security.crypto.cert.X509ExtensionSet extensionSet) Sets the extensions of this response 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 SingleBasicResponse(CertID certID, SingleBasicResponse.CertStatus status, java.util.Date thisUpdate)
SingleBasicResponse
given the certID and the certStatus.certID
- The certID representing a certificate.thisUpdate
- The time representing the beginning of validity of this response.public SingleBasicResponse(java.io.InputStream is) throws java.io.IOException
Method Detail |
public CertID getCertID()
SingleBasicResponse
object.public SingleBasicResponse.CertStatus getCertStatus()
SingleBasicResponse
object.public java.util.Date getThisUpdate()
public void setNextUpdate(java.util.Date nextUpdate)
nextUpdate
- A Date representing the end of validity of this response.public java.util.Date getNextUpdate()
public void addSingleRespExtension(oracle.security.crypto.cert.X509Extension ext)
ext
- The X509Extension to add.public void setSingleRespExtensions(oracle.security.crypto.cert.X509ExtensionSet extensionSet)
extensionSet
- The extensions to set.public oracle.security.crypto.cert.X509Extension getSingleRespExtension(ASN1ObjectID type)
type
- The ASN1ObjectID representing the type of the X509Extension.public oracle.security.crypto.cert.X509ExtensionSet getSingleRespExtensions()
public void setRevocationTime(java.util.Date revTime)
revTime
- The revocation date.public java.util.Date getRevocationTime()
public void setRevocationReason(oracle.security.crypto.cert.CRLReason revReason)
revReason
- The revocation reason of this certificate status.public oracle.security.crypto.cert.CRLReason getRevocationReason()
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.IOException
public 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 |