public class SHA1withDSAKeyPairGenerator extends DSAKeyPairGenerator
This KeyPairGenerator generates key pairs with a prime modulus length if 1024 bits and a prime divisor length of 160 bits.
Usage example:
KeyPairGenerator dsaKeyGen = KeyPairGenerator.getInstance("SHA1withDSA", "IAIK"); dsaKeyGen.initialize(1024); KeyPair keyPair = dsaKeyGen.generateKeyPair();
Constructor and Description |
---|
SHA1withDSAKeyPairGenerator()
Default constructor.
|
generateKeyPair, initialize, initialize, initialize, initialize, initialize