public class SelfEncryptedCookie
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
SelfEncryptedCookie(java.lang.String cookie,
long createTime) |
Modifier and Type | Method and Description |
---|---|
static SelfEncryptedCookie |
decrypt(java.lang.String cookie,
byte[] encData) |
static byte[] |
encrypt(java.lang.String cookie,
long createTime) |
java.lang.String |
getCookie() |
long |
getCreateTime() |
java.lang.String |
toString() |
public SelfEncryptedCookie(java.lang.String cookie, long createTime)
public java.lang.String getCookie()
public long getCreateTime()
public static byte[] encrypt(java.lang.String cookie, long createTime)
public static SelfEncryptedCookie decrypt(java.lang.String cookie, byte[] encData)
public java.lang.String toString()
toString
in class java.lang.Object