Signature.engineSetParameter

Signature.engineSetParameter

Class Overview | Class Members | This Package | All Packages

Syntax
protected abstract void engineSetParameter( String param, Object value ) throws InvalidParameterException
Parameters
param
the string identifier of the parameter.
value
the parameter value.
Description
SPI: Sets the specified algorithm parameter to the specified value. This method supplies a general-purpose mechanism through which it is possible to set the various parameters of this object. A parameter may be any settable parameter for the algorithm, such as a parameter size, or a source of random bits for signature generation (if appropriate), or an indication of whether or not to perform a specific but optional computation. A uniform algorithm-specific naming scheme for each parameter is desirable but left unspecified at this time.

Exceptions
InvalidParameterException if param is an invalid parameter for this signature algorithm engine, the parameter is already set and cannot be set again, a security exception occurs, and so on.