|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--xjava.security.KeyGenerator | +--cryptix.provider.key.RawKeyGenerator | +--cryptix.provider.key.SAFERKeyGenerator
A key generator for SAFER.
SAFER keys have a length of either 64 or 128 bits. The default is 128 bits.
Copyright © 1997
Systemics Ltd on behalf of the
Cryptix Development Team.
All rights reserved.
$Revision: 1.1.1.1 $
Constructor Summary | |
SAFERKeyGenerator()
|
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 |
|
Constructor Detail |
public SAFERKeyGenerator()
Method Detail |
public boolean isValidKeyLength(int length)
RawKeyGenerator
The 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 class RawKeyGenerator
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |