All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class is.hi.logir.cryptonite.SendHashKeyExClient

java.lang.Object
   |
   +----is.hi.logir.cryptonite.Cryptonite
           |
           +----is.hi.logir.cryptonite.SendHashKeyEx
                   |
                   +----is.hi.logir.cryptonite.SendHashKeyExClient

public class SendHashKeyExClient
extends SendHashKeyEx
implements NoninterKeyExClient
This class implements the client portion of the key-exchange protocol whereby the client sends the server the hash of the key that should be used for decryption. The server is assumed to have this key in its default KeySource.

Author:
Logi Ragnarsson (logir@hi.is)
See Also:

Constructor Index

 o SendHashKeyExClient(Key)
Create a new SendHashKeyEx with the Key k.

Method Index

 o message(byte[])
Return the message to send to the server.

Constructors

 o SendHashKeyExClient
 public SendHashKeyExClient(Key k)
Create a new SendHashKeyEx with the Key k.

Methods

 o message
 public byte[] message(byte received[]) throws ProtocolException
Return the message to send to the server.

Throws: ProtocolException
if a message is received

All Packages  Class Hierarchy  This Package  Previous  Next  Index