|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.openuat.authentication.CandidateKeyProtocol.CandidateKey
public static class CandidateKeyProtocol.CandidateKey
This class represents a complete candidate key, with both the private part (key) and a hash for comparing it with a remote host's candidate (hash).
| Field Summary | |
|---|---|
byte[] |
hash
A hash of the key, which may be sent to the other host (or group) for comparison. |
byte[] |
key
The key itself. |
int[][] |
localIndices
The round/candidate number tuples that are used locally to refer to all parts of the key. |
int |
numParts
The number of parts that have been used to create the key. |
int[][] |
remoteIndices
The round/candidate number tuples that are used remotely to refer to all parts of the key. |
| Constructor Summary | |
|---|---|
CandidateKeyProtocol.CandidateKey()
|
|
| Method Summary | |
|---|---|
static java.lang.String |
indexTuplesToString(int[][] indices)
This is a small helper function to encode a list of index tuples into a string. |
static int[][] |
stringToIndexTuples(java.lang.String coded)
This is a small helper function to decode a list of index tuples from a string that has previously been generated by indexTupleToString. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public int numParts
public byte[] key
public byte[] hash
public int[][] localIndices
public int[][] remoteIndices
| Constructor Detail |
|---|
public CandidateKeyProtocol.CandidateKey()
| Method Detail |
|---|
public static java.lang.String indexTuplesToString(int[][] indices)
public static int[][] stringToIndexTuples(java.lang.String coded)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||