|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.tranche.server.HostSignatureNonceWrapper
public class HostSignatureNonceWrapper
Helps organize signatures and nonces for certain propagated requests.
| Field Summary | |
|---|---|
java.lang.String |
host
|
byte[] |
nonce
|
Signature |
sig
|
| Constructor Summary | |
|---|---|
HostSignatureNonceWrapper(java.lang.String host,
Signature sig,
byte[] nonce)
Helps organize signatures and nonces for certain propagated requests. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Can test for equality for any of following: |
int |
hashCode()
|
boolean |
isHost(java.lang.String otherHost)
Tests that other host is the same host for this wrapper. |
boolean |
isHostSignatureNonceWrapper(HostSignatureNonceWrapper otherWrapper)
Tests that other wrapper has same host, signature and nonce. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String host
public final Signature sig
public final byte[] nonce
| Constructor Detail |
|---|
public HostSignatureNonceWrapper(java.lang.String host,
Signature sig,
byte[] nonce)
Helps organize signatures and nonces for certain propagated requests.
host - sig - nonce - | Method Detail |
|---|
public int hashCode()
hashCode in class java.lang.Objectpublic boolean isHost(java.lang.String otherHost)
Tests that other host is the same host for this wrapper.
Note that equals method for class calls this method if parameter is of class String. See equals JavaDoc for this class for more information.
otherHost -
public boolean isHostSignatureNonceWrapper(HostSignatureNonceWrapper otherWrapper)
Tests that other wrapper has same host, signature and nonce.
Note that equals method for class calls this method if parameter is of class HostSignatureNonceWrapper. See equals JavaDoc for this class for more information.
otherWrapper -
public boolean equals(java.lang.Object o)
Can test for equality for any of following:
equals in class java.lang.Objecto -
isHost(java.lang.String),
isHostSignatureNonceWrapper(org.tranche.server.HostSignatureNonceWrapper)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||