|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ostore.mac.PartyInfo
Party information for DHMessage and MacStage to keep track
of what stage of STS is established between this computer
and another party
This is tailored specifically for internal HMACDHHandler
usage
Field Summary | |
---|---|
DHPrivateKey |
dhpri
My private Diffie-Hellman key |
DHPublicKey |
dhpub
My public Diffie-Hellman key |
DHPublicKey |
dhpubOther
The other party's public Diffie-Hellman key |
static int |
ESTABLISHED
A connection has been established and secret ready for use. |
SecretKey |
secret
Our little secret (generated from the DH handshake, acts as seed for other shared secrets, in this case the HMAC) |
int |
sessionRetries
A counter for number of restarts during a handshake session. |
QSPublicKey |
sigpub
Their public signature key |
int |
state
The my current state during the handshake |
Object |
timerToken
Timer token for use with session timeouts. |
static int |
UNINIT
Uninitiated State. |
Vector |
usedKeys
Keeps track of DH keys that have been used with this DH key pair as a protection against replay attacks. |
static int |
WAITFORFINAL
Waiting for DHMessage.FINALIZE from other party |
static int |
WAITFORRESPONSE
Waiting for DHMessage.RESPOND from other party |
Method Summary | |
---|---|
void |
print()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static int UNINIT
public static int WAITFORRESPONSE
public static int WAITFORFINAL
public static int ESTABLISHED
public DHPublicKey dhpub
public DHPrivateKey dhpri
public SecretKey secret
public DHPublicKey dhpubOther
public QSPublicKey sigpub
public int state
public int sessionRetries
public Object timerToken
public Vector usedKeys
Method Detail |
public String toString()
toString
in class Object
public void print()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |