resolve darcs stupidity
[org.ibex.core.git] / src / org / bouncycastle / crypto / AsymmetricCipherKeyPairGenerator.java
1 package org.bouncycastle.crypto;
2
3 /**
4  * interface that a public/private key pair generator should conform to.
5  */
6 public interface AsymmetricCipherKeyPairGenerator
7 {
8     /**
9      * intialise the key pair generator.
10      *
11      * @param the parameters the key pair is to be initialised with.
12      */
13     public void init(KeyGenerationParameters param);
14
15     /**
16      * return an AsymmetricCipherKeyPair containing the generated keys.
17      *
18      * @return an AsymmetricCipherKeyPair containing the generated keys.
19      */
20     public AsymmetricCipherKeyPair generateKeyPair();
21 }
22