ExporterLabel.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. /// <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 static readonly string extended_master_secret = "extended master secret";
  33. }
  34. }
  35. #pragma warning restore
  36. #endif