#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
#pragma warning disable
using System;
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto
{
public interface ISecretWithEncapsulation
: IDisposable
{
///
/// Return the secret associated with the encapsulation.
///
/// the secret the encapsulation is for.
byte[] GetSecret();
///
/// Return the data that carries the secret in its encapsulated form.
///
/// the encapsulation of the secret.
byte[] GetEncapsulation();
}
}
#pragma warning restore
#endif