is.logi.crypto.protocols
Class DHEKEKeyExClient
java.lang.Object
|
+--is.logi.crypto.Crypto
|
+--is.logi.crypto.protocols.DHEKEKeyEx
|
+--is.logi.crypto.protocols.DHEKEKeyExClient
- public class DHEKEKeyExClient
- extends is.logi.crypto.protocols.DHEKEKeyEx
- implements InterProtocolClient, InterKeyExClient, InterAuthClient
Diffie-Hellman EKE key exchange and password verification client.
It expects to talk to a DHEKEKeyExServer object.
The protocol exchanges keys with the remot party and then each party
proves that they know the same secret key without giving it away to
anyone who does not allready know it.
The patent for this protocol is held by
Lucent. You must pay them a steep
licensing fee if you intend to use it in the USA or Canada.
- Author:
- Logi Ragnarsson
(logir@hi.is)
- See Also:
DHEKEKeyExServer
Method Summary |
byte[] |
message(byte[] received)
If the key has not been decided upon and received is the
last message received from the other end,
message(received) returns the message to send the other
end as the next step in the protocol. |
Methods inherited from class is.logi.crypto.protocols.DHEKEKeyEx |
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 |
DHEKEKeyExClient
public DHEKEKeyExClient(int n,
java.lang.String keyType,
CipherKey secretKey)
message
public byte[] message(byte[] received)
throws ProtocolException
- If the key has not been decided upon and
received
is the
last message received from the other end,
message(received)
returns the message to send the other
end as the next step in the protocol.
- Specified by:
- message in interface InterProtocolClient
- Throws:
- ProtocolException - if a malformed message is received.
- ValidationException - if validation fails.
Copyright 1997-1999 Logi Ragnarsson