Package org.bouncycastle.crypto.general
Class RC2
- java.lang.Object
-
- org.bouncycastle.crypto.general.RC2
-
public final class RC2 extends java.lang.ObjectSource class for implementations of RC2 based algorithms.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classRC2.AEADOperatorFactoryFactory for RC2 AEAD encryption/decryption operators.static classRC2.AuthParametersParameters for RC2 AEAD and MAC modes.static classRC2.KeyGeneratorRC2 key generator.static classRC2.KeyWrapOperatorFactoryFactory for RC2 key wrap/unwrap operators.static classRC2.MACOperatorFactoryFactory for producing RC2 MAC calculators.static classRC2.OperatorFactoryFactory for basic RC2 encryption/decryption operators.static classRC2.ParametersParameters for general RC2 block cipher modes.
-
Field Summary
Fields Modifier and Type Field Description static GeneralAlgorithmALGORITHMRaw RC2 algorithm, can be used for creating general purpose RC2 keys.static RC2.ParametersCBCRC2 in cipher block chaining (CBC) mode.static RC2.AuthParametersCBC_MACRC2 cipher-based CBC MAC algorithm.static RC2.ParametersCBCwithCS1RC2 in cipher block chaining mode cipher text stealing type 1.static RC2.ParametersCBCwithCS2RC2 in cipher block chaining mode cipher text stealing type 2.static RC2.ParametersCBCwithCS3RC2 in cipher block chaining mode cipher text stealing type 3.static RC2.ParametersCBCwithISO10126_2RC2 in cipher block chaining mode with ISO10126-2 padding.static RC2.ParametersCBCwithISO7816_4RC2 in cipher block chaining mode with ISO7816-4 padding.static RC2.ParametersCBCwithPKCS7RC2 in cipher block chaining mode with PKCS#7/PKCS#5 padding.static RC2.ParametersCBCwithTBCRC2 in cipher block chaining mode with trailing bit complement (TBC) padding.static RC2.ParametersCBCwithX923RC2 in cipher block chaining mode with X9.23 padding.static RC2.ParametersCFB64RC2 in cipher feedback (CFB) mode, 64 bit block size.static RC2.ParametersCFB8RC2 in cipher feedback (CFB) mode, 8 bit block size.static RC2.AuthParametersCFB8_MACRC2 CFB8MAC.static RC2.AuthParametersCMACRC2 cipher-based MAC algorithm.static RC2.ParametersCTRRC2 in counter (CTR) mode.static RC2.AuthParametersEAXRC2 in EAX mode.static RC2.ParametersECBRC2 in electronic code book (ECB) mode.static RC2.ParametersECBwithISO10126_2RC2 in electronic code book mode with ISO10126-2 padding.static RC2.ParametersECBwithISO7816_4RC2 in electronic code book mode with ISO7816-4 padding.static RC2.ParametersECBwithPKCS7RC2 in electronic code book mode with PKCS#7/PKCS#5 padding.static RC2.ParametersECBwithTBCRC2 in electronic code book mode with trailing bit complement (TBC) padding.static RC2.ParametersECBwithX923RC2 in electronic code book mode with X9.23 padding.static RC2.ParametersOFBRC2 in output feedback (OFB) mode, 64 bit block size.static RC2.ParametersRFC3217_WRAPRC2 RFC 3217 key wrapper.
-
-
-
Field Detail
-
ALGORITHM
public static final GeneralAlgorithm ALGORITHM
Raw RC2 algorithm, can be used for creating general purpose RC2 keys.
-
ECB
public static final RC2.Parameters ECB
RC2 in electronic code book (ECB) mode.
-
ECBwithPKCS7
public static final RC2.Parameters ECBwithPKCS7
RC2 in electronic code book mode with PKCS#7/PKCS#5 padding.
-
ECBwithISO10126_2
public static final RC2.Parameters ECBwithISO10126_2
RC2 in electronic code book mode with ISO10126-2 padding.
-
ECBwithX923
public static final RC2.Parameters ECBwithX923
RC2 in electronic code book mode with X9.23 padding.
-
ECBwithISO7816_4
public static final RC2.Parameters ECBwithISO7816_4
RC2 in electronic code book mode with ISO7816-4 padding.
-
ECBwithTBC
public static final RC2.Parameters ECBwithTBC
RC2 in electronic code book mode with trailing bit complement (TBC) padding.
-
CBC
public static final RC2.Parameters CBC
RC2 in cipher block chaining (CBC) mode.
-
CBCwithPKCS7
public static final RC2.Parameters CBCwithPKCS7
RC2 in cipher block chaining mode with PKCS#7/PKCS#5 padding.
-
CBCwithISO10126_2
public static final RC2.Parameters CBCwithISO10126_2
RC2 in cipher block chaining mode with ISO10126-2 padding.
-
CBCwithX923
public static final RC2.Parameters CBCwithX923
RC2 in cipher block chaining mode with X9.23 padding.
-
CBCwithISO7816_4
public static final RC2.Parameters CBCwithISO7816_4
RC2 in cipher block chaining mode with ISO7816-4 padding.
-
CBCwithTBC
public static final RC2.Parameters CBCwithTBC
RC2 in cipher block chaining mode with trailing bit complement (TBC) padding.
-
CBCwithCS1
public static final RC2.Parameters CBCwithCS1
RC2 in cipher block chaining mode cipher text stealing type 1.
-
CBCwithCS2
public static final RC2.Parameters CBCwithCS2
RC2 in cipher block chaining mode cipher text stealing type 2.
-
CBCwithCS3
public static final RC2.Parameters CBCwithCS3
RC2 in cipher block chaining mode cipher text stealing type 3.
-
CFB8
public static final RC2.Parameters CFB8
RC2 in cipher feedback (CFB) mode, 8 bit block size.
-
CFB64
public static final RC2.Parameters CFB64
RC2 in cipher feedback (CFB) mode, 64 bit block size.
-
OFB
public static final RC2.Parameters OFB
RC2 in output feedback (OFB) mode, 64 bit block size.
-
CTR
public static final RC2.Parameters CTR
RC2 in counter (CTR) mode.
-
EAX
public static final RC2.AuthParameters EAX
RC2 in EAX mode.
-
CBC_MAC
public static final RC2.AuthParameters CBC_MAC
RC2 cipher-based CBC MAC algorithm.
-
CFB8_MAC
public static final RC2.AuthParameters CFB8_MAC
RC2 CFB8MAC.
-
CMAC
public static final RC2.AuthParameters CMAC
RC2 cipher-based MAC algorithm.
-
RFC3217_WRAP
public static final RC2.Parameters RFC3217_WRAP
RC2 RFC 3217 key wrapper.
-
-