Class GOST3410ParametersGenerator
java.lang.Object
org.bouncycastle.crypto.generators.GOST3410ParametersGenerator
generate suitable parameters for GOST3410.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionwhich generates the p , q and a values from the given parameters, returning the GOST3410Parameters object.void
init
(int size, int typeproc, SecureRandom random) initialise the key generator.
-
Constructor Details
-
GOST3410ParametersGenerator
public GOST3410ParametersGenerator()
-
-
Method Details
-
init
initialise the key generator.- Parameters:
size
- size of the keytypeproc
- type procedure A,B = 1; A',B' - elserandom
- random byte source.
-
generateParameters
which generates the p , q and a values from the given parameters, returning the GOST3410Parameters object.- Returns:
- a generated GOST3410 parameters object.
-