Package org.bouncycastle.crypto.general
Class Serpent
- java.lang.Object
-
- org.bouncycastle.crypto.general.Serpent
-
public final class Serpent extends java.lang.Object
The Serpent encryption algorithm.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Serpent.AEADOperatorFactory
Factory for Serpent AEAD encryption/decryption operators.static class
Serpent.AuthParameters
Parameters for Serpent AEAD and MAC modes.static class
Serpent.KeyGenerator
Serpent key generator.static class
Serpent.KeyWrapOperatorFactory
Factory for Serpent key wrap/unwrap operators.static class
Serpent.MACOperatorFactory
Factory for producing Serpent MAC calculators.static class
Serpent.OperatorFactory
Factory for basic Serpent encryption/decryption operators.static class
Serpent.Parameters
Parameters for general Serpent block cipher modes.static class
Serpent.WrapParameters
Serpent key wrap/unwrap operator parameters for KW and KWP.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithm
ALGORITHM
Raw Serpent algorithm, can be used for creating general purpose Serpent keys.static Serpent.Parameters
CBC
Serpent in cipher block chaining (CBC) mode.static Serpent.Parameters
CBCwithCS1
Serpent in cipher block chaining mode cipher text stealing type 1.static Serpent.Parameters
CBCwithCS2
Serpent in cipher block chaining mode cipher text stealing type 2.static Serpent.Parameters
CBCwithCS3
Serpent in cipher block chaining mode cipher text stealing type 3.static Serpent.Parameters
CBCwithISO10126_2
Serpent in cipher block chaining mode with ISO10126-2 padding.static Serpent.Parameters
CBCwithISO7816_4
Serpent in cipher block chaining mode with ISO7816-4 padding.static Serpent.Parameters
CBCwithPKCS7
Serpent in cipher block chaining mode with PKCS#7/PKCS#5 padding.static Serpent.Parameters
CBCwithTBC
Serpent in cipher block chaining mode with trailing bit complement (TBC) padding.static Serpent.Parameters
CBCwithX923
Serpent in cipher block chaining mode with X9.23 padding.static Serpent.AuthParameters
CCM
Serpent in counter with CBC-MAC (CCM).static Serpent.Parameters
CFB128
Serpent in cipher feedback (CFB) mode, 128 bit block size.static Serpent.Parameters
CFB8
Serpent in cipher feedback (CFB) mode, 8 bit block size.static Serpent.AuthParameters
CMAC
Serpent cipher-based MAC algorithm.static Serpent.Parameters
CTR
Serpent in counter (CTR) mode.static Serpent.AuthParameters
EAX
Serpent in EAX mode.static Serpent.Parameters
ECB
Serpent in electronic code book (ECB) mode.static Serpent.Parameters
ECBwithISO10126_2
Serpent in electronic code book mode with ISO10126-2 padding.static Serpent.Parameters
ECBwithISO7816_4
Serpent in electronic code book mode with ISO7816-4 padding.static Serpent.Parameters
ECBwithPKCS7
Serpent in electronic code book mode with PKCS#7/PKCS#5 padding.static Serpent.Parameters
ECBwithTBC
Serpent in electronic code book mode with trailing bit complement (TBC) padding.static Serpent.Parameters
ECBwithX923
Serpent in electronic code book mode with X9.23 padding.static Serpent.AuthParameters
GCM
Serpent in Galois/Counter Mode (GCM).static Serpent.AuthParameters
GMAC
Serpent cipher-based GMAC algorithm.static Serpent.WrapParameters
KW
Serpent as a FIPS/RFC 3394 key wrapper.static Serpent.WrapParameters
KWP
Serpent as a FIPS/RFC 3394 key wrapper with padding.static Serpent.AuthParameters
OCB
Serpent in offset code book (OCB) mode.static Serpent.Parameters
OFB
Serpent 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.
-
-