Files
MRCS/Assets/Plugins/Best HTTP/Source/SecureProtocol/crypto/IEncapsulatedSecretGenerator.cs
2025-10-31 12:25:48 +08:00

17 lines
605 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
public interface IEncapsulatedSecretGenerator
{
/// <summary>
/// Generate an exchange pair based on the recipient public key.
/// </summary>
/// <param name="recipientKey"></param>
/// <returns> An SecretWithEncapsulation derived from the recipient public key.</returns>
ISecretWithEncapsulation GenerateEncapsulated(AsymmetricKeyParameter recipientKey);
}
}
#pragma warning restore
#endif