All Packages Class Hierarchy This Package Previous Next Index
Class is.hi.logir.cryptonite.CipherStreamClient
java.lang.Object
|
+----is.hi.logir.cryptonite.Cryptonite
|
+----is.hi.logir.cryptonite.CipherStream
|
+----is.hi.logir.cryptonite.CipherStreamClient
- public class CipherStreamClient
- extends CipherStream
This class can be used to apply an interactive key exchange protocol to a
pair f streams and then encrypt all data going through them with the session
key exchanged. This class expects to talk to an equivalent client class.
- Author:
- Logi Ragnarsson
(logir@hi.is)
- See Also:
- CipherStreamServer, InterKeyExServer
-
CipherStreamClient(InputStream, OutputStream, InterKeyExClient, EncryptMode, DecryptMode)
- Create a new object which uses
kex to exchange keys with
a remote server and then encrypt and decrypt to
encrypt and decrypt the data to/from in and out.
CipherStreamClient
public CipherStreamClient(InputStream in,
OutputStream out,
InterKeyExClient kex,
EncryptMode encrypt,
DecryptMode decrypt) throws ProtocolException, IOException
- Create a new object which uses
kex to exchange keys with
a remote server and then encrypt and decrypt to
encrypt and decrypt the data to/from in and out.
- Throws: ProtocolException
- if there is a problem exchanging keys.
- Throws: IOException
- if there is a problem with the underlying streams.
All Packages Class Hierarchy This Package Previous Next Index