CompressionMethod.cs 519 B

1234567891011121314151617181920212223242526
  1. #if !BESTHTTP_DISABLE_ALTERNATE_SSL && (!UNITY_WEBGL || UNITY_EDITOR)
  2. using System;
  3. namespace Org.BouncyCastle.Crypto.Tls
  4. {
  5. /// <summary>
  6. /// RFC 2246 6.1
  7. /// </summary>
  8. public abstract class CompressionMethod
  9. {
  10. public const byte cls_null = 0;
  11. /*
  12. * RFC 3749 2
  13. */
  14. public const byte DEFLATE = 1;
  15. /*
  16. * Values from 224 decimal (0xE0) through 255 decimal (0xFF)
  17. * inclusive are reserved for private use.
  18. */
  19. }
  20. }
  21. #endif