Class FipsEC.KeyGenParameters

  • All Implemented Interfaces:
    Parameters
    Enclosing class:
    FipsEC

    public static final class FipsEC.KeyGenParameters
    extends FipsParameters
    Parameters for EC key pair generation.
    • Constructor Detail

      • KeyGenParameters

        public KeyGenParameters​(ECDomainParameters domainParameters)
        Constructor for the default algorithm ID.
        Parameters:
        domainParameters - EC domain parameters representing the curve any generated keys will be for.
      • KeyGenParameters

        public KeyGenParameters​(FipsEC.DSAParameters parameters,
                                ECDomainParameters domainParameters)
        Constructor for specifying the DSA algorithm explicitly.
        Parameters:
        parameters - the particular parameter set to generate keys for.
        domainParameters - EC domain parameters representing the curve any generated keys will be for.
      • KeyGenParameters

        public KeyGenParameters​(FipsEC.AgreementParameters parameters,
                                ECDomainParameters domainParameters)
        Constructor for specifying an Agreement algorithm explicitly.
        Parameters:
        parameters - the particular parameter set to generate keys for.
        domainParameters - EC domain parameters representing the curve any generated keys will be for.
      • KeyGenParameters

        public KeyGenParameters​(FipsEC.MQVAgreementParametersBuilder builder,
                                ECDomainParameters domainParameters)
        Constructor for specifying the MQV algorithm explicitly.
        Parameters:
        builder - the MQV builder.
        domainParameters - EC domain parameters representing the curve any generated keys will be for.
      • KeyGenParameters

        public KeyGenParameters​(FipsEC.DHUAgreementParametersBuilder builder,
                                ECDomainParameters domainParameters)
        Constructor for specifying the CDHU algorithm explicitly.
        Parameters:
        builder - the CDHU builder.
        domainParameters - EC domain parameters representing the curve any generated keys will be for.
    • Method Detail

      • getDomainParameters

        public ECDomainParameters getDomainParameters()
        Return the EC domain parameters for this object.
        Returns:
        the EC domain parameter set.