Bouncy Castle Cryptography Library 1.77.0

org.bouncycastle.crypto
Interface AsymmetricCipherKeyPairGenerator

All Known Implementing Classes:
DHBasicKeyPairGenerator, GOST3410KeyPairGenerator, CramerShoupKeyPairGenerator, Ed448KeyPairGenerator, DSAKeyPairGenerator, X448KeyPairGenerator, ElGamalKeyPairGenerator, ECKeyPairGenerator, RSAKeyPairGenerator, Ed25519KeyPairGenerator, X25519KeyPairGenerator, NaccacheSternKeyPairGenerator, DHKeyPairGenerator

public interface AsymmetricCipherKeyPairGenerator

interface that a public/private key pair generator should conform to.


Method Summary
 AsymmetricCipherKeyPair generateKeyPair()
          return an AsymmetricCipherKeyPair containing the generated keys.
 void init(KeyGenerationParameters param)
          intialise the key pair generator.
 

Method Detail

init

public void init(KeyGenerationParameters param)
intialise the key pair generator.
Parameters:
param - the parameters the key pair is to be initialised with.

generateKeyPair

public AsymmetricCipherKeyPair generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
Returns:
an AsymmetricCipherKeyPair containing the generated keys.

Bouncy Castle Cryptography Library 1.77.0