| Modifier and Type | Field and Description |
|---|---|
| pack-priv DSAKeyPairGenerator | |
| pack-priv boolean | |
| private static Object | |
| pack-priv DSAKeyGenerationParameters | |
| private static Hashtable | |
| pack-priv SecureRandom | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public KeyPair | |
| public void | initialize(int
the keysize. This is an
algorithm-specific metric, such as modulus length, specified in
number of bits. strength, SecureRandom the source of randomness. random)Overrides java. |
| public void | initialize(AlgorithmParameterSpec
the parameter set used to generate the keys. params, SecureRandom the source of randomness. random)Overrides java. |
| engine | back to summary |
|---|---|
| pack-priv DSAKeyPairGenerator engine | |
| initialised | back to summary |
|---|---|
| pack-priv boolean initialised | |
| lock | back to summary |
|---|---|
| private static Object lock | |
| param | back to summary |
|---|---|
| pack-priv DSAKeyGenerationParameters param | |
| params | back to summary |
|---|---|
| private static Hashtable<K, V> params | |
| random | back to summary |
|---|---|
| pack-priv SecureRandom random | |
| strength | back to summary |
|---|---|
| pack-priv int strength | |
| KeyPairGeneratorSpi | back to summary |
|---|---|
| public KeyPairGeneratorSpi() | |
| generateKeyPair | back to summary |
|---|---|
| public KeyPair generateKeyPair() Overrides java. Doc from java. Generates a key pair. If this This will generate a new key pair every time it is called. This method is functionally equivalent to
| |
| initialize | back to summary |
|---|---|
| public void initialize(int strength, SecureRandom random) Overrides java. Doc from java. Initializes the key pair generator for a certain keysize with the given source of randomness (and a default parameter set).
| |
| initialize | back to summary |
|---|---|
| public void initialize(AlgorithmParameterSpec params, SecureRandom random) throws InvalidAlgorithmParameterException Overrides java. Doc from java. Initializes the key pair generator with the given parameter set and source of randomness. This concrete method has been added to this previously-defined
abstract class.
This method calls the KeyPairGeneratorSpi
| |