org.logi.crypto.protocols
Interface InterKeyExClient

All Superinterfaces:
InterProtocolClient
All Known Subinterfaces:
NoninterKeyExClient
All Known Implementing Classes:
DHEKEKeyExClient, DHKeyExClient

public interface InterKeyExClient
extends InterProtocolClient

This interface is implemented by classes for the client portion of an interactive key-exchange protocol.

In this context, the party which initiates the protocol is considered the client. Interactive means that the client may need to recieve information from the server, so the protocol can be used off-line.

An example of an interactive key-exchange protocol is the Diffie-Hellman protocol where each party must send the value g^a to the other before they can both calculate the key g^{ab}.

Author:
Logi Ragnarsson (logir@logi.org)
See Also:
InterKeyExServer

Method Summary
 Key sessionKey()
          Returns the key if it has been decided upon, or null otherwise.
 
Methods inherited from interface org.logi.crypto.protocols.InterProtocolClient
completed, maxMessageSize, message
 

Method Detail

sessionKey

public Key sessionKey()
Returns the key if it has been decided upon, or null otherwise.


Copyright (c) 1997-2001 Logi Ragnarsson - Distributed under the GPL