21 lines
476 B
C#
21 lines
476 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
|
|
{
|
|
/// <summary>Base interface for a carrier object for a TLS session.</summary>
|
|
public interface TlsSession
|
|
{
|
|
SessionParameters ExportSessionParameters();
|
|
|
|
byte[] SessionID { get; }
|
|
|
|
void Invalidate();
|
|
|
|
bool IsResumable { get; }
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|