| Constructor and Description |
|---|
DefaultToken(java.lang.String key,
long keyCreationTime,
java.lang.String extendedInformation) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getExtendedInformation()
Obtains the extended information associated within the token, which was presented
when the token was first created.
|
java.lang.String |
getKey()
Obtains the randomised, secure key assigned to this token.
|
long |
getKeyCreationTime()
The time the token key was initially created is available from this method.
|
int |
hashCode() |
java.lang.String |
toString() |
public DefaultToken(java.lang.String key,
long keyCreationTime,
java.lang.String extendedInformation)
public java.lang.String getKey()
TokenTokenService will always return a Token that is equal
to the original Token issued for that key.public long getKeyCreationTime()
TokenTokenService to replace the original token.getKeyCreationTime in interface TokenDate.getTime().public java.lang.String getExtendedInformation()
TokengetExtendedInformation in interface Tokenpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object