use of com.github.zhenwei.core.crypto.params.GOST3410KeyGenerationParameters in project LinLong-Java by zhenwei1108.
the class KeyPairGeneratorSpi method init.
private void init(GOST3410ParameterSpec gParams, SecureRandom random) {
GOST3410PublicKeyParameterSetSpec spec = gParams.getPublicKeyParameters();
param = new GOST3410KeyGenerationParameters(random, new GOST3410Parameters(spec.getP(), spec.getQ(), spec.getA()));
engine.init(param);
initialised = true;
gost3410Params = gParams;
}
Aggregations