Package org.bouncycastle.crypto
Interface AsymmetricCipherKeyPairGenerator
-
- All Known Implementing Classes:
DHBasicKeyPairGenerator,DSAKeyPairGenerator,ECKeyPairGenerator,RSAKeyPairGenerator
public interface AsymmetricCipherKeyPairGeneratorinterface that a public/private key pair generator should conform to.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsymmetricCipherKeyPairgenerateKeyPair()return an AsymmetricCipherKeyPair containing the generated keys.voidinit(KeyGenerationParameters param)intialise the key pair generator.
-
-
-
Method Detail
-
init
void init(KeyGenerationParameters param)
intialise the key pair generator.- Parameters:
param- the parameters the key pair is to be initialised with.
-
generateKeyPair
AsymmetricCipherKeyPair generateKeyPair()
return an AsymmetricCipherKeyPair containing the generated keys.- Returns:
- an AsymmetricCipherKeyPair containing the generated keys.
-
-