|
Bouncy Castle Cryptography 1.11 API Specification: Interface AsymmetricCipherKeyPairGenerator
org.bouncycastle.crypto
Interface AsymmetricCipherKeyPairGenerator
- All Known Implementing Classes:
- DHBasicKeyPairGenerator, DHKeyPairGenerator, RSAKeyPairGenerator, DSAKeyPairGenerator, ElGamalKeyPairGenerator, ECKeyPairGenerator
- public interface AsymmetricCipherKeyPairGenerator
interface that a public/private key pair generator should conform to.
init
public void init(KeyGenerationParameters param)
- intialise the key pair generator.
- Parameters:
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.
|