Class GOST3410KeyPairGenerator
java.lang.Object
org.bouncycastle.crypto.generators.GOST3410KeyPairGenerator
- All Implemented Interfaces:
AsymmetricCipherKeyPairGenerator
a GOST3410 key pair generator.
This generates GOST3410 keys in line with the method described
in GOST R 34.10-94.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.void
init
(KeyGenerationParameters param) intialise the key pair generator.
-
Constructor Details
-
GOST3410KeyPairGenerator
public GOST3410KeyPairGenerator()
-
-
Method Details
-
init
Description copied from interface:AsymmetricCipherKeyPairGenerator
intialise the key pair generator.- Specified by:
init
in interfaceAsymmetricCipherKeyPairGenerator
- Parameters:
param
- the parameters the key pair is to be initialised with.
-
generateKeyPair
Description copied from interface:AsymmetricCipherKeyPairGenerator
return an AsymmetricCipherKeyPair containing the generated keys.- Specified by:
generateKeyPair
in interfaceAsymmetricCipherKeyPairGenerator
- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-