public class KeyedBlockCipherSpec extends BufferedBlockCipherSpec
FORMAT
Constructor and Description |
---|
KeyedBlockCipherSpec(String algName,
String cipherMode,
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, toString
public KeyedBlockCipherSpec(String algName, String cipherMode, String cipherPadding, int keyBitLength)
algName
- Cipher algorithm name.cipherMode
- Cipher mode.cipherPadding
- Cipher padding scheme algorithm.keyBitLength
- Key length in bits.Copyright © 2003-2024 Virginia Tech. All Rights Reserved.