public class KeyedBlockCipherSpec extends BufferedBlockCipherSpec
| Modifier and Type | Field and Description |
|---|---|
private int |
keyLength
Key length in bits.
|
FORMAT| Constructor and Description |
|---|
KeyedBlockCipherSpec(java.lang.String algName,
java.lang.String cipherMode,
java.lang.String cipherPadding,
int keyBitLength)
Creates a new instance from the given cipher specifications.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getKeyLength()
Gets the cipher key length in bits.
|
getAlgorithm, getBlockCipherSpec, getMode, getPadding, newInstance, parse, toStringpublic KeyedBlockCipherSpec(java.lang.String algName,
java.lang.String cipherMode,
java.lang.String cipherPadding,
int keyBitLength)
algName - Cipher algorithm name.cipherMode - Cipher mode.cipherPadding - Cipher padding scheme algorithm.keyBitLength - Key length in bits.