ExporterLabel.cs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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>RFC 5705</summary>
  7. public abstract class ExporterLabel
  8. {
  9. /*
  10. * RFC 5246
  11. */
  12. public const string client_finished = "client finished";
  13. public const string server_finished = "server finished";
  14. public const string master_secret = "master secret";
  15. public const string key_expansion = "key expansion";
  16. /*
  17. * RFC 5216
  18. */
  19. public const string client_EAP_encryption = "client EAP encryption";
  20. /*
  21. * RFC 5281
  22. */
  23. public const string ttls_keying_material = "ttls keying material";
  24. public const string ttls_challenge = "ttls challenge";
  25. /*
  26. * RFC 5764
  27. */
  28. public const string dtls_srtp = "EXTRACTOR-dtls_srtp";
  29. /*
  30. * RFC 7627
  31. */
  32. public const string extended_master_secret = "extended master secret";
  33. /*
  34. * draft-ietf-tokbind-protocol-16
  35. */
  36. public const string token_binding = "EXPORTER-Token-Binding";
  37. }
  38. }
  39. #pragma warning restore
  40. #endif