From c1cca343de7db38649a051e594cd34fcc7742d8b Mon Sep 17 00:00:00 2001 From: Peter Dettman Date: Mon, 18 Jan 2016 15:00:51 +0700 Subject: Add DTLS-SRTP protection profiles from RFC 7714 --- crypto/src/crypto/tls/SrtpProtectionProfile.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'crypto/src') diff --git a/crypto/src/crypto/tls/SrtpProtectionProfile.cs b/crypto/src/crypto/tls/SrtpProtectionProfile.cs index 1ce89f85e..6e9091bb9 100644 --- a/crypto/src/crypto/tls/SrtpProtectionProfile.cs +++ b/crypto/src/crypto/tls/SrtpProtectionProfile.cs @@ -11,5 +11,11 @@ namespace Org.BouncyCastle.Crypto.Tls public const int SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002; public const int SRTP_NULL_HMAC_SHA1_80 = 0x0005; public const int SRTP_NULL_HMAC_SHA1_32 = 0x0006; + + /* + * RFC 7714 14.2. + */ + public const int SRTP_AEAD_AES_128_GCM = 0x0007; + public const int SRTP_AEAD_AES_256_GCM = 0x0008; } } -- cgit 1.5.1