Class BasicOCSPRespBCFips
java.lang.Object
com.itextpdf.bouncycastlefips.cert.ocsp.BasicOCSPRespBCFips
- All Implemented Interfaces:
-
IBasicOCSPResp
Wrapper class for
BasicOCSPResp
.
-
Constructor Summary
ConstructorDescriptionBasicOCSPRespBCFips
(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Creates new wrapper instance forBasicOCSPResp
. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Indicates whether some other object is "equal to" this one.org.bouncycastle.cert.ocsp.BasicOCSPResp
Gets actual org.bouncycastle object being wrapped.getCerts()
Calls actualgetCerts
method for the wrapped BasicOCSPResp object.byte[]
Calls actualgetEncoded
method for the wrapped BasicOCSPResp object.getExtensionParsedValue
(IASN1ObjectIdentifier objectIdentifier) Gets parsed value of the extension retrieved using actualgetExtension
method for the wrapped BasicOCSPResp object.Calls actualgetProducedAt
method for the wrapped BasicOCSPResp object.Calls actualgetResponses
method for the wrapped BasicOCSPResp object.int
hashCode()
Returns a hash code value based on the wrapped object.boolean
isSignatureValid
(IContentVerifierProvider provider) Calls actualisSignatureValid
method for the wrapped BasicOCSPResp object.toString()
DelegatestoString
method call to the wrapped object.
-
Constructor Details
-
BasicOCSPRespBCFips
public BasicOCSPRespBCFips(org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp) Creates new wrapper instance forBasicOCSPResp
.- Parameters:
-
basicOCSPResp
-BasicOCSPResp
to be wrapped
-
-
Method Details
-
getBasicOCSPResp
public org.bouncycastle.cert.ocsp.BasicOCSPResp getBasicOCSPResp()Gets actual org.bouncycastle object being wrapped.- Returns:
-
wrapped
BasicOCSPResp
.
-
getResponses
Calls actualgetResponses
method for the wrapped BasicOCSPResp object.- Specified by:
-
getResponses
in interfaceIBasicOCSPResp
- Returns:
- wrapped SingleResp list.
-
isSignatureValid
Calls actualisSignatureValid
method for the wrapped BasicOCSPResp object.- Specified by:
-
isSignatureValid
in interfaceIBasicOCSPResp
- Parameters:
-
provider
- ContentVerifierProvider wrapper - Returns:
- boolean value.
- Throws:
-
OCSPExceptionBCFips
-
getCerts
Calls actualgetCerts
method for the wrapped BasicOCSPResp object.- Specified by:
-
getCerts
in interfaceIBasicOCSPResp
- Returns:
- wrapped certificates list.
-
getEncoded
Calls actualgetEncoded
method for the wrapped BasicOCSPResp object.- Specified by:
-
getEncoded
in interfaceIBasicOCSPResp
- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
getProducedAt
Calls actualgetProducedAt
method for the wrapped BasicOCSPResp object.- Specified by:
-
getProducedAt
in interfaceIBasicOCSPResp
- Returns:
- produced at date.
-
getExtensionParsedValue
Gets parsed value of the extension retrieved using actualgetExtension
method for the wrapped BasicOCSPResp object.- Specified by:
-
getExtensionParsedValue
in interfaceIBasicOCSPResp
- Parameters:
-
objectIdentifier
- extension object identifier - Returns:
- wrapped extension parsed value.
-
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.
-