DsaParametersGeneratorInit(Int32, Int32, SecureRandom) Method

Initialise the generator

Definition

Namespace: Org.BouncyCastle.Crypto.Generators
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public virtual void Init(
	int size,
	int certainty,
	SecureRandom random
)

Parameters

size  Int32
the size of keys in bits (from 512 up to 1024, and a multiple of 64)
certainty  Int32
measure of robustness of primes (at least 80 for FIPS 186-2 compliance)
random  SecureRandom
the source of randomness to use

Remarks

This form can only be used for older DSA (pre-DSA2) parameters

See Also