All Packages Class Hierarchy This Package Previous Next Index
java.lang.Object | +----is.logi.crypto.Crypto | +----is.logi.crypto.protocols.DHKeyEx | +----is.logi.crypto.protocols.DHKeyExClient
public DHKeyExClient(DHKey pri, String keyType) throws KeyException
pri
.
public DHKeyExClient(int n, String keyType)
n
bit modulus and the named key type.
There are pre-computed public modulus and gnerator pairs for
these values of n
: 256, 512, 1024, 2048. Using
one of these values saves you from a rather long wait.
public byte[] message(byte received[]) throws ProtocolException
received
is the last message received form the server
and has not yet been sent to the client.
The returned value is the next message to send to the server or null if no more messages need to be sent and the protocol is terminated.
All Packages Class Hierarchy This Package Previous Next Index