Class SingleRespBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.SingleRespBC
- All Implemented Interfaces:
-
ISingleResp
Wrapper class for
SingleResp.
-
Constructor Summary
ConstructorsConstructorDescriptionSingleRespBC(IBasicOCSPResponse basicResp) Creates new wrapper instance forSingleResp.SingleRespBC(org.bouncycastle.cert.ocsp.SingleResp singleResp) Creates new wrapper instance forSingleResp. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.Calls actualgetCertIDmethod for the wrapped SingleResp object.Calls actualgetCertStatusmethod for the wrapped SingleResp object.Calls actualgetNextUpdatemethod for the wrapped SingleResp object.org.bouncycastle.cert.ocsp.SingleRespGets actual org.bouncycastle object being wrapped.Calls actualgetThisUpdatemethod for the wrapped SingleResp object.inthashCode()Returns a hash code value based on the wrapped object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
SingleRespBC
public SingleRespBC(org.bouncycastle.cert.ocsp.SingleResp singleResp) Creates new wrapper instance forSingleResp.- Parameters:
-
singleResp-SingleRespto be wrapped
-
SingleRespBC
Creates new wrapper instance forSingleResp.- Parameters:
-
basicResp-IBasicOCSPResponsewrapper to getSingleResp
-
-
Method Details
-
getSingleResp
public org.bouncycastle.cert.ocsp.SingleResp getSingleResp()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
SingleResp.
-
getCertID
Calls actualgetCertIDmethod for the wrapped SingleResp object.- Specified by:
-
getCertIDin interfaceISingleResp - Returns:
-
ICertificateIDthe wrapper for the received CertificateID.
-
getCertStatus
Calls actualgetCertStatusmethod for the wrapped SingleResp object.- Specified by:
-
getCertStatusin interfaceISingleResp - Returns:
-
ICertificateStatusthe wrapper for the received CertificateStatus.
-
getNextUpdate
Calls actualgetNextUpdatemethod for the wrapped SingleResp object.- Specified by:
-
getNextUpdatein interfaceISingleResp - Returns:
- date of next update.
-
getThisUpdate
Calls actualgetThisUpdatemethod for the wrapped SingleResp object.- Specified by:
-
getThisUpdatein 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
DelegatestoStringmethod call to the wrapped object.
-