| Modifier and Type | Class and Description |
|---|---|
| public static class | CAST5.
Factory for CAST5 AEAD encryption/decryption operators. |
| public static class | CAST5.
Parameters for CAST5 AEAD and MAC modes.. |
| private static class | |
| public static class | CAST5.
CAST5 key generator. |
| public static class | CAST5.
Factory for producing CAST5 MAC calculators. |
| public static class | CAST5.
Factory for basic CAST5 encryption/decryption operators. |
| public static class | CAST5.
Parameters for general CAST5 block cipher modes. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | ALGORITHM
Raw CAST5 algorithm, can be used for creating general purpose CAST5 keys. |
| public static final CAST5. | CBC
CAST5 in cipher block chaining (CBC) mode. |
| public static final CAST5. | CBCwithCS1
CAST5 in cipher block chaining mode cipher text stealing type 1. |
| public static final CAST5. | CBCwithCS2
CAST5 in cipher block chaining mode cipher text stealing type 2. |
| public static final CAST5. | CBCwithCS3
CAST5 in cipher block chaining mode cipher text stealing type 3. |
| public static final CAST5. | CBCwithISO10126_2
CAST5 in cipher block chaining mode with ISO10126-2 padding. |
| public static final CAST5. | CBCwithISO7816_4
CAST5 in cipher block chaining mode with ISO7816-4 padding. |
| public static final CAST5. | CBCwithPKCS7
CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding. |
| public static final CAST5. | CBCwithTBC
CAST5 in cipher block chaining mode with trailing bit complement (TBC) padding. |
| public static final CAST5. | CBCwithX923
CAST5 in cipher block chaining mode with X9.23 padding. |
| public static final CAST5. | CFB64
CAST5 in cipher feedback (CFB) mode, 64 bit block size. |
| public static final CAST5. | CFB8
CAST5 in cipher feedback (CFB) mode, 8 bit block size. |
| public static final CAST5. | CMAC
CAST5 cipher-based MAC algorithm. |
| public static final CAST5. | CTR
CAST5 in counter (CTR) mode. |
| public static final CAST5. | EAX
CAST5 in EAX mode.. |
| public static final CAST5. | ECB
CAST5 in electronic code book (ECB) mode. |
| public static final CAST5. | ECBwithISO10126_2
CAST5 in electronic code book mode with ISO10126-2 padding. |
| public static final CAST5. | ECBwithISO7816_4
CAST5 in electronic code book mode with ISO7816-4 padding. |
| public static final CAST5. | ECBwithPKCS7
CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding. |
| public static final CAST5. | ECBwithTBC
CAST5 in electronic code book mode with trailing bit complement (TBC) padding. |
| public static final CAST5. | ECBwithX923
CAST5 in electronic code book mode with X9.23 padding. |
| private static final CAST5. | |
| public static final CAST5. | OFB
CAST5 in output feedback (OFB) mode, 64 bit block size. |
| public static final CAST5. | OpenPGPCFB
CAST5 in OpenPGP cipher feedback (CFB) mode. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static boolean | |
| private static ValidatedSymmetricKey |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw CAST5 algorithm, can be used for creating general purpose CAST5 keys. | |
| CBC | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining (CBC) mode. | |
| CBCwithCS1 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode cipher text stealing type 1. | |
| CBCwithCS2 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode cipher text stealing type 2. | |
| CBCwithCS3 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode cipher text stealing type 3. | |
| CBCwithISO10126_2 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode with ISO10126-2 padding. | |
| CBCwithISO7816_4 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode with ISO7816-4 padding. | |
| CBCwithPKCS7 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode with PKCS#7/PKCS#5 padding. | |
| CBCwithTBC | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode with trailing bit complement (TBC) padding. | |
| CBCwithX923 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher block chaining mode with X9.23 padding. | |
| CFB64 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher feedback (CFB) mode, 64 bit block size. | |
| CFB8 | back to summary |
|---|---|
| public static final CAST5. CAST5 in cipher feedback (CFB) mode, 8 bit block size. | |
| CMAC | back to summary |
|---|---|
| public static final CAST5. CAST5 cipher-based MAC algorithm. | |
| CTR | back to summary |
|---|---|
| public static final CAST5. CAST5 in counter (CTR) mode. | |
| EAX | back to summary |
|---|---|
| public static final CAST5. CAST5 in EAX mode.. | |
| ECB | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book (ECB) mode. | |
| ECBwithISO10126_2 | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book mode with ISO10126-2 padding. | |
| ECBwithISO7816_4 | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book mode with ISO7816-4 padding. | |
| ECBwithPKCS7 | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book mode with PKCS#7/PKCS#5 padding. | |
| ECBwithTBC | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book mode with trailing bit complement (TBC) padding. | |
| ECBwithX923 | back to summary |
|---|---|
| public static final CAST5. CAST5 in electronic code book mode with X9.23 padding. | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final CAST5. | |
| OFB | back to summary |
|---|---|
| public static final CAST5. CAST5 in output feedback (OFB) mode, 64 bit block size. | |
| OpenPGPCFB | back to summary |
|---|---|
| public static final CAST5. CAST5 in OpenPGP cipher feedback (CFB) mode. | |
| CAST5 | back to summary |
|---|---|
| private CAST5() | |
| invalidKeySize | back to summary |
|---|---|
| private static boolean invalidKeySize(int keyLength) | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, Algorithm algorithm) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AEADBlockCipher | createAEADCipher(boolean forEncryption, SymmetricKey key, CAST5.
Implements abstract org. |
| AEADOperatorFactory | back to summary |
|---|---|
| public AEADOperatorFactory() | |
| createAEADCipher | back to summary |
|---|---|
| protected AEADBlockCipher createAEADCipher(boolean forEncryption, SymmetricKey key, CAST5. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected CAST5. | create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
Implements abstract org. |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, byte[] iv, int macLenInBits) | |
| 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 CAST5. Implements abstract org. | |
| 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 int | calculateMACSize(CAST5.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final CAST5.
Implements abstract org. |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(CAST5. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final CAST5. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BufferedBlockCipher | createCipher(boolean forEncryption, SymmetricKey key, CAST5.
Implements abstract org. |
| OperatorFactory | back to summary |
|---|---|
| public OperatorFactory() | |
| createCipher | back to summary |
|---|---|
| protected BufferedBlockCipher createCipher(boolean forEncryption, SymmetricKey key, CAST5. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected CAST5. | create(GeneralAlgorithm algorithm, byte[] iv)
Implements abstract org. |
| Parameters | back to summary |
|---|---|
| private Parameters(GeneralAlgorithm algorithm, byte[] iv) | |
| Parameters | back to summary |
|---|---|
| pack-priv Parameters(GeneralAlgorithm algorithm) | |
| create | back to summary |
|---|---|
| protected CAST5. Implements abstract org. | |