TlsPsk.cs 399 B

12345678910111213141516171819
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. using BestHTTP.SecureProtocol.Org.BouncyCastle.Tls.Crypto;
  5. namespace BestHTTP.SecureProtocol.Org.BouncyCastle.Tls
  6. {
  7. public interface TlsPsk
  8. {
  9. byte[] Identity { get; }
  10. TlsSecret Key { get; }
  11. int PrfAlgorithm { get; }
  12. }
  13. }
  14. #pragma warning restore
  15. #endif