Initial Commit
This commit is contained in:
24
iTechSharp/srcbc/crypto/IAsymmetricCipherKeyPairGenerator.cs
Normal file
24
iTechSharp/srcbc/crypto/IAsymmetricCipherKeyPairGenerator.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
|
||||
namespace Org.BouncyCastle.Crypto
|
||||
{
|
||||
/**
|
||||
* interface that a public/private key pair generator should conform to.
|
||||
*/
|
||||
public interface IAsymmetricCipherKeyPairGenerator
|
||||
{
|
||||
/**
|
||||
* intialise the key pair generator.
|
||||
*
|
||||
* @param the parameters the key pair is to be initialised with.
|
||||
*/
|
||||
void Init(KeyGenerationParameters parameters);
|
||||
|
||||
/**
|
||||
* return an AsymmetricCipherKeyPair containing the Generated keys.
|
||||
*
|
||||
* @return an AsymmetricCipherKeyPair containing the Generated keys.
|
||||
*/
|
||||
AsymmetricCipherKeyPair GenerateKeyPair();
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user