Package org.bouncycastle.crypto.general
Class CAST5
- java.lang.Object
-
- org.bouncycastle.crypto.general.CAST5
-
public final class CAST5 extends java.lang.ObjectSource class for implementations of CAST5 based algorithms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCAST5.AEADOperatorFactoryFactory for CAST5 AEAD encryption/decryption operators.static classCAST5.AuthParametersParameters for CAST5 AEAD and MAC modes..static classCAST5.KeyGeneratorCAST5 key generator.static classCAST5.MACOperatorFactoryFactory for producing CAST5 MAC calculators.static classCAST5.OperatorFactoryFactory for basic CAST5 encryption/decryption operators.static classCAST5.ParametersParameters for general CAST5 block cipher modes.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithmALGORITHMRaw CAST5 algorithm, can be used for creating general purpose CAST5 keys.static CAST5.ParametersCBCCAST5 in cipher block chaining (CBC) mode.static CAST5.ParametersCBCwithCS1CAST5 in cipher block chaining mode cipher text stealing type 1.static CAST5.ParametersCBCwithCS2CAST5 in cipher block chaining mode cipher text stealing type 2.static CAST5.ParametersCBCwithCS3CAST5 in cipher block chaining mode cipher text stealing type 3.static CAST5.ParametersCBCwithISO10126_2CAST5 in cipher block chaining mode with ISO10126-2 padding.static CAST5.ParametersCBCwithISO7816_4CAST5 in cipher block chaining mode with ISO7816-4 padding.static CAST5.ParametersCBCwithPKCS7CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding.static CAST5.ParametersCBCwithTBCCAST5 in cipher block chaining mode with trailing bit complement (TBC) padding.static CAST5.ParametersCBCwithX923CAST5 in cipher block chaining mode with X9.23 padding.static CAST5.ParametersCFB64CAST5 in cipher feedback (CFB) mode, 64 bit block size.static CAST5.ParametersCFB8CAST5 in cipher feedback (CFB) mode, 8 bit block size.static CAST5.AuthParametersCMACCAST5 cipher-based MAC algorithm.static CAST5.ParametersCTRCAST5 in counter (CTR) mode.static CAST5.AuthParametersEAXCAST5 in EAX mode..static CAST5.ParametersECBCAST5 in electronic code book (ECB) mode.static CAST5.ParametersECBwithISO10126_2CAST5 in electronic code book mode with ISO10126-2 padding.static CAST5.ParametersECBwithISO7816_4CAST5 in electronic code book mode with ISO7816-4 padding.static CAST5.ParametersECBwithPKCS7CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding.static CAST5.ParametersECBwithTBCCAST5 in electronic code book mode with trailing bit complement (TBC) padding.static CAST5.ParametersECBwithX923CAST5 in electronic code book mode with X9.23 padding.static CAST5.ParametersOFBCAST5 in output feedback (OFB) mode, 64 bit block size.static CAST5.ParametersOpenPGPCFBCAST5 in OpenPGP cipher feedback (CFB) mode.
-
-
-
Field Detail
-
ALGORITHM
public static final GeneralAlgorithm ALGORITHM
Raw CAST5 algorithm, can be used for creating general purpose CAST5 keys.
-
ECB
public static final CAST5.Parameters ECB
CAST5 in electronic code book (ECB) mode.
-
ECBwithPKCS7
public static final CAST5.Parameters ECBwithPKCS7
CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding.
-
ECBwithISO10126_2
public static final CAST5.Parameters ECBwithISO10126_2
CAST5 in electronic code book mode with ISO10126-2 padding.
-
ECBwithX923
public static final CAST5.Parameters ECBwithX923
CAST5 in electronic code book mode with X9.23 padding.
-
ECBwithISO7816_4
public static final CAST5.Parameters ECBwithISO7816_4
CAST5 in electronic code book mode with ISO7816-4 padding.
-
ECBwithTBC
public static final CAST5.Parameters ECBwithTBC
CAST5 in electronic code book mode with trailing bit complement (TBC) padding.
-
CBC
public static final CAST5.Parameters CBC
CAST5 in cipher block chaining (CBC) mode.
-
CBCwithPKCS7
public static final CAST5.Parameters CBCwithPKCS7
CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding.
-
CBCwithISO10126_2
public static final CAST5.Parameters CBCwithISO10126_2
CAST5 in cipher block chaining mode with ISO10126-2 padding.
-
CBCwithX923
public static final CAST5.Parameters CBCwithX923
CAST5 in cipher block chaining mode with X9.23 padding.
-
CBCwithISO7816_4
public static final CAST5.Parameters CBCwithISO7816_4
CAST5 in cipher block chaining mode with ISO7816-4 padding.
-
CBCwithTBC
public static final CAST5.Parameters CBCwithTBC
CAST5 in cipher block chaining mode with trailing bit complement (TBC) padding.
-
CBCwithCS1
public static final CAST5.Parameters CBCwithCS1
CAST5 in cipher block chaining mode cipher text stealing type 1.
-
CBCwithCS2
public static final CAST5.Parameters CBCwithCS2
CAST5 in cipher block chaining mode cipher text stealing type 2.
-
CBCwithCS3
public static final CAST5.Parameters CBCwithCS3
CAST5 in cipher block chaining mode cipher text stealing type 3.
-
CFB8
public static final CAST5.Parameters CFB8
CAST5 in cipher feedback (CFB) mode, 8 bit block size.
-
CFB64
public static final CAST5.Parameters CFB64
CAST5 in cipher feedback (CFB) mode, 64 bit block size.
-
OFB
public static final CAST5.Parameters OFB
CAST5 in output feedback (OFB) mode, 64 bit block size.
-
CTR
public static final CAST5.Parameters CTR
CAST5 in counter (CTR) mode.
-
EAX
public static final CAST5.AuthParameters EAX
CAST5 in EAX mode..
-
OpenPGPCFB
public static final CAST5.Parameters OpenPGPCFB
CAST5 in OpenPGP cipher feedback (CFB) mode.
-
CMAC
public static final CAST5.AuthParameters CMAC
CAST5 cipher-based MAC algorithm.
-
-