Package org.gudy.bouncycastle.crypto
Interface AsymmetricCipherKeyPairGenerator
- All Known Implementing Classes:
DHBasicKeyPairGenerator
,DHKeyPairGenerator
,DSAKeyPairGenerator
,ECKeyPairGenerator
,ElGamalKeyPairGenerator
,RSAKeyPairGenerator
public interface AsymmetricCipherKeyPairGenerator
interface that a public/private key pair generator should conform to.
-
Method Summary
Modifier and TypeMethodDescriptionreturn an AsymmetricCipherKeyPair containing the generated keys.void
init
(KeyGenerationParameters param) intialise the key pair generator.
-
Method Details
-
init
intialise the key pair generator.- Parameters:
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.
-