20 lines
401 B
C#
20 lines
401 B
C#
#if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
|
|
#pragma warning disable
|
|
using System;
|
|
|
|
namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
|
|
{
|
|
public interface TlsSession
|
|
{
|
|
SessionParameters ExportSessionParameters();
|
|
|
|
byte[] SessionID { get; }
|
|
|
|
void Invalidate();
|
|
|
|
bool IsResumable { get; }
|
|
}
|
|
}
|
|
#pragma warning restore
|
|
#endif
|