Skip to content

Commit 5465005

Browse files
committed
Update SRTPProtectionProfile
1 parent 228211e commit 5465005

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

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

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,16 @@ public class SRTPProtectionProfile
77
*/
88
public static final int SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001;
99
public static final int SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002;
10+
11+
/**
12+
* Removed by draft-ietf-avt-dtls-srtp-04. IANA: Unassigned.
13+
*/
14+
public static final int DRAFT_SRTP_AES256_CM_SHA1_80 = 0x0003;
15+
/**
16+
* Removed by draft-ietf-avt-dtls-srtp-04. IANA: Unassigned.
17+
*/
18+
public static final int DRAFT_SRTP_AES256_CM_SHA1_32 = 0x0004;
19+
1020
public static final int SRTP_NULL_HMAC_SHA1_80 = 0x0005;
1121
public static final int SRTP_NULL_HMAC_SHA1_32 = 0x0006;
1222

@@ -15,4 +25,20 @@ public class SRTPProtectionProfile
1525
*/
1626
public static final int SRTP_AEAD_AES_128_GCM = 0x0007;
1727
public static final int SRTP_AEAD_AES_256_GCM = 0x0008;
28+
29+
/*
30+
* RFC 8723 10.1.
31+
*/
32+
public static final int DOUBLE_AEAD_AES_128_GCM_AEAD_AES_128_GCM = 0x0009;
33+
public static final int DOUBLE_AEAD_AES_256_GCM_AEAD_AES_256_GCM = 0x000A;
34+
35+
/*
36+
* RFC 8269 6.1.
37+
*/
38+
public static final int SRTP_ARIA_128_CTR_HMAC_SHA1_80 = 0x000B;
39+
public static final int SRTP_ARIA_128_CTR_HMAC_SHA1_32 = 0x000C;
40+
public static final int SRTP_ARIA_256_CTR_HMAC_SHA1_80 = 0x000D;
41+
public static final int SRTP_ARIA_256_CTR_HMAC_SHA1_32 = 0x000E;
42+
public static final int SRTP_AEAD_ARIA_128_GCM = 0x000F;
43+
public static final int SRTP_AEAD_ARIA_256_GCM = 0x0010;
1844
}

0 commit comments

Comments
 (0)