KeyPairGenerator.initialize
Class Overview | Class Members |
This Package |
All Packages
public abstract void initialize( int strength,
SecureRandom random )
Parameters
- strength
- the strength of the key. This is an
algorithm-specific metric, such as modulus length.
- random
- the source of randomness for this generator.
Description
Initializes the key pair generator for a certain strength.
public void initialize( int strength )
Parameters
- strength
- the strength of the key. This is an
algorithm-specific metric, such as modulus length.
Description
Initializes the key pair generator for a certain strength using
a system-provided source of randomness.