1 package org.bouncycastle.crypto;
4 * interface that a public/private key pair generator should conform to.
6 public interface AsymmetricCipherKeyPairGenerator
9 * intialise the key pair generator.
11 * @param the parameters the key pair is to be initialised with.
13 public void init(KeyGenerationParameters param);
16 * return an AsymmetricCipherKeyPair containing the generated keys.
18 * @return an AsymmetricCipherKeyPair containing the generated keys.
20 public AsymmetricCipherKeyPair generateKeyPair();