org.bouncycastle.crypto.generators

Class GOST3410ParametersGenerator

public class GOST3410ParametersGenerator extends Object

generate suitable parameters for GOST3410.
Method Summary
GOST3410ParametersgenerateParameters()
which generates the p , q and a values from the given parameters, returning the GOST3410Parameters object.
voidinit(int size, int typeproc, SecureRandom random)
initialise the key generator.

Method Detail

generateParameters

public GOST3410Parameters generateParameters()
which generates the p , q and a values from the given parameters, returning the GOST3410Parameters object.

init

public void init(int size, int typeproc, SecureRandom random)
initialise the key generator.

Parameters: size size of the key typeproc type procedure A,B = 1; A',B' - else random random byte source.