All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class is.logi.crypto.protocols.DHEKEKeyExClient

java.lang.Object
   |
   +----is.logi.crypto.Crypto
           |
           +----is.logi.crypto.protocols.DHEKEKeyEx
                   |
                   +----is.logi.crypto.protocols.DHEKEKeyExClient

public class DHEKEKeyExClient
extends DHEKEKeyEx
implements InterKeyExClient
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

Constructor Index

 o DHEKEKeyExClient(int, String, CipherKey)

Method Index

 o message(byte[])
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.

Constructors

 o DHEKEKeyExClient
 public DHEKEKeyExClient(int n,
                         String keyType,
                         CipherKey secretKey)

Methods

 o 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.

Throws: ProtocolException
if a malformed message is received.
Throws: ValidationException
if balidation fails.

All Packages  Class Hierarchy  This Package  Previous  Next  Index