Top Description Fields Constructors Methods
org.bouncycastle.crypto.general

pack-priv Class Gost3410KeyPairGenerator

extends Object
implements AsymmetricCipherKeyPairGenerator
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator
Imports
org.bouncycastle.crypto.internal.AsymmetricCipherKeyPair, .AsymmetricCipherKeyPairGenerator, .KeyGenerationParameters, org.bouncycastle.crypto.general.Gost3410KeyGenerationParameters, .Gost3410Parameters, .Gost3410PrivateKeyParameters, .Gost3410PublicKeyParameters, java.math.BigInteger, java.security.SecureRandom

a GOST3410 key pair generator. This generates GOST3410 keys in line with the method described in GOST R 34.10-94.

Field Summary

Modifier and TypeField and Description
private Gost3410KeyGenerationParameters
private static final BigInteger

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public AsymmetricCipherKeyPair
generateKeyPair()

Implements org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.
public void
init(KeyGenerationParameters
the parameters the key pair is to be initialised with.
param
)

Implements org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

paramback to summary
private Gost3410KeyGenerationParameters param
ZEROback to summary
private static final BigInteger ZERO

Constructor Detail

Gost3410KeyPairGeneratorback to summary
pack-priv Gost3410KeyPairGenerator()

Method Detail

generateKeyPairback to summary
public AsymmetricCipherKeyPair generateKeyPair()

Implements org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.generateKeyPair.

Doc from org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.generateKeyPair.

return an AsymmetricCipherKeyPair containing the generated keys.

Returns:AsymmetricCipherKeyPair

an AsymmetricCipherKeyPair containing the generated keys.

initback to summary
public void init(KeyGenerationParameters param)

Implements org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.init.

Doc from org.bouncycastle.crypto.internal.AsymmetricCipherKeyPairGenerator.init.

intialise the key pair generator.

Parameters
param:KeyGenerationParameters

the parameters the key pair is to be initialised with.