Signature.setParameter
Class Overview | Class Members |
This Package |
All Packages
public final void setParameter( String param,
Object value ) throws InvalidParameterException
Parameters
- param
- the string identifier of the parameter.
- value
- the parameter value.
Description
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.