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 actualgetEncodedmethod for the wrapped OCSPReq object.getExtension(IASN1ObjectIdentifier objectIdentifier) Calls actualgetExtensionmethod for the wrapped OCSPReq object.IReq[]Calls actualgetRequestListmethod for the wrapped OCSPReq object.
-
Method Details
-
getEncoded
Calls actualgetEncodedmethod for the wrapped OCSPReq object.- Returns:
- the default encoding for the wrapped object.
- Throws:
-
IOException- on encoding error.
-
getRequestList
IReq[] getRequestList()Calls actualgetRequestListmethod for the wrapped OCSPReq object.- Returns:
-
IReqrequest wrappers list.
-
getExtension
Calls actualgetExtensionmethod for the wrapped OCSPReq object.- Parameters:
-
objectIdentifier- ASN1ObjectIdentifier wrapper - Returns:
-
IExtensionwrapper for received Extension.
-