|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--is.logi.crypto.Crypto | +--is.logi.crypto.protocols.EncryptedKeyEx | +--is.logi.crypto.protocols.EncryptedKeyExClient
Exchange keys by sending an encrypted key from this class to the corresponding EncryptedKeyExServer.
EncryptedKeyExServer
Fields inherited from class is.logi.crypto.Crypto |
BIT,
cdsPath,
keySource,
NIBBLE,
primeCertainty,
random |
Constructor Summary | |
EncryptedKeyExClient(CipherKey key,
Key sessionKey)
Create a new EncryptedKeyExClient object. |
Method Summary | |
byte[] |
message(byte[] received)
Get the next message in the protocol. |
Methods inherited from class is.logi.crypto.protocols.EncryptedKeyEx |
completed,
sessionKey |
Methods inherited from class is.logi.crypto.Crypto |
binString,
binString,
equal,
equalRelaxed,
equalSub,
fromHexNibble,
fromHexString,
fromString,
fromString,
hexString,
hexString,
hexString,
hexString,
makeClass,
makeInt,
makeLong,
makeSessionKey,
pastSpace,
pickBits,
pickBits,
readInt,
writeBytes,
writeBytes,
writeInt |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public EncryptedKeyExClient(CipherKey key, Key sessionKey)
key
to
encrypt sessionKey
and then sneds it to the server.Method Detail |
public byte[] message(byte[] received) throws ProtocolException
received
is the last message received form the server
and has not yet been sent to the client.
The returned value is the next message to send to the server or null if no more messages need to be sent and the protocol is terminated.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |