T - the concrete type of this object.public abstract class Abstract128BitBlockCipherParameters<T extends Abstract128BitBlockCipherParameters<T>> extends AbstractBlockCipherParameters<T>
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_BLOCK_SIZE
Default block cipher size in bytes for 128-bit block size ciphers.
|
BLOCK_MODE_CBC, BLOCK_MODE_CCM, BLOCK_MODE_CFB, BLOCK_MODE_CTR, BLOCK_MODE_CTS, BLOCK_MODE_ECB, BLOCK_MODE_GCM, BLOCK_MODE_OFB, BLOCK_MODE_PCBC, DEFAULT_PARAM_SPEC_SIZE_GCM, GCM_AUTH_TAG_LEN_104, GCM_AUTH_TAG_LEN_112, GCM_AUTH_TAG_LEN_120, GCM_AUTH_TAG_LEN_128, GCM_AUTH_TAG_LEN_96, PADDING_NONE, PADDING_PKCS5, PADDING_PKCS7KEY_SIZE_128, KEY_SIZE_192, KEY_SIZE_256, MAC_ALGORITHM_HMAC_MD5, MAC_ALGORITHM_HMAC_SHA1, MAC_ALGORITHM_HMAC_SHA224, MAC_ALGORITHM_HMAC_SHA256, MAC_ALGORITHM_HMAC_SHA3_224, MAC_ALGORITHM_HMAC_SHA3_256, MAC_ALGORITHM_HMAC_SHA3_384, MAC_ALGORITHM_HMAC_SHA3_512, MAC_ALGORITHM_HMAC_SHA384, MAC_ALGORITHM_HMAC_SHA512, MAC_ALGORITHM_HMAC_SHA512_224, MAC_ALGORITHM_HMAC_SHA512_256, MAC_KEY_SIZE_128, MAC_KEY_SIZE_160| Modifier | Constructor and Description |
|---|---|
protected |
Abstract128BitBlockCipherParameters()
Initializes the Abstract128BitBlockCipherParameters.
|
protected |
Abstract128BitBlockCipherParameters(TextEncoder textEncoder)
Initializes the Abstract128BitBlockCipherParameters with a
TextEncoder which is used
to decode the key when set as a string. |
| Modifier and Type | Method and Description |
|---|---|
int |
getDefaultBlockSize()
Returns the defaultBlockSize in bytes.
|
createParameterSpec, getBlockMode, getBlockSize, getGcmTagLen, getPadding, getParameterSpec, getParameterSpecSize, getTransformation, setBlockMode, setBlockSize, setGcmTagLen, setPaddinggenerateKeyData, getDecryptionKey, getKey, loadKey, setKey, setKey, setKey, setKeyLoadergenerateParameterSpecData, getAlgorithm, getDefaultAlgorithm, getDefaultKeySize, getEncryptionKey, getKeySize, getMacAlgorithm, getMacKey, getMacKeySize, getProvider, getProviderName, hasDecryptionKey, hasEncryptionKey, parseAndVerifySalt, setAlgorithm, setDecryptionKey, setDecryptionKey, setDecryptionKey, setDecryptionKeyLoader, setEncryptionKey, setEncryptionKey, setEncryptionKey, setEncryptionKeyLoader, setKeySize, setMacAlgorithm, setMacKey, setMacKey, setMacKey, setMacKeyLoader, setMacKeySize, setProvider, setProviderName, setSaltGenerator, setSaltMatcherclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgenerateParameterSpecData, getAlgorithm, getEncryptionKey, getKeySize, getMacAlgorithm, getMacKey, getMacKeySize, getProvider, getProviderName, setKeySize, setMacAlgorithm, setMacKey, setMacKey, setMacKey, setMacKeyLoader, setMacKeySize, setProvider, setProviderName, setSaltGenerator, setSaltMatcherpublic static final int DEFAULT_BLOCK_SIZE
protected Abstract128BitBlockCipherParameters()
protected Abstract128BitBlockCipherParameters(TextEncoder textEncoder)
TextEncoder which is used
to decode the key when set as a string.textEncoder - the TextEncoderpublic int getDefaultBlockSize()
getDefaultBlockSize in class AbstractBlockCipherParameters<T extends Abstract128BitBlockCipherParameters<T>>