ExporterLabel.cs 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. namespace Org.BouncyCastle.Crypto.Tls
  4. {
  5. /// <summary>RFC 5705</summary>
  6. public abstract class ExporterLabel
  7. {
  8. /*
  9. * RFC 5246
  10. */
  11. public const string client_finished = "client finished";
  12. public const string server_finished = "server finished";
  13. public const string master_secret = "master secret";
  14. public const string key_expansion = "key expansion";
  15. /*
  16. * RFC 5216
  17. */
  18. public const string client_EAP_encryption = "client EAP encryption";
  19. /*
  20. * RFC 5281
  21. */
  22. public const string ttls_keying_material = "ttls keying material";
  23. public const string ttls_challenge = "ttls challenge";
  24. /*
  25. * RFC 5764
  26. */
  27. public const string dtls_srtp = "EXTRACTOR-dtls_srtp";
  28. /*
  29. * draft-ietf-tls-session-hash-04
  30. */
  31. public static readonly string extended_master_secret = "extended master secret";
  32. }
  33. }
  34. #endif