Package org.bouncycastle.cert.ocsp
Class SingleResp
- java.lang.Object
-
- org.bouncycastle.cert.ocsp.SingleResp
-
public class SingleResp extends Object
-
-
Constructor Summary
Constructors Constructor Description SingleResp(org.bouncycastle.asn1.ocsp.SingleResponse resp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CertificateID
getCertID()
CertificateStatus
getCertStatus()
Return the status object for the response - null indicates good.Set
getCriticalExtensionOIDs()
org.bouncycastle.asn1.x509.Extension
getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
List
getExtensionOIDs()
Date
getNextUpdate()
return the NextUpdate value - note: this is an optional field so may be returned as null.Set
getNonCriticalExtensionOIDs()
Date
getThisUpdate()
boolean
hasExtensions()
-
-
-
Method Detail
-
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 Date getThisUpdate()
-
getNextUpdate
public 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 List getExtensionOIDs()
-
getCriticalExtensionOIDs
public Set getCriticalExtensionOIDs()
-
getNonCriticalExtensionOIDs
public Set getNonCriticalExtensionOIDs()
-
-