|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectanon.crypto.AsymmetricCryptoKeyPair
anon.crypto.DSAKeyPair
public class DSAKeyPair
This class creates key pairs for the DSA algorithm.
| Field Summary |
|---|
| Fields inherited from class anon.crypto.AsymmetricCryptoKeyPair |
|---|
KEY_LENGTH_1024, KEY_LENGTH_512 |
| Constructor Summary | |
|---|---|
DSAKeyPair(MyDSAPrivateKey a_privateKey)
Creates a new DSA key pair. |
|
| Method Summary | |
|---|---|
static DSAKeyPair |
getInstance(java.security.SecureRandom a_secureRandom,
int a_keyLength,
int a_certainty)
This creates a new DSA key pair. |
| Methods inherited from class anon.crypto.AsymmetricCryptoKeyPair |
|---|
createPublicKey, getPrivate, getPublic, isValidKeyPair |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DSAKeyPair(MyDSAPrivateKey a_privateKey)
a_privateKey - a private key| Method Detail |
|---|
public static DSAKeyPair getInstance(java.security.SecureRandom a_secureRandom,
int a_keyLength,
int a_certainty)
a_secureRandom - A random number as initialization for the key generator.a_keyLength - The length of the key in bits. For the current implementation of
bouncycastle it must be a number between 256 and 1024 which is a multiple
of 64.a_certainty - Measure of robustness of prime. For FIPS 186-2 compliance this
value should be at least 80.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||