BulkCipherAlgorithm.cs 830 B

1234567891011121314151617181920212223242526272829
  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 2246</summary>
  7. /// <remarks>
  8. /// Note that the values here are implementation-specific and arbitrary. It is recommended not to
  9. /// depend on the particular values (e.g. serialization).
  10. /// </remarks>
  11. public abstract class BulkCipherAlgorithm
  12. {
  13. public const int cls_null = 0;
  14. public const int rc4 = 1;
  15. public const int rc2 = 2;
  16. public const int des = 3;
  17. public const int cls_3des = 4;
  18. public const int des40 = 5;
  19. /*
  20. * RFC 4346
  21. */
  22. public const int aes = 6;
  23. public const int idea = 7;
  24. }
  25. }
  26. #pragma warning restore
  27. #endif