|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ibm.atp.auth.ByteSequence
com.ibm.atp.auth.Challenge
The Challenge class is random byte sequence which is a challenge for authentication.
| Field Summary | |
static int |
LENGTH
The length of byte sequence. |
(package private) static long |
serialVersionUID
serial version UID |
| Fields inherited from class com.ibm.atp.auth.ByteSequence |
|
| Constructor Summary | |
Challenge()
Constructor creates a secure random generator, and generate byte sequence as a challenge for authentication. |
|
Challenge(Challenge challenge)
Constructor creates byte sequence as a copy of given byte sequence as a challenge for authentication. |
|
Challenge(java.lang.String str)
Constructor creates byte sequence as a copy of given hexadecimal string of encoded bytes as a challenge for authentication. |
|
| Method Summary | |
byte[] |
challenge()
Returns current byte sequence as a challenge for authentication. |
java.lang.String |
toString()
Returns a hexadecimal string representation of the byte sequence. |
| Methods inherited from class com.ibm.atp.auth.ByteSequence |
append, append, append, append, clone, copy, copy, copy, equals, equals, equals, length, sequence |
| Methods inherited from class java.lang.Object |
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
static final long serialVersionUID
public static final int LENGTH
| Constructor Detail |
public Challenge()
public Challenge(Challenge challenge)
challenge - a byte sequence to be copied as a challengepublic Challenge(java.lang.String str)
str - a string of encoded byte sequence to be copied as a challenge| Method Detail |
public final byte[] challenge()
public java.lang.String toString()
toString in class ByteSequenceByteSequence.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||