All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class is.hi.logir.cryptonite.SendHashKeyExServer

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

public class SendHashKeyExServer
extends SendHashKeyEx
implements NoninterKeyExServer
This class implements server 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:
SendHashKeyExClient

Constructor Index

 o SendHashKeyExServer()
Create a new SendHashKeyExServer.

Method Index

 o message(byte[])
Receive the message from the client.

Constructors

 o SendHashKeyExServer
 public SendHashKeyExServer()
Create a new SendHashKeyExServer.

Methods

 o message
 public byte[] message(byte received[]) throws ProtocolException
Receive the message from the client.

Throws: ProtocolException
if a malformed message is received or the key specified in the message is not found.

All Packages  Class Hierarchy  This Package  Previous  Next  Index