You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
661 B
25 lines
661 B
1 month ago
|
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();
|
||
|
}
|
||
|
}
|