org.bouncycastle.iana.AEADAlgorithm Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bcprov-jdk15to18 Show documentation
Show all versions of bcprov-jdk15to18 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.
package org.bouncycastle.iana;
/**
* RFC 5116
*/
public class AEADAlgorithm
{
public static final int AEAD_AES_128_GCM = 1;
public static final int AEAD_AES_256_GCM = 2;
public static final int AEAD_AES_128_CCM = 3;
public static final int AEAD_AES_256_CCM = 4;
/*
* RFC 5282
*/
public static final int AEAD_AES_128_GCM_8 = 5;
public static final int AEAD_AES_256_GCM_8 = 6;
public static final int AEAD_AES_128_GCM_12 = 7;
public static final int AEAD_AES_256_GCM_12 = 8;
public static final int AEAD_AES_128_CCM_SHORT = 9;
public static final int AEAD_AES_256_CCM_SHORT = 10;
public static final int AEAD_AES_128_CCM_SHORT_8 = 11;
public static final int AEAD_AES_256_CCM_SHORT_8 = 12;
public static final int AEAD_AES_128_CCM_SHORT_12 = 13;
public static final int AEAD_AES_256_CCM_SHORT_12 = 14;
/*
* RFC 5297
*/
public static final int AEAD_AES_SIV_CMAC_256 = 15;
public static final int AEAD_AES_SIV_CMAC_384 = 16;
public static final int AEAD_AES_SIV_CMAC_512 = 17;
/*
* RFC 6655
*/
public static final int AEAD_AES_128_CCM_8 = 18;
public static final int AEAD_AES_256_CCM_8 = 19;
/*
* RFC 7253
*/
public static final int AEAD_AES_128_OCB_TAGLEN128 = 20;
public static final int AEAD_AES_128_OCB_TAGLEN96 = 21;
public static final int AEAD_AES_128_OCB_TAGLEN64 = 22;
public static final int AEAD_AES_192_OCB_TAGLEN128 = 23;
public static final int AEAD_AES_192_OCB_TAGLEN96 = 24;
public static final int AEAD_AES_192_OCB_TAGLEN64 = 25;
public static final int AEAD_AES_256_OCB_TAGLEN128 = 26;
public static final int AEAD_AES_256_OCB_TAGLEN96 = 27;
public static final int AEAD_AES_256_OCB_TAGLEN64 = 28;
/*
* RFC 7539
*/
public static final int AEAD_CHACHA20_POLY1305 = 29;
}