SrtpProtectionProfile.cs 715 B

12345678910111213141516171819202122232425
  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. public abstract class SrtpProtectionProfile
  7. {
  8. /*
  9. * RFC 5764 4.1.2.
  10. */
  11. public const int SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001;
  12. public const int SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002;
  13. public const int SRTP_NULL_HMAC_SHA1_80 = 0x0005;
  14. public const int SRTP_NULL_HMAC_SHA1_32 = 0x0006;
  15. /*
  16. * RFC 7714 14.2.
  17. */
  18. public const int SRTP_AEAD_AES_128_GCM = 0x0007;
  19. public const int SRTP_AEAD_AES_256_GCM = 0x0008;
  20. }
  21. }
  22. #pragma warning restore
  23. #endif