org.iids.aos.kernel
Class Cookie
java.lang.Object
org.iids.aos.kernel.Cookie
public class Cookie
- extends java.lang.Object
As needed for a caller to authenticate itself to the kernel
- Author:
- arno
|
Field Summary |
protected byte[] |
_fortune
|
protected static java.lang.String |
ALGO
|
protected static int |
LENGTH
|
|
Constructor Summary |
Cookie(byte[] fortune)
Creates a new instance of Cookie |
Cookie(java.lang.String fortune)
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ALGO
protected static final java.lang.String ALGO
- See Also:
- Constant Field Values
LENGTH
protected static final int LENGTH
- See Also:
- Constant Field Values
_fortune
protected byte[] _fortune
Cookie
public Cookie(byte[] fortune)
- Creates a new instance of Cookie
Cookie
public Cookie(java.lang.String fortune)
generate
public static Cookie generate()
throws RandomSourceException
- Throws:
RandomSourceException
size
public static int size()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
getBytes
public byte[] getBytes()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
marshall
public java.lang.String marshall()
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.