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 CertificateIDgetCertID()CertificateStatusgetCertStatus()Return the status object for the response - null indicates good.java.util.SetgetCriticalExtensionOIDs()org.bouncycastle.asn1.x509.ExtensiongetExtension(org.bouncycastle.asn1.ASN1ObjectIdentifier oid)java.util.ListgetExtensionOIDs()java.util.DategetNextUpdate()return the NextUpdate value - note: this is an optional field so may be returned as null.java.util.SetgetNonCriticalExtensionOIDs()java.util.DategetThisUpdate()booleanhasExtensions()
-
-
-
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()
-
-