Class SingleRespBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.SingleRespBCFips
- All Implemented Interfaces:
-
ISingleResp
Wrapper class for
SingleResp
.
-
Constructor Summary
ConstructorDescriptionSingleRespBCFips
(IBasicOCSPResponse basicResp) Creates new wrapper instance forSingleResp
.SingleRespBCFips
(org.bouncycastle.cert.ocsp.SingleResp singleResp) Creates new wrapper instance forSingleResp
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.Calls actualgetCertID
method for the wrapped SingleResp object.Calls actualgetCertStatus
method for the wrapped SingleResp object.Calls actualgetNextUpdate
method for the wrapped SingleResp object.org.bouncycastle.cert.ocsp.SingleResp
Gets actual org.bouncycastle object being wrapped.Calls actualgetThisUpdate
method for the wrapped SingleResp object.int
hashCode()
Returns a hash code value based on the wrapped object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
SingleRespBCFips
public SingleRespBCFips(org.bouncycastle.cert.ocsp.SingleResp singleResp) Creates new wrapper instance forSingleResp
.- Parameters:
-
singleResp
-SingleResp
to be wrapped
-
SingleRespBCFips
Creates new wrapper instance forSingleResp
.- Parameters:
-
basicResp
-IBasicOCSPResponse
wrapper to getSingleResp
-
-
Method Details
-
getSingleResp
public org.bouncycastle.cert.ocsp.SingleResp getSingleResp()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
SingleResp
.
-
getCertID
Calls actualgetCertID
method for the wrapped SingleResp object.- Specified by:
-
getCertID
in interfaceISingleResp
- Returns:
-
ICertificateID
the wrapper for the received CertificateID.
-
getCertStatus
Calls actualgetCertStatus
method for the wrapped SingleResp object.- Specified by:
-
getCertStatus
in interfaceISingleResp
- Returns:
-
ICertificateStatus
the wrapper for the received CertificateStatus.
-
getNextUpdate
Calls actualgetNextUpdate
method for the wrapped SingleResp object.- Specified by:
-
getNextUpdate
in interfaceISingleResp
- Returns:
- date of next update.
-
getThisUpdate
Calls actualgetThisUpdate
method for the wrapped SingleResp object.- Specified by:
-
getThisUpdate
in interfaceISingleResp
- Returns:
- date of this update.
-
equals
Indicates whether some other object is "equal to" this one. Compares wrapped objects. -
hashCode
public int hashCode()Returns a hash code value based on the wrapped object. -
toString
DelegatestoString
method call to the wrapped object.
-