TlsPskIdentity.cs 467 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>Processor interface for a PSK identity.</summary>
  7. public interface TlsPskIdentity
  8. {
  9. void SkipIdentityHint();
  10. void NotifyIdentityHint(byte[] psk_identity_hint);
  11. byte[] GetPskIdentity();
  12. byte[] GetPsk();
  13. }
  14. }
  15. #pragma warning restore
  16. #endif