public class

DSAKeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator
java.lang.Object
   ↳ org.bouncycastle.crypto.generators.DSAKeyPairGenerator

Class Overview

a DSA key pair generator. This generates DSA keys in line with the method described in FIPS 186-3 B.1 FFC Key Pair Generation.

Summary

Public Constructors
DSAKeyPairGenerator()
Public Methods
AsymmetricCipherKeyPair generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
void init(KeyGenerationParameters param)
intialise the key pair generator.
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.bouncycastle.crypto.AsymmetricCipherKeyPairGenerator

Public Constructors

public DSAKeyPairGenerator ()

Public Methods

public AsymmetricCipherKeyPair generateKeyPair ()

return an AsymmetricCipherKeyPair containing the generated keys.

Returns
  • an AsymmetricCipherKeyPair containing the generated keys.

public void init (KeyGenerationParameters param)

intialise the key pair generator.

Parameters
param the parameters the key pair is to be initialised with.