Interface IBasicOCSPResp
- All Known Implementing Classes:
-
BasicOCSPRespBC
,BasicOCSPRespBCFips
public interface IBasicOCSPResp
This interface represents the wrapper for BasicOCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptiongetCerts()
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 actualgetEncoded
method for the wrapped BasicOCSPResp object.Calls actualgetResponses
method for the wrapped BasicOCSPResp object.boolean
isSignatureValid
(IContentVerifierProvider provider) Calls actualisSignatureValid
method for the wrapped BasicOCSPResp object.
-
Method Details
-
getResponses
ISingleResp[] getResponses()Calls actualgetResponses
method for the wrapped BasicOCSPResp object.- Returns:
- wrapped SingleResp list.
-
isSignatureValid
Calls actualisSignatureValid
method for the wrapped BasicOCSPResp object.- Parameters:
-
provider
- ContentVerifierProvider wrapper - Returns:
- boolean value.
- Throws:
-
AbstractOCSPException
- OCSPException wrapper.
-
getCerts
IX509CertificateHolder[] getCerts()Calls actualgetCerts
method for the wrapped BasicOCSPResp object.- Returns:
- wrapped certificates list.
-
getEncoded
Calls actualgetEncoded
method for the wrapped BasicOCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
getProducedAt
Date getProducedAt()Calls actualgetProducedAt
method for the wrapped BasicOCSPResp object.- Returns:
- produced at date.
-
getExtensionParsedValue
Gets parsed value of the extension retrieved using actualgetExtension
method for the wrapped BasicOCSPResp object.- Parameters:
-
objectIdentifier
- extension object identifier - Returns:
- wrapped extension parsed value.
-
getResponderId
IRespID getResponderId()Calls actualgetEncoded
method for the wrapped BasicOCSPResp object.- Returns:
- the Responder Id
-