Files
ichni_Official/Packages/com.tivadar.best.http/Runtime/3rdParty/BouncyCastle/crypto/IEncapsulatedSecretGenerator.cs
2026-06-15 18:18:16 +08: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