diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-01-18 15:00:51 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2016-01-18 15:00:51 +0700 |
commit | c1cca343de7db38649a051e594cd34fcc7742d8b (patch) | |
tree | 8a65cce27aa7374c7b609697547c23383887497d | |
parent | Initial cut of draft-zauner-tls-aes-ocb-03 (diff) | |
download | BouncyCastle.NET-ed25519-c1cca343de7db38649a051e594cd34fcc7742d8b.tar.xz |
Add DTLS-SRTP protection profiles from RFC 7714
-rw-r--r-- | crypto/src/crypto/tls/SrtpProtectionProfile.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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; } } |