Class BasicOCSPRespBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.BasicOCSPRespBCFips
- All Implemented Interfaces:
-
IBasicOCSPResp
Wrapper class for
BasicOCSPResp.
-
Constructor Summary
ConstructorsConstructorDescriptionBasicOCSPRespBCFips(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Creates new wrapper instance forBasicOCSPResp. -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.BasicOCSPRespGets actual org.bouncycastle object being wrapped.getCerts()Calls actualgetCertsmethod for the wrapped BasicOCSPResp object.byte[]Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.Calls actualgetProducedAtmethod for the wrapped BasicOCSPResp object.Calls actualgetResponsesmethod for the wrapped BasicOCSPResp object.inthashCode()Returns a hash code value based on the wrapped object.booleanisSignatureValid(IContentVerifierProvider provider) Calls actualisSignatureValidmethod for the wrapped BasicOCSPResp object.toString()DelegatestoStringmethod call to the wrapped object.
-
Constructor Details
-
BasicOCSPRespBCFips
public BasicOCSPRespBCFips(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Creates new wrapper instance forBasicOCSPResp.- Parameters:
-
basicOCSPResp-BasicOCSPRespto be wrapped
-
-
Method Details
-
getBasicOCSPResp
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
BasicOCSPResp.
-
getResponses
Calls actualgetResponsesmethod for the wrapped BasicOCSPResp object.- Specified by:
-
getResponsesin interfaceIBasicOCSPResp - Returns:
- wrapped SingleResp list.
-
isSignatureValid
Calls actualisSignatureValidmethod for the wrapped BasicOCSPResp object.- Specified by:
-
isSignatureValidin interfaceIBasicOCSPResp - Parameters:
-
provider- ContentVerifierProvider wrapper - Returns:
- boolean value.
- Throws:
-
OCSPExceptionBCFips
-
getCerts
Calls actualgetCertsmethod for the wrapped BasicOCSPResp object.- Specified by:
-
getCertsin interfaceIBasicOCSPResp - Returns:
- wrapped certificates list.
-
getEncoded
Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.- Specified by:
-
getEncodedin interfaceIBasicOCSPResp - Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
getProducedAt
Calls actualgetProducedAtmethod for the wrapped BasicOCSPResp object.- Specified by:
-
getProducedAtin interfaceIBasicOCSPResp - Returns:
- produced at date.
-
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.
-