| Modifier and Type | Class and Description |
|---|---|
| public static class | DES.
Factory for DES AEAD encryption/decryption operators. |
| public static class | DES.
Parameters for DES AEAD and MAC modes.. |
| private static class | |
| public static class | DES.
DES key generator. |
| public static class | DES.
Factory for producing DES MAC calculators. |
| public static class | DES.
Factory for basic DES encryption/decryption operators. |
| public static class | DES.
Parameters for general DES block cipher modes. |
| Modifier and Type | Field and Description |
|---|---|
| public static final GeneralAlgorithm | ALGORITHM
Raw DES algorithm, can be used for creating general purpose DES keys. |
| public static final DES. | CBC
DES in cipher block chaining (CBC) mode. |
| public static final DES. | CBC_MAC
DES CBC-MAC. |
| public static final DES. | CBC_MACwithISO7816_4
DES CBC-MAC with ISO7816-4 Padding. |
| public static final DES. | CBCwithCS1
DES in cipher block chaining mode cipher text stealing type 1. |
| public static final DES. | CBCwithCS2
DES in cipher block chaining mode cipher text stealing type 2. |
| public static final DES. | CBCwithCS3
DES in cipher block chaining mode cipher text stealing type 3. |
| public static final DES. | CBCwithISO10126_2
DES in cipher block chaining mode with ISO10126-2 padding. |
| public static final DES. | CBCwithISO7816_4
DES in cipher block chaining mode with ISO7816-4 padding. |
| public static final DES. | CBCwithPKCS7
DES in cipher block chaining mode with PKCS#7/PKCS#5 padding. |
| public static final DES. | CBCwithTBC
DES in cipher block chaining mode with trailing bit complement (TBC) padding. |
| public static final DES. | CBCwithX923
DES in cipher block chaining mode with X9.23 padding. |
| public static final DES. | CFB64
DES in cipher feedback (CFB) mode, 64 bit block size. |
| public static final DES. | CFB8
DES in cipher feedback (CFB) mode, 8 bit block size. |
| public static final DES. | CFB8_MAC
DES CFB8MAC. |
| public static final DES. | CMAC
DES cipher-based MAC algorithm. |
| public static final DES. | CTR
DES in counter (CTR) mode. |
| public static final DES. | EAX
DES in EAX mode.. |
| public static final DES. | ECB
DES in electronic code book (ECB) mode. |
| public static final DES. | ECBwithISO10126_2
DES in electronic code book mode with ISO10126-2 padding. |
| public static final DES. | ECBwithISO7816_4
DES in electronic code book mode with ISO7816-4 padding. |
| public static final DES. | ECBwithPKCS7
DES in electronic code book mode with PKCS#7/PKCS#5 padding. |
| public static final DES. | ECBwithTBC
DES in electronic code book mode with trailing bit complement (TBC) padding. |
| public static final DES. | ECBwithX923
DES in electronic code book mode with X9.23 padding. |
| private static final DES. | |
| public static final DES. | ISO9797alg3Mac
DES ISO9797 MAC Algorithm 3 |
| public static final DES. | ISO9797alg3MACwithISO7816_4
DES ISO9797 MAC Algorithm 3 with ISO7816-4 Padding |
| public static final DES. | OFB
DES in output feedback (OFB) mode, 64 bit block size. |
| public static final DES. | OpenPGPCFB
DES in OpenPGP cipher feedback (CFB) mode. |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ValidatedSymmetricKey |
| ALGORITHM | back to summary |
|---|---|
| public static final GeneralAlgorithm ALGORITHM Raw DES algorithm, can be used for creating general purpose DES keys. | |
| CBC | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining (CBC) mode. | |
| CBC_MAC | back to summary |
|---|---|
| public static final DES. DES CBC-MAC. | |
| CBC_MACwithISO7816_4 | back to summary |
|---|---|
| public static final DES. DES CBC-MAC with ISO7816-4 Padding. | |
| CBCwithCS1 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode cipher text stealing type 1. | |
| CBCwithCS2 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode cipher text stealing type 2. | |
| CBCwithCS3 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode cipher text stealing type 3. | |
| CBCwithISO10126_2 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode with ISO10126-2 padding. | |
| CBCwithISO7816_4 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode with ISO7816-4 padding. | |
| CBCwithPKCS7 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode with PKCS#7/PKCS#5 padding. | |
| CBCwithTBC | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode with trailing bit complement (TBC) padding. | |
| CBCwithX923 | back to summary |
|---|---|
| public static final DES. DES in cipher block chaining mode with X9.23 padding. | |
| CFB64 | back to summary |
|---|---|
| public static final DES. DES in cipher feedback (CFB) mode, 64 bit block size. | |
| CFB8 | back to summary |
|---|---|
| public static final DES. DES in cipher feedback (CFB) mode, 8 bit block size. | |
| CFB8_MAC | back to summary |
|---|---|
| public static final DES. DES CFB8MAC. | |
| CMAC | back to summary |
|---|---|
| public static final DES. DES cipher-based MAC algorithm. | |
| CTR | back to summary |
|---|---|
| public static final DES. DES in counter (CTR) mode. | |
| EAX | back to summary |
|---|---|
| public static final DES. DES in EAX mode.. | |
| ECB | back to summary |
|---|---|
| public static final DES. DES in electronic code book (ECB) mode. | |
| ECBwithISO10126_2 | back to summary |
|---|---|
| public static final DES. DES in electronic code book mode with ISO10126-2 padding. | |
| ECBwithISO7816_4 | back to summary |
|---|---|
| public static final DES. DES in electronic code book mode with ISO7816-4 padding. | |
| ECBwithPKCS7 | back to summary |
|---|---|
| public static final DES. DES in electronic code book mode with PKCS#7/PKCS#5 padding. | |
| ECBwithTBC | back to summary |
|---|---|
| public static final DES. DES in electronic code book mode with trailing bit complement (TBC) padding. | |
| ECBwithX923 | back to summary |
|---|---|
| public static final DES. DES in electronic code book mode with X9.23 padding. | |
| ENGINE_PROVIDER | back to summary |
|---|---|
| private static final DES. | |
| ISO9797alg3Mac | back to summary |
|---|---|
| public static final DES. DES ISO9797 MAC Algorithm 3 | |
| ISO9797alg3MACwithISO7816_4 | back to summary |
|---|---|
| public static final DES. DES ISO9797 MAC Algorithm 3 with ISO7816-4 Padding | |
| OFB | back to summary |
|---|---|
| public static final DES. DES in output feedback (OFB) mode, 64 bit block size. | |
| OpenPGPCFB | back to summary |
|---|---|
| public static final DES. DES in OpenPGP cipher feedback (CFB) mode. | |
| DES | back to summary |
|---|---|
| private DES() | |
| validateKey | back to summary |
|---|---|
| private static ValidatedSymmetricKey validateKey(SymmetricKey key, GeneralAlgorithm paramAlgorithm) | |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected AEADBlockCipher | createAEADCipher(boolean forEncryption, SymmetricKey key, DES.
Implements abstract org. |
| AEADOperatorFactory | back to summary |
|---|---|
| public AEADOperatorFactory() | |
| createAEADCipher | back to summary |
|---|---|
| protected AEADBlockCipher createAEADCipher(boolean forEncryption, SymmetricKey key, DES. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| private | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected DES. | create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
Implements abstract org. |
| AuthParameters | back to summary |
|---|---|
| private AuthParameters(GeneralAlgorithm algorithm, 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 DES. 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> algorithm, 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(SecureRandom random) | |
| KeyGenerator | back to summary |
|---|---|
| public KeyGenerator(GeneralParameters<T extends Algorithm> algorithm, 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(DES.
Implements abstract org. |
| protected Mac | createMAC(SymmetricKey key, final DES.
Implements abstract org. |
| MACOperatorFactory | back to summary |
|---|---|
| public MACOperatorFactory() | |
| calculateMACSize | back to summary |
|---|---|
| protected int calculateMACSize(DES. Implements abstract org.
| |
| createMAC | back to summary |
|---|---|
| protected Mac createMAC(SymmetricKey key, final DES. Implements abstract org.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected BufferedBlockCipher | createCipher(boolean forEncryption, SymmetricKey key, DES.
Implements abstract org. |
| OperatorFactory | back to summary |
|---|---|
| public OperatorFactory() | |
| createCipher | back to summary |
|---|---|
| protected BufferedBlockCipher createCipher(boolean forEncryption, SymmetricKey key, DES. Implements abstract org.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | getIV()
Implements org. |
| public DES. | withIV(byte[]
the IV to use. iv)Implements org. |
| public DES. | withIV(SecureRandom
the SecureRandom to use as the source of IV data. random)Implements org. |
| 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, byte[] iv) | |
| getIV | back to summary |
|---|---|
| public byte[] getIV() Implements org. Doc from org. Return the initialization vector associated with this parameter set.
| |
| withIV | back to summary |
|---|---|
| public DES. Implements org. Doc from org. Create a new parameter set with a different IV.
| |
| withIV | back to summary |
|---|---|
| public DES. Implements org. Doc from org. Create a new parameter set with a different IV based on the output of the passed in random.
| |