|
|||||||||
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.EncryptedKeyExServer
Receive an encrypted key from the correstponding EncryptedKeyExClient
EncryptedKeyExClient
Fields inherited from class is.logi.crypto.Crypto |
BIT,
cdsPath,
keySource,
NIBBLE,
primeCertainty,
random |
Constructor Summary | |
EncryptedKeyExServer(CipherKey key)
Creates a new EncryptedKeyExchangeServer 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 EncryptedKeyExServer(CipherKey key)
key
to decrypt the session key sent to it by te client.Method Detail |
public byte[] message(byte[] received) throws ProtocolException
received
is the last message received form the client
and has not yet been sent to the client.
The returned value is the next message to send to the client 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 |