method:engineGetParameters() [CHANGED]

  • engineGetParameters

    protected AlgorithmParameters engineGetParameters()

    This method is overridden by providers to return the parameters used with this signature engine, or null if.

    If this signature engine does not use anyhas been previously initialized with parameters .The returned parameters may be(by calling the engineSetParameter method), this method returns the same that were used to initializeparameters. If this signature engine , orhas not been initialized with parameters, this method may containreturn a combination of default and randomly generated parameter values used byif the underlying signature implementation if this signature engine requires algorithm parameters but was not initialized with anysupports it and can successfully generate them. Otherwise, null is returned.

    Returns:
    the parameters used with this signature engine, or null if this signature engine does not use any parameters
    Throws:
    UnsupportedOperationException - if this method is not overridden by a provider
    Since:
    1.4
  • engineGetParameters

    protected AlgorithmParameters engineGetParameters()

    This method is overridden by providers to return the parameters used with this signature engine, or null if this signature engine does not use any parameters.

    The returned parameters may be the same that were used to initialize this signature engine, or may contain a combination of default and randomly generated parameter values used by the underlying signature implementation if this signature engine requires algorithm parameters but was not initialized with any.

    Returns:
    the parameters used with this signature engine, or null if this signature engine does not use any parameters
    Throws:
    UnsupportedOperationException - if this method is not overridden by a provider
    Since:
    1.4
  • engineGetParameters

    protected AlgorithmParameters engineGetParameters()

    This method is overridden by providers to return the parameters used with this signature engine.

    If this signature engine has been previously initialized with parameters (by calling the engineSetParameter method), this method returns the same parameters. If this signature engine has not been initialized with parameters, this method may return a combination of default and randomly generated parameter values if the underlying signature implementation supports it and can successfully generate them. Otherwise, null is returned.

    Returns:
    the parameters used with this signature engine, or null
    Throws:
    UnsupportedOperationException - if this method is not overridden by a provider
    Since:
    1.4

© 2019 Oracle Corporation and/or its affiliates