#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
public interface IEncapsulatedSecretExtractor
{
///
/// Generate an exchange pair based on the recipient public key.
///
/// the encapsulated secret.
byte[] ExtractSecret(byte[] encapsulation);
///
/// The length in bytes of the encapsulation.
///
int EncapsulationLength { get; }
}
}
#pragma warning restore
#endif