org.bouncycastle.crypto

Interface AsymmetricCipherKeyPairGenerator

public interface AsymmetricCipherKeyPairGenerator

interface that a public/private key pair generator should conform to.
Method Summary
AsymmetricCipherKeyPairgenerateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.
voidinit(KeyGenerationParameters param)
intialise the key pair generator.

Method Detail

generateKeyPair

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

Returns: an AsymmetricCipherKeyPair containing the generated keys.

init

public void init(KeyGenerationParameters param)
intialise the key pair generator.

Parameters: param the parameters the key pair is to be initialised with.