org.bouncycastle.crypto.tls.SRTPProtectionProfile Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-ext-jdk15on Show documentation
Show all versions of bcprov-ext-jdk15on Show documentation
The Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms. This jar contains JCE provider and lightweight API for the Bouncy Castle Cryptography APIs for JDK 1.5 to JDK 1.8. Note: this package includes the NTRU encryption algorithms.
The newest version!
package org.bouncycastle.crypto.tls;
public class SRTPProtectionProfile
{
/*
* RFC 5764 4.1.2.
*/
public static final int SRTP_AES128_CM_HMAC_SHA1_80 = 0x0001;
public static final int SRTP_AES128_CM_HMAC_SHA1_32 = 0x0002;
public static final int SRTP_NULL_HMAC_SHA1_80 = 0x0005;
public static final int SRTP_NULL_HMAC_SHA1_32 = 0x0006;
/*
* RFC 7714 14.2.
*/
public static final int SRTP_AEAD_AES_128_GCM = 0x0007;
public static final int SRTP_AEAD_AES_256_GCM = 0x0008;
}