| com.sun.portal.ksecurity.Key
All known Subclasses: com.sun.portal.ksecurity.SecretKey,
Key | abstract public interface Key (Code) | | Implements an abstract class that represents all keys (both
symmetric and asymmetric).
|
Method Summary | |
void | clearKey() Clears the key and sets it to an uninitialized state. | short | getSize() Returns the key size in number of bits. | byte | getType() Returns the key type. | boolean | isInitialized() Returns true if and only if a key has been initialized. | String | toString() Converts a key object to its human readable string representation. |
clearKey | void clearKey()(Code) | | Clears the key and sets it to an uninitialized state.
|
getSize | short getSize()(Code) | | Returns the key size in number of bits.
the key size in number of bits |
getType | byte getType()(Code) | | Returns the key type.
the key type |
isInitialized | boolean isInitialized()(Code) | | Returns true if and only if a key has been initialized. A key is not
initialized until all associated set methods have been called at
least once since the last time the key was in an uninitialized state.
true if the key has been initialized, false otherwise |
toString | String toString()(Code) | | Converts a key object to its human readable string representation.
a human readable string representation of the key |
|
|