org.bouncycastle.ocsp

Class SingleResp

Implemented Interfaces:
java.security.cert.X509Extension

public class SingleResp
extends java.lang.Object
implements java.security.cert.X509Extension

Constructor Summary

SingleResp(SingleResponse resp)

Method Summary

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.

Constructor Details

SingleResp

public SingleResp(SingleResponse resp)

Method Details

getCertID

public CertificateID getCertID()


getCertStatus

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.


getCriticalExtensionOIDs

public Set getCriticalExtensionOIDs()


getExtensionValue

public byte[] getExtensionValue(String oid)


getNextUpdate

public Date getNextUpdate()
return the NextUpdate value - note: this is an optional field so may be returned as null.


getNonCriticalExtensionOIDs

public Set getNonCriticalExtensionOIDs()


getSingleExtensions

public X509Extensions getSingleExtensions()


getThisUpdate

public Date getThisUpdate()


hasUnsupportedCriticalExtension

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.