- Initial commit
This commit is contained in:
28
Runtime/3rdParty/BouncyCastle/crypto/IAsymmetricCipherKeyPairGenerator.cs
vendored
Normal file
28
Runtime/3rdParty/BouncyCastle/crypto/IAsymmetricCipherKeyPairGenerator.cs
vendored
Normal file
@ -0,0 +1,28 @@
|
||||
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
||||
#pragma warning disable
|
||||
using System;
|
||||
|
||||
namespace Best.HTTP.SecureProtocol.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();
|
||||
}
|
||||
}
|
||||
#pragma warning restore
|
||||
#endif
|
||||
Reference in New Issue
Block a user