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.
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.