|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netscape.certsrv.dbs.keydb.KeyState
public final class KeyState
A class represents key state. This object is to encapsulate the life cycle of a key.
Field Summary | |
---|---|
static KeyState |
ANY
Request state. |
static KeyState |
INVALID
|
static KeyState |
VALID
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object other)
Checks if the given object equals to this object. |
int |
hashCode()
Returns the hash code. |
static KeyState |
toKeyState(java.lang.String state)
Converts a string into a key state object. |
java.lang.String |
toString()
Return the string-representation of this object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final KeyState ANY
public static final KeyState VALID
public static final KeyState INVALID
Method Detail |
---|
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
other
- object to be compared
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public static KeyState toKeyState(java.lang.String state)
state
- state in string-representation
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |