TlsSession.cs 401 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Crypto.Tls
  5. {
  6. public interface TlsSession
  7. {
  8. SessionParameters ExportSessionParameters();
  9. byte[] SessionID { get; }
  10. void Invalidate();
  11. bool IsResumable { get; }
  12. }
  13. }
  14. #pragma warning restore
  15. #endif