TlsSession.cs 476 B

1234567891011121314151617181920
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  5. {
  6. /// <summary>Base interface for a carrier object for a TLS session.</summary>
  7. public interface TlsSession
  8. {
  9. SessionParameters ExportSessionParameters();
  10. byte[] SessionID { get; }
  11. void Invalidate();
  12. bool IsResumable { get; }
  13. }
  14. }
  15. #pragma warning restore
  16. #endif