TlsPskIdentity.cs 374 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 TlsPskIdentity
  7. {
  8. void SkipIdentityHint();
  9. void NotifyIdentityHint(byte[] psk_identity_hint);
  10. byte[] GetPskIdentity();
  11. byte[] GetPsk();
  12. }
  13. }
  14. #pragma warning restore
  15. #endif