Package org.bouncycastle.crypto.general
Class Serpent
- java.lang.Object
-
- org.bouncycastle.crypto.general.Serpent
-
public final class Serpent extends java.lang.ObjectThe Serpent encryption algorithm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSerpent.AEADOperatorFactoryFactory for Serpent AEAD encryption/decryption operators.static classSerpent.AuthParametersParameters for Serpent AEAD and MAC modes.static classSerpent.KeyGeneratorSerpent key generator.static classSerpent.KeyWrapOperatorFactoryFactory for Serpent key wrap/unwrap operators.static classSerpent.MACOperatorFactoryFactory for producing Serpent MAC calculators.static classSerpent.OperatorFactoryFactory for basic Serpent encryption/decryption operators.static classSerpent.ParametersParameters for general Serpent block cipher modes.static classSerpent.WrapParametersSerpent key wrap/unwrap operator parameters for KW and KWP.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithmALGORITHMRaw Serpent algorithm, can be used for creating general purpose Serpent keys.static Serpent.ParametersCBCSerpent in cipher block chaining (CBC) mode.static Serpent.ParametersCBCwithCS1Serpent in cipher block chaining mode cipher text stealing type 1.static Serpent.ParametersCBCwithCS2Serpent in cipher block chaining mode cipher text stealing type 2.static Serpent.ParametersCBCwithCS3Serpent in cipher block chaining mode cipher text stealing type 3.static Serpent.ParametersCBCwithISO10126_2Serpent in cipher block chaining mode with ISO10126-2 padding.static Serpent.ParametersCBCwithISO7816_4Serpent in cipher block chaining mode with ISO7816-4 padding.static Serpent.ParametersCBCwithPKCS7Serpent in cipher block chaining mode with PKCS#7/PKCS#5 padding.static Serpent.ParametersCBCwithTBCSerpent in cipher block chaining mode with trailing bit complement (TBC) padding.static Serpent.ParametersCBCwithX923Serpent in cipher block chaining mode with X9.23 padding.static Serpent.AuthParametersCCMSerpent in counter with CBC-MAC (CCM).static Serpent.ParametersCFB128Serpent in cipher feedback (CFB) mode, 128 bit block size.static Serpent.ParametersCFB8Serpent in cipher feedback (CFB) mode, 8 bit block size.static Serpent.AuthParametersCMACSerpent cipher-based MAC algorithm.static Serpent.ParametersCTRSerpent in counter (CTR) mode.static Serpent.AuthParametersEAXSerpent in EAX mode.static Serpent.ParametersECBSerpent in electronic code book (ECB) mode.static Serpent.ParametersECBwithISO10126_2Serpent in electronic code book mode with ISO10126-2 padding.static Serpent.ParametersECBwithISO7816_4Serpent in electronic code book mode with ISO7816-4 padding.static Serpent.ParametersECBwithPKCS7Serpent in electronic code book mode with PKCS#7/PKCS#5 padding.static Serpent.ParametersECBwithTBCSerpent in electronic code book mode with trailing bit complement (TBC) padding.static Serpent.ParametersECBwithX923Serpent in electronic code book mode with X9.23 padding.static Serpent.AuthParametersGCMSerpent in Galois/Counter Mode (GCM).static Serpent.AuthParametersGMACSerpent cipher-based GMAC algorithm.static Serpent.WrapParametersKWSerpent as a FIPS/RFC 3394 key wrapper.static Serpent.WrapParametersKWPSerpent as a FIPS/RFC 3394 key wrapper with padding.static Serpent.AuthParametersOCBSerpent in offset code book (OCB) mode.static Serpent.ParametersOFBSerpent in output feedback (OFB) mode.
-
-
-
Field Detail
-
ALGORITHM
public static final GeneralAlgorithm ALGORITHM
Raw Serpent algorithm, can be used for creating general purpose Serpent keys.
-
ECB
public static final Serpent.Parameters ECB
Serpent in electronic code book (ECB) mode.
-
ECBwithPKCS7
public static final Serpent.Parameters ECBwithPKCS7
Serpent in electronic code book mode with PKCS#7/PKCS#5 padding.
-
ECBwithISO10126_2
public static final Serpent.Parameters ECBwithISO10126_2
Serpent in electronic code book mode with ISO10126-2 padding.
-
ECBwithX923
public static final Serpent.Parameters ECBwithX923
Serpent in electronic code book mode with X9.23 padding.
-
ECBwithISO7816_4
public static final Serpent.Parameters ECBwithISO7816_4
Serpent in electronic code book mode with ISO7816-4 padding.
-
ECBwithTBC
public static final Serpent.Parameters ECBwithTBC
Serpent in electronic code book mode with trailing bit complement (TBC) padding.
-
CBC
public static final Serpent.Parameters CBC
Serpent in cipher block chaining (CBC) mode.
-
CBCwithPKCS7
public static final Serpent.Parameters CBCwithPKCS7
Serpent in cipher block chaining mode with PKCS#7/PKCS#5 padding.
-
CBCwithISO10126_2
public static final Serpent.Parameters CBCwithISO10126_2
Serpent in cipher block chaining mode with ISO10126-2 padding.
-
CBCwithX923
public static final Serpent.Parameters CBCwithX923
Serpent in cipher block chaining mode with X9.23 padding.
-
CBCwithISO7816_4
public static final Serpent.Parameters CBCwithISO7816_4
Serpent in cipher block chaining mode with ISO7816-4 padding.
-
CBCwithTBC
public static final Serpent.Parameters CBCwithTBC
Serpent in cipher block chaining mode with trailing bit complement (TBC) padding.
-
CBCwithCS1
public static final Serpent.Parameters CBCwithCS1
Serpent in cipher block chaining mode cipher text stealing type 1.
-
CBCwithCS2
public static final Serpent.Parameters CBCwithCS2
Serpent in cipher block chaining mode cipher text stealing type 2.
-
CBCwithCS3
public static final Serpent.Parameters CBCwithCS3
Serpent in cipher block chaining mode cipher text stealing type 3.
-
CFB8
public static final Serpent.Parameters CFB8
Serpent in cipher feedback (CFB) mode, 8 bit block size.
-
CFB128
public static final Serpent.Parameters CFB128
Serpent in cipher feedback (CFB) mode, 128 bit block size.
-
OFB
public static final Serpent.Parameters OFB
Serpent in output feedback (OFB) mode.
-
CTR
public static final Serpent.Parameters CTR
Serpent in counter (CTR) mode.
-
GCM
public static final Serpent.AuthParameters GCM
Serpent in Galois/Counter Mode (GCM).
-
CCM
public static final Serpent.AuthParameters CCM
Serpent in counter with CBC-MAC (CCM).
-
OCB
public static final Serpent.AuthParameters OCB
Serpent in offset code book (OCB) mode.
-
EAX
public static final Serpent.AuthParameters EAX
Serpent in EAX mode.
-
CMAC
public static final Serpent.AuthParameters CMAC
Serpent cipher-based MAC algorithm.
-
GMAC
public static final Serpent.AuthParameters GMAC
Serpent cipher-based GMAC algorithm.
-
KW
public static final Serpent.WrapParameters KW
Serpent as a FIPS/RFC 3394 key wrapper.
-
KWP
public static final Serpent.WrapParameters KWP
Serpent as a FIPS/RFC 3394 key wrapper with padding.
-
-