Class BasicOCSPRespBC
java.lang.Object
com.itextpdf.bouncycastle.cert.ocsp.BasicOCSPRespBC
- All Implemented Interfaces:
IBasicOCSPResp
Wrapper class for
BasicOCSPResp.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.bouncycastle.cert.ocsp.BasicOCSPResp -
Constructor Summary
ConstructorsConstructorDescriptionBasicOCSPRespBC(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.getExtensionParsedValue(IASN1ObjectIdentifier objectIdentifier) Gets parsed value of the extension retrieved using actualgetExtensionmethod for the wrapped BasicOCSPResp object.Calls actualgetProducedAtmethod for the wrapped BasicOCSPResp object.Calls actualgetEncodedmethod 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.
-
Field Details
-
basicOCSPResp
private final org.bouncycastle.cert.ocsp.BasicOCSPResp basicOCSPResp
-
-
Constructor Details
-
BasicOCSPRespBC
public BasicOCSPRespBC(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:
OCSPExceptionBC
-
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.
-
getExtensionParsedValue
Gets parsed value of the extension retrieved using actualgetExtensionmethod for the wrapped BasicOCSPResp object.- Specified by:
getExtensionParsedValuein interfaceIBasicOCSPResp- Parameters:
objectIdentifier- extension object identifier- Returns:
- wrapped extension parsed value.
-
getResponderId
Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.- Specified by:
getResponderIdin interfaceIBasicOCSPResp- Returns:
- the Responder Id
-
equals
-
hashCode
-
toString
-