01: package org.bouncycastle.crypto.params;
02:
03: import org.bouncycastle.crypto.KeyGenerationParameters;
04:
05: import java.security.SecureRandom;
06:
07: public class GOST3410KeyGenerationParameters extends
08: KeyGenerationParameters {
09: private GOST3410Parameters params;
10:
11: public GOST3410KeyGenerationParameters(SecureRandom random,
12: GOST3410Parameters params) {
13: super (random, params.getP().bitLength() - 1);
14:
15: this .params = params;
16: }
17:
18: public GOST3410Parameters getParameters() {
19: return params;
20: }
21: }
|