Class GeneralParameters<T extends Algorithm>

java.lang.Object
org.bouncycastle.crypto.general.GeneralParameters<T>
Type Parameters:
T - the algorithm associated with this parameter set (may actually be a FIPS one).
All Implemented Interfaces:
Parameters
Direct Known Subclasses:
ARC4.Parameters, ARIA.WrapParameters, Camellia.WrapParameters, ChaCha20.Parameters, DES.Parameters, DSA.DomainGenParameters, DSA.KeyGenParameters, DSA.Parameters, DSTU4145.KeyGenParameters, DSTU4145.SignatureParameters, EC.DSAParameters, EC.KeyGenParameters, ECGOST3410.KeyGenParameters, ECGOST3410.SignatureParameters, EdEC.Parameters, ElGamal.KeyGenParameters, ElGamal.Parameters, GeneralParametersWithIV, GOST28147.Parameters, GOST3410.KeyGenParameters, GOST3410.SignatureParameters, KDF.ScryptParameters, KDF.ScryptParametersBuilder, LMS.KeyGenParameters, LMS.KeyParameters, LMS.Parameters, PBKD.OpenSSLParametersBuilder, PBKD.Parameters, PBKD.ParametersBuilder, RC2.Parameters, RSA.KeyGenParameters, RSA.Parameters, RSA.SignatureParameters, SecureHash.AuthParameters, SecureHash.Parameters, SEED.WrapParameters, Serpent.WrapParameters, SipHash.AuthParameters, Twofish.WrapParameters

public class GeneralParameters<T extends Algorithm> extends Object implements Parameters
The base class for parameter classes for non-FIPS algorithms.
  • Method Details

    • getAlgorithm

      public T getAlgorithm()
      Return the algorithm these parameters are associated with.
      Specified by:
      getAlgorithm in interface Parameters
      Returns:
      the algorithm these parameters are for.