|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.logi.crypto.Crypto
org.logi.crypto.protocols.EncryptedKeyEx
Ancestor of EncryptedKeyEx classes.
Field Summary | |
protected CipherKey |
key
|
protected boolean |
keyDecided
|
protected Key |
sessionKey
|
protected SignatureKey |
signKey
|
Fields inherited from class org.logi.crypto.Crypto |
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO |
Constructor Summary | |
protected |
EncryptedKeyEx(CipherKey key,
SignatureKey signKey,
Key sessionKey)
Called from sub-classes. |
Method Summary | |
boolean |
completed()
Returns true iff this end of the protocol i completed. |
int |
maxMessageSize()
Returns the maximum expected size of a message for this protocol. |
Key |
sessionKey()
Returns the key if it has been decided upon, or null otherwise. |
Methods inherited from class org.logi.crypto.Crypto |
binString, binString, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, readBlock, readInt, writeBytes, writeBytes, writeInt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected boolean keyDecided
protected CipherKey key
protected SignatureKey signKey
protected Key sessionKey
Constructor Detail |
protected EncryptedKeyEx(CipherKey key, SignatureKey signKey, Key sessionKey)
Method Detail |
public Key sessionKey()
null
otherwise.
public boolean completed()
public int maxMessageSize()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |