Package org.bouncycastle.cert.ocsp
Class SingleResp
- java.lang.Object
-
- org.bouncycastle.cert.ocsp.SingleResp
-
public class SingleResp extends java.lang.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.java.util.Set
getCriticalExtensionOIDs()
org.bouncycastle.asn1.x509.Extension
getExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)
java.util.List
getExtensionOIDs()
java.util.Date
getNextUpdate()
return the NextUpdate value - note: this is an optional field so may be returned as null.java.util.Set
getNonCriticalExtensionOIDs()
java.util.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 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()
-
-