public class RijndaelKeyGenerator extends RawKeyGenerator
The possible values are 128, 192 and 256 bits (16, 24 and 32 bytes).
| Constructor and Description |
|---|
RijndaelKeyGenerator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isValidKeyLength(int length)
Returns true iff length is a valid key length (in bytes)
for this algorithm.
|
engineGenerateKey, generateKey, generateKey, getDefaultKeyLength, getMaximumKeyLength, getMinimumKeyLength, initialize, initialize, isWeak, isWeakAllowed, setWeakAllowedclone, engineGetParameter, engineSetParameter, getAlgorithm, getAlgorithms, getAlgorithms, getInstance, getInstance, getParameter, setParameter, toStringpublic boolean isValidKeyLength(int length)
RawKeyGeneratorThe default implementation returns true if length is between the minimum and maximum key lengths. Some algorithms will override this method to specify a more restricted set of values.
isValidKeyLength in interface ExtendedKeyGeneratorisValidKeyLength in class RawKeyGenerator