|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--xjava.security.KeyGenerator
|
+--cryptix.provider.key.RawKeyGenerator
|
+--cryptix.provider.key.RijndaelKeyGenerator
A variable-length key generator for Rijndael.
The possible values are 128, 192 and 256 bits (16, 24 and 32 bytes).
| Constructor Summary | |
|---|---|
RijndaelKeyGenerator()
|
|
| Method Summary | |
|---|---|
boolean |
isValidKeyLength(int length)
Returns true iff length is a valid key length (in bytes) for this algorithm. |
| Methods inherited from class cryptix.provider.key.RawKeyGenerator |
|---|
engineGenerateKey, generateKey, generateKey, getDefaultKeyLength, getMaximumKeyLength, getMinimumKeyLength, initialize, initialize, isWeak, isWeakAllowed, setWeakAllowed |
| Methods inherited from class xjava.security.KeyGenerator |
|---|
clone, engineGetParameter, engineSetParameter, getAlgorithm, getAlgorithms, getAlgorithms, getInstance, getInstance, getParameter, setParameter, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public RijndaelKeyGenerator()
| Method Detail |
public 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
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||