public class CamelliaParameters extends Abstract128BitBlockCipherParameters<CamelliaParameters>
| Modifier and Type | Field and Description |
|---|---|
static String |
ALGORITHM_CAMELLIA
Algorithm for Camellia encryption.
|
DEFAULT_BLOCK_SIZEBLOCK_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| Constructor and Description |
|---|
CamelliaParameters()
Initializes the CamelliaParameters.
|
CamelliaParameters(TextEncoder textEncoder)
Initializes the CamelliaParameters with a
TextEncoder which is used to decode the key
when set as a string. |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getDefaultAlgorithm()
Returns the defaultAlgorithm.
|
getDefaultBlockSizecreateParameterSpec, getBlockMode, getBlockSize, getGcmTagLen, getPadding, getParameterSpec, getParameterSpecSize, getTransformation, setBlockMode, setBlockSize, setGcmTagLen, setPaddinggenerateKeyData, getDecryptionKey, getKey, loadKey, setKey, setKey, setKey, setKeyLoadergenerateParameterSpecData, getAlgorithm, 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 String ALGORITHM_CAMELLIA
public CamelliaParameters()
public CamelliaParameters(TextEncoder textEncoder)
TextEncoder which is used to decode the key
when set as a string. The default transformation is 'Camellia/CBC/PKCS5Padding' with a block
size of 16 bytes and key size of 128 bits.textEncoder - the TextEncoderprotected String getDefaultAlgorithm()
getDefaultAlgorithm in class AbstractAlgorithmParameters<CamelliaParameters>