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