public class GOST3410ParametersGenerator
extends java.lang.Object
| Constructor | Description |
|---|---|
GOST3410ParametersGenerator() |
| Modifier and Type | Method | Description |
|---|---|---|
GOST3410Parameters |
generateParameters() |
which generates the p , q and a values from the given parameters,
returning the GOST3410Parameters object.
|
void |
init(int size,
int typeproc,
java.security.SecureRandom random) |
initialise the key generator.
|
public void init(int size,
int typeproc,
java.security.SecureRandom random)
size - size of the keytypeproc - type procedure A,B = 1; A',B' - elserandom - random byte source.public GOST3410Parameters generateParameters()