|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.flexiprovider.core.elgamal.ElGamalKeyGenParameterSpec
This class specifies parameters used for initializing the
ElGamalKeyPairGenerator. The parameters consist of the bit length of
the prime p. The default bit length is 1024 bits.
| Field Summary | |
static int |
DEFAULT_KEY_SIZE
The default bit length of the prime p (1024 bits) |
| Constructor Summary | |
ElGamalKeyGenParameterSpec()
Construct the default parameters. |
|
ElGamalKeyGenParameterSpec(int keySize)
Construct new parameters from the given bit length of the prime p. |
|
| Method Summary | |
int |
getKeySize()
|
| Methods inherited from class java.lang.Object |
|
| Field Detail |
public static final int DEFAULT_KEY_SIZE
| Constructor Detail |
public ElGamalKeyGenParameterSpec()
DEFAULT_KEY_SIZE.
public ElGamalKeyGenParameterSpec(int keySize)
throws InvalidParameterException
default length is chosen.keySize - the bit length of the prime p (>= 512 bits)InvalidParameterException - if the key size is less than 512 bits.| Method Detail |
public int getKeySize()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||