|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Key
The Key
interface is the base interface for all keys.
A Key
object sets its initialized state to true only when all the associated
Key
object parameters have been set at least once since the time the initialized state was set to false.
A newly created Key
object sets its initialized state to false. Invocation of the
clearKey()
method sets the initialized state to false. A key with transient key data
sets its initialized state to false on the associated clear events.
Method Summary | |
---|---|
void |
clearKey()
Clears the key and sets its initialized state to false. |
short |
getSize()
Returns the key size in number of bits. |
byte |
getType()
Returns the key interface type. |
boolean |
isInitialized()
Reports the initialized state of the key. |
Method Detail |
---|
void clearKey()
short getSize()
byte getType()
KeyBuilder.TYPE_DES_TRANSIENT_RESET
KeyBuilder
boolean isInitialized()
A Key
object sets its initialized state to true only when all the associated
Key
object parameters have been set at least once since the time the initialized state was set to false.
A newly created Key
object sets its initialized state to false. Invocation of the
clearKey()
method sets the initialized state to false. A key with transient key data
sets its initialized state to false on the associated clear events.
true
if the key has been initialized
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |