public class

SingleResp

extends Object
implements X509Extension
java.lang.Object
   ↳ org.bouncycastle.ocsp.SingleResp

Summary

Public Constructors
SingleResp(SingleResponse resp)
Public Methods
CertificateID getCertID()
Object getCertStatus()
Return the status object for the response - null indicates good.
Set getCriticalExtensionOIDs()
byte[] getExtensionValue(String oid)
Date getNextUpdate()
return the NextUpdate value - note: this is an optional field so may be returned as null.
Set getNonCriticalExtensionOIDs()
X509Extensions getSingleExtensions()
Date getThisUpdate()
boolean hasUnsupportedCriticalExtension()
RFC 2650 doesn't specify any critical extensions so we return true if any are encountered.
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.security.cert.X509Extension

Public Constructors

public SingleResp (SingleResponse resp)

Public Methods

public CertificateID getCertID ()

public Object getCertStatus ()

Return the status object for the response - null indicates good.

Returns
  • the status object for the response, null if it is good.

public Set getCriticalExtensionOIDs ()

public byte[] getExtensionValue (String oid)

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.

public Set getNonCriticalExtensionOIDs ()

public X509Extensions getSingleExtensions ()

public Date getThisUpdate ()

public boolean hasUnsupportedCriticalExtension ()

RFC 2650 doesn't specify any critical extensions so we return true if any are encountered.

Returns
  • true if any critical extensions are present.