org.bouncycastle.cert.ocsp
Class SingleResp
java.lang.Object
|
+--org.bouncycastle.cert.ocsp.SingleResp
- public class SingleResp
- extends java.lang.Object
Constructor Summary |
SingleResp(org.bouncycastle.asn1.ocsp.SingleResponse resp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SingleResp
public SingleResp(org.bouncycastle.asn1.ocsp.SingleResponse resp)
getCertID
public CertificateID getCertID()
getCertStatus
public CertificateStatus getCertStatus()
- Return the status object for the response - null indicates good.
- Returns:
- the status object for the response, null if it is good.
getThisUpdate
public java.util.Date getThisUpdate()
getNextUpdate
public java.util.Date getNextUpdate()
- return the NextUpdate value - note: this is an optional field so may
be returned as null.
- Returns:
- nextUpdate, or null if not present.
hasExtensions
public boolean hasExtensions()
getExtension
public org.bouncycastle.asn1.x509.Extension getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
getExtensionOIDs
public java.util.List getExtensionOIDs()
getCriticalExtensionOIDs
public java.util.Set getCriticalExtensionOIDs()
getNonCriticalExtensionOIDs
public java.util.Set getNonCriticalExtensionOIDs()