ChannelBinding.cs 763 B

12345678910111213141516171819202122232425262728
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. #pragma warning disable
  3. using System;
  4. namespace Best.HTTP.SecureProtocol.Org.BouncyCastle.Tls
  5. {
  6. /// <summary>RFC 5056</summary>
  7. /// <remarks>
  8. /// Note that the values here are implementation-specific and arbitrary. It is recommended not to depend on the
  9. /// particular values (e.g.serialization).
  10. /// </remarks>
  11. public abstract class ChannelBinding
  12. {
  13. /*
  14. * RFC 5929
  15. */
  16. public const int tls_server_end_point = 0;
  17. public const int tls_unique = 1;
  18. public const int tls_unique_for_telnet = 2;
  19. /*
  20. * RFC 9266
  21. */
  22. public const int tls_exporter = 3;
  23. }
  24. }
  25. #pragma warning restore
  26. #endif