method:getParameters() [CHANGED]

  • getParameters

    public final AlgorithmParameters getParameters()
    Returns the parameters used with this signature object.

    The returnedIf this signature has been previously initialized with parameters may be(by calling the setParameter method), this method returns the same that were used to initializeparameters. If this signature , 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 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, or null if this signature does not use any parameters.
    Since:
    1.4
    See Also:
    setParameter(AlgorithmParameterSpec)
  • getParameters

    public final AlgorithmParameters getParameters()
    Returns the parameters used with this signature object.

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

    Returns:
    the parameters used with this signature, or null if this signature does not use any parameters.
    Since:
    1.4
    See Also:
    setParameter(AlgorithmParameterSpec)
  • getParameters

    public final AlgorithmParameters getParameters()
    Returns the parameters used with this signature object.

    If this signature has been previously initialized with parameters (by calling the setParameter method), this method returns the same parameters. If this signature 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, or null
    Since:
    1.4
    See Also:
    setParameter(AlgorithmParameterSpec)

© 2019 Oracle Corporation and/or its affiliates