Skip to content

Commit 8bd25dd

Browse files
committed
Add DTLS-SRTP protection profiles from RFC 7714
1 parent fda3c0c commit 8bd25dd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

core/src/main/java/org/bouncycastle/crypto/tls/SRTPProtectionProfile.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,10 @@ public class SRTPProtectionProfile
99
public static final int SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002;
1010
public static final int SRTP_NULL_HMAC_SHA1_80 = 0x0005;
1111
public static final int SRTP_NULL_HMAC_SHA1_32 = 0x0006;
12+
13+
/*
14+
* RFC 7714 14.2.
15+
*/
16+
public static final int SRTP_AEAD_AES_128_GCM = 0x0007;
17+
public static final int SRTP_AEAD_AES_256_GCM = 0x0008;
1218
}

0 commit comments

Comments
 (0)