Interface IOCSPReq
- All Known Implementing Classes:
-
OCSPReqBC
,OCSPReqBCFips
public interface IOCSPReq
This interface represents the wrapper for OCSPReq that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
Calls actualgetEncoded
method for the wrapped OCSPReq object.getExtension
(IASN1ObjectIdentifier objectIdentifier) Calls actualgetExtension
method for the wrapped OCSPReq object.IReq[]
Calls actualgetRequestList
method for the wrapped OCSPReq object.
-
Method Details
-
getEncoded
Calls actualgetEncoded
method for the wrapped OCSPReq object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException
- on encoding error.
-
getRequestList
IReq[] getRequestList()Calls actualgetRequestList
method for the wrapped OCSPReq object.- Returns:
-
IReq
request wrappers list.
-
getExtension
Calls actualgetExtension
method for the wrapped OCSPReq object.- Parameters:
-
objectIdentifier
- ASN1ObjectIdentifier wrapper - Returns:
-
IExtension
wrapper for received Extension.
-