Package com.netscape.certsrv.dbs.keydb
Class KeyState
java.lang.Object
com.netscape.certsrv.dbs.keydb.KeyState
- All Implemented Interfaces:
Serializable
A class represents key state. This object is to
encapsulate the life cycle of a key.
- Version:
- $Revision$, $Date$
- See Also:
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks if the given object equals to this object.int
hashCode()
Returns the hash code.static KeyState
toKeyState
(String state) Converts a string into a key state object.toString()
Return the string-representation of this object.
-
Field Details
-
ANY
Request state. -
VALID
-
INVALID
-
-
Method Details
-
equals
Checks if the given object equals to this object. -
hashCode
public int hashCode()Returns the hash code. -
toString
Return the string-representation of this object. -
toKeyState
Converts a string into a key state object.- Parameters:
state
- state in string-representation- Returns:
- key state object
-