Interface ITimeStampRequestGenerator
- All Known Implementing Classes:
-
TimeStampRequestGeneratorBC
,TimeStampRequestGeneratorBCFips
public interface ITimeStampRequestGenerator
This interface represents the wrapper for TimeStampRequestGenerator that provides the ability to switch between bouncy-castle and bouncy-castle FIPS implementations.
-
Method Summary
Modifier and TypeMethodDescriptiongenerate
(IASN1ObjectIdentifier objectIdentifier, byte[] imprint, BigInteger nonce) Calls actualgenerate
method for the wrapped TimeStampRequestGenerator object.void
setCertReq
(boolean var1) Calls actualsetCertReq
method for the wrapped TimeStampRequestGenerator object.void
setReqPolicy
(String reqPolicy) Calls actualsetReqPolicy
method for the wrapped TimeStampRequestGenerator object.
-
Method Details
-
setCertReq
void setCertReq(boolean var1) Calls actualsetCertReq
method for the wrapped TimeStampRequestGenerator object.- Parameters:
-
var1
- the value to be set
-
setReqPolicy
Calls actualsetReqPolicy
method for the wrapped TimeStampRequestGenerator object.- Parameters:
-
reqPolicy
- the value to be set
-
generate
ITimeStampRequest generate(IASN1ObjectIdentifier objectIdentifier, byte[] imprint, BigInteger nonce) Calls actualgenerate
method for the wrapped TimeStampRequestGenerator object.- Parameters:
-
objectIdentifier
- ASN1ObjectIdentifier wrapper -
imprint
- byte array -
nonce
- BigInteger - Returns:
-
ITimeStampRequest
the wrapper for generated TimeStampRequest object.
-