TlsPskIdentityManager.cs 328 B

123456789101112131415
  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 TlsPskIdentityManager
  7. {
  8. byte[] GetHint();
  9. byte[] GetPsk(byte[] identity);
  10. }
  11. }
  12. #pragma warning restore
  13. #endif