| Modifier and Type | Class and Description |
|---|---|
| public static class | RC2.
Factory for RC2 AEAD encryption/decryption operators. |
| public static class | RC2.
Parameters for RC2 AEAD and MAC modes. |
| private static class | |
| public static class | RC2.
RC2 key generator. |
| public static class | RC2.
Factory for RC2 key wrap/unwrap operators. |
| public static class | RC2.
Factory for producing RC2 MAC calculators. |
| public static class | RC2.
Factory for basic RC2 encryption/decryption operators. |
| public static class | RC2.
Parameters for general RC2 block cipher modes. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | ALGORITHM
Raw RC2 algorithm, can be used for creating general purpose RC2 keys. |
| public static final RC2. | CBC
RC2 in cipher block chaining (CBC) mode. |
| public static final RC2. | CBC_MAC
RC2 cipher-based CBC MAC algorithm. |
| public static final RC2. | CBCwithCS1
RC2 in cipher block chaining mode cipher text stealing type 1. |
| public static final RC2. | CBCwithCS2
RC2 in cipher block chaining mode cipher text stealing type 2. |
| public static final RC2. | CBCwithCS3
RC2 in cipher block chaining mode cipher text stealing type 3. |
| public static final RC2. | CBCwithISO10126_2
RC2 in cipher block chaining mode with ISO10126-2 padding. |
| public static final RC2. | CBCwithISO7816_4
RC2 in cipher block chaining mode with ISO7816-4 padding. |
| public static final RC2. | CBCwithPKCS7
RC2 in cipher block chaining mode with PKCS#7/PKCS#5 padding. |
| public static final RC2. | CBCwithTBC
RC2 in cipher block chaining mode with trailing bit complement (TBC) padding. |
| public static final RC2. | CBCwithX923
RC2 in cipher block chaining mode with X9.23 padding. |
| public static final RC2. | CFB64
RC2 in cipher feedback (CFB) mode, 64 bit block size. |
| public static final RC2. | CFB8
RC2 in cipher feedback (CFB) mode, 8 bit block size. |
| public static final RC2. | CFB8_MAC
RC2 CFB8MAC. |
| public static final RC2. | CMAC
RC2 cipher-based MAC algorithm. |
| public static final RC2. | CTR
RC2 in counter (CTR) mode. |
| public static final RC2. | EAX
RC2 in EAX mode. |
| public static final RC2. | ECB
RC2 in electronic code book (ECB) mode. |
| public static final RC2. | ECBwithISO10126_2
RC2 in electronic code book mode with ISO10126-2 padding. |
| public static final RC2. | ECBwithISO7816_4
RC2 in electronic code book mode with ISO7816-4 padding. |
| public static final RC2. | ECBwithPKCS7
RC2 in electronic code book mode with PKCS#7/PKCS#5 padding. |
| public static final RC2. | ECBwithTBC
RC2 in electronic code book mode with trailing bit complement (TBC) padding. |
| public static final RC2. | ECBwithX923
RC2 in electronic code book mode with X9.23 padding. |
| private static final RC2. | |
| public static final RC2. | OFB
RC2 in output feedback (OFB) mode, 64 bit block size. |
| public static final RC2. | RFC3217_WRAP
RC2 RFC 3217 key wrapper. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static KeyParameter | |
| private static boolean | |
| private static ValidatedSymmetricKey |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw RC2 algorithm, can be used for creating general purpose RC2 keys. | |
| CBC | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining (CBC) mode. | |
| CBC_MAC | back to summary |
|---|---|
| public static final RC2. RC2 cipher-based CBC MAC algorithm. | |
| CBCwithCS1 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode cipher text stealing type 1. | |
| CBCwithCS2 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode cipher text stealing type 2. | |
| CBCwithCS3 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode cipher text stealing type 3. | |
| CBCwithISO10126_2 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode with ISO10126-2 padding. | |
| CBCwithISO7816_4 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode with ISO7816-4 padding. | |
| CBCwithPKCS7 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode with PKCS#7/PKCS#5 padding. | |
| CBCwithTBC | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode with trailing bit complement (TBC) padding. | |
| CBCwithX923 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher block chaining mode with X9.23 padding. | |
| CFB64 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher feedback (CFB) mode, 64 bit block size. | |
| CFB8 | back to summary |
|---|---|
| public static final RC2. RC2 in cipher feedback (CFB) mode, 8 bit block size. | |
| CFB8_MAC | back to summary |
|---|---|
| public static final RC2. RC2 CFB8MAC. | |
| CMAC | back to summary |
|---|---|
| public static final RC2. RC2 cipher-based MAC algorithm. | |
| CTR | back to summary |
|---|---|
| public static final RC2. RC2 in counter (CTR) mode. | |
| EAX | back to summary |
|---|---|
| public static final RC2. RC2 in EAX mode. | |
| ECB | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book (ECB) mode. | |
| ECBwithISO10126_2 | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book mode with ISO10126-2 padding. | |
| ECBwithISO7816_4 | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book mode with ISO7816-4 padding. | |
| ECBwithPKCS7 | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book mode with PKCS#7/PKCS#5 padding. | |
| ECBwithTBC | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book mode with trailing bit complement (TBC) padding. | |
| ECBwithX923 | back to summary |
|---|---|
| public static final RC2. RC2 in electronic code book mode with X9.23 padding. | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final RC2. | |
| OFB | back to summary |
|---|---|
| public static final RC2. RC2 in output feedback (OFB) mode, 64 bit block size. | |
| RFC3217_WRAP | back to summary |
|---|---|
| public static final RC2. RC2 RFC 3217 key wrapper. | |
| RC2 | back to summary |
|---|---|
| private RC2() | |
| createRC2Parameters | back to summary |
|---|---|
| private static KeyParameter createRC2Parameters(SymmetricKey key, Algorithm algorithm, int effKeySizeInBits) | |
| invalidKeySize | back to summary |
|---|---|
| private static boolean invalidKeySize(int keyLength) | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, Algorithm paramAlgorithm) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AEADBlockCipher | createAEADCipher(boolean forEncryption, SymmetricKey key, RC2.
Implements abstract org. |
| AEADOperatorFactory | back to summary |
|---|---|
| public AEADOperatorFactory() | |
| createAEADCipher | back to summary |
|---|---|
| protected AEADBlockCipher createAEADCipher(boolean forEncryption, SymmetricKey key, RC2. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected RC2. | create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
Implements abstract org. |
| public int | |
| public RC2. |
| effectiveKeySizeInBits | back to summary |
|---|---|
| private final int effectiveKeySizeInBits | |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, int effectiveKeySizeInBits, byte[] iv, int tagLenInBits) | |
| AuthParameters | back to summary |
|---|---|
| pack-priv AuthParameters(GeneralAlgorithm algorithm) Base constructor - the algorithm, null IV. In this case the tag length defaults to the 64 for CMAC, 32 bits otherwise.
| |
| create | back to summary |
|---|---|
| protected RC2. Implements abstract org. | |
| getEffectiveKeySizeInBits | back to summary |
|---|---|
| public int getEffectiveKeySizeInBits() | |
| withEffectiveKeySizeInBits | back to summary |
|---|---|
| public RC2. | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public BlockCipher |
| EngineProvider | back to summary |
|---|---|
| private EngineProvider() | |
| createEngine | back to summary |
|---|---|
| public BlockCipher createEngine() Implements org. | |
| Modifier and Type | Field and Description |
|---|---|
| private final GeneralAlgorithm | |
| private final int | |
| private final SecureRandom |
| Access | Constructor and Description |
|---|---|
| public | |
| public | KeyGenerator(GeneralParameters<T extends Algorithm> parameterSet, int keySizeInBits, SecureRandom random)
|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public SymmetricKey | doGenerateKey()
Implements abstract org. |
| algorithm | back to summary |
|---|---|
| private final GeneralAlgorithm algorithm | |
| keySizeInBits | back to summary |
|---|---|
| private final int keySizeInBits | |
| random | back to summary |
|---|---|
| private final SecureRandom random | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(int keySizeInBits, SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(GeneralParameters<T extends Algorithm> parameterSet, int keySizeInBits, SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| private KeyGenerator(GeneralAlgorithm algorithm, int keySizeInBits, SecureRandom random) | |
| doGenerateKey | back to summary |
|---|---|
| public SymmetricKey doGenerateKey() Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected Wrapper | createWrapper(boolean forWrapping, SymmetricKey key, RC2.
Implements abstract org. |
| KeyWrapOperatorFactory | back to summary |
|---|---|
| public KeyWrapOperatorFactory() | |
| createWrapper | back to summary |
|---|---|
| protected Wrapper createWrapper(boolean forWrapping, SymmetricKey key, RC2. Implements abstract org. | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | calculateMACSize(RC2.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final RC2.
Implements abstract org. |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(RC2. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final RC2. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BufferedBlockCipher | createCipher(boolean forEncryption, SymmetricKey key, RC2.
Implements abstract org. |
| OperatorFactory | back to summary |
|---|---|
| public OperatorFactory() | |
| createCipher | back to summary |
|---|---|
| protected BufferedBlockCipher createCipher(boolean forEncryption, SymmetricKey key, RC2. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final int | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public byte[] | getIV()
Implements org. |
| public RC2. | |
| public RC2. | withIV(byte[]
the IV to use. iv)Implements org. |
| public RC2. | withIV(SecureRandom
the SecureRandom to use as the source of IV data. random)Implements org. |
| effectiveKeySizeInBits | back to summary |
|---|---|
| private final int effectiveKeySizeInBits | |
| iv | back to summary |
|---|---|
| private final byte[] iv | |
| Parameters | back to summary |
|---|---|
| pack-priv Parameters(GeneralAlgorithm algorithm) | |
| Parameters | back to summary |
|---|---|
| private Parameters(GeneralAlgorithm algorithm, int effectiveKeySizeInBits, byte[] iv) | |
| getEffectiveKeySizeInBits | back to summary |
|---|---|
| public int getEffectiveKeySizeInBits() | |
| getIV | back to summary |
|---|---|
| public byte[] getIV() Implements org. Doc from org. Return the initialization vector associated with this parameter set.
| |
| withEffectiveKeySizeInBits | back to summary |
|---|---|
| public RC2. | |
| withIV | back to summary |
|---|---|
| public RC2. Implements org. Doc from org. Create a new parameter set with a different IV.
| |
| withIV | back to summary |
|---|---|
| public RC2. Implements org. Doc from org. Create a new parameter set with a different IV based on the output of the passed in random.
| |