Files
libraries-tivadar-besthttp/Runtime/3rdParty/BouncyCastle/crypto/IEncapsulatedSecretGenerator.cs
2026-07-03 05:02:26 +03:00

17 lines
606 B
C#

#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace Best.HTTP.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