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 Type
    Method
    Description
    generate(IASN1ObjectIdentifier objectIdentifier, byte[] imprint, BigInteger nonce)
    Calls actual generate method for the wrapped TimeStampRequestGenerator object.
    void
    setCertReq(boolean var1)
    Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object.
    void
    setReqPolicy(String reqPolicy)
    Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator object.
  • Method Details

    • setCertReq

      void setCertReq (boolean var1)
      Calls actual setCertReq method for the wrapped TimeStampRequestGenerator object.
      Parameters:
      var1 - the value to be set
    • setReqPolicy

      void setReqPolicy (String reqPolicy)
      Calls actual setReqPolicy method for the wrapped TimeStampRequestGenerator object.
      Parameters:
      reqPolicy - the value to be set
    • generate

      ITimeStampRequest generate (IASN1ObjectIdentifier objectIdentifier, byte[] imprint, BigInteger nonce)
      Calls actual generate method for the wrapped TimeStampRequestGenerator object.
      Parameters:
      objectIdentifier - ASN1ObjectIdentifier wrapper
      imprint - byte array
      nonce - BigInteger
      Returns:
      ITimeStampRequest the wrapper for generated TimeStampRequest object.