Interface IBasicOCSPResp
-
- All Known Implementing Classes:
BasicOCSPRespBC
public interface IBasicOCSPRespThis interface represents the wrapper for BasicOCSPResp that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IX509CertificateHolder[]getCerts()Calls actualgetCertsmethod for the wrapped BasicOCSPResp object.byte[]getEncoded()Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.IASN1EncodablegetExtensionParsedValue(IASN1ObjectIdentifier objectIdentifier)Gets parsed value of the extension retrieved using actualgetExtensionmethod for the wrapped BasicOCSPResp object.java.util.DategetProducedAt()Calls actualgetProducedAtmethod for the wrapped BasicOCSPResp object.IRespIDgetResponderId()Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.ISingleResp[]getResponses()Calls actualgetResponsesmethod for the wrapped BasicOCSPResp object.booleanisSignatureValid(IContentVerifierProvider provider)Calls actualisSignatureValidmethod for the wrapped BasicOCSPResp object.
-
-
-
Method Detail
-
getResponses
ISingleResp[] getResponses()
Calls actualgetResponsesmethod for the wrapped BasicOCSPResp object.- Returns:
- wrapped SingleResp list.
-
isSignatureValid
boolean isSignatureValid(IContentVerifierProvider provider) throws AbstractOCSPException
Calls actualisSignatureValidmethod for the wrapped BasicOCSPResp object.- Parameters:
provider- ContentVerifierProvider wrapper- Returns:
- boolean value.
- Throws:
AbstractOCSPException- OCSPException wrapper.
-
getCerts
IX509CertificateHolder[] getCerts()
Calls actualgetCertsmethod for the wrapped BasicOCSPResp object.- Returns:
- wrapped certificates list.
-
getEncoded
byte[] getEncoded() throws java.io.IOExceptionCalls actualgetEncodedmethod for the wrapped BasicOCSPResp object.- Returns:
- the default encoding for the wrapped object.
- Throws:
java.io.IOException- on encoding error.
-
getProducedAt
java.util.Date getProducedAt()
Calls actualgetProducedAtmethod for the wrapped BasicOCSPResp object.- Returns:
- produced at date.
-
getExtensionParsedValue
IASN1Encodable getExtensionParsedValue(IASN1ObjectIdentifier objectIdentifier)
Gets parsed value of the extension retrieved using actualgetExtensionmethod for the wrapped BasicOCSPResp object.- Parameters:
objectIdentifier- extension object identifier- Returns:
- wrapped extension parsed value.
-
getResponderId
IRespID getResponderId()
Calls actualgetEncodedmethod for the wrapped BasicOCSPResp object.- Returns:
- the Responder Id
-
-