org.logi.crypto.io
Class CipherStream

java.lang.Object
  |
  +--org.logi.crypto.Crypto
        |
        +--org.logi.crypto.io.CipherStream
Direct Known Subclasses:
CipherStreamClient, CipherStreamServer

public class CipherStream
extends Crypto

Parent of CipherStreamClient and CipherStreamServer.

Author:
Logi Ragnarsson (logir@logi.org)
See Also:
CipherStreamServer, CipherStreamClient

Fields inherited from class org.logi.crypto.Crypto
BIT, cdsPath, EMPTY_ARRAY, FOUR, keySource, NIBBLE, ONE, primeCertainty, random, TWO, ZERO
 
Constructor Summary
CipherStream()
           
 
Method Summary
 CipherKey getDecryptKey()
          Get the key used for decryption.
 CipherKey getEncryptKey()
          Get the key used for encryption.
 DecryptStream getInputStream()
          Get the encrypted input-stream.
 EncryptStream getOutputStream()
          Get the encrypted output-stream.
 
Methods inherited from class org.logi.crypto.Crypto
binString, binString, equal, equalRelaxed, equalSub, fromHexNibble, fromHexString, fromString, fromString, hexString, hexString, hexString, hexString, hexString, initRandom, initRandom, makeClass, makeInt, makeLong, makeSessionKey, pastSpace, pickBits, pickBits, readBlock, readInt, writeBytes, writeBytes, writeInt
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CipherStream

public CipherStream()
Method Detail

getInputStream

public DecryptStream getInputStream()
Get the encrypted input-stream.

getOutputStream

public EncryptStream getOutputStream()
Get the encrypted output-stream.

getEncryptKey

public CipherKey getEncryptKey()
Get the key used for encryption.

getDecryptKey

public CipherKey getDecryptKey()
Get the key used for decryption.


Copyright 1997-2000 Logi Ragnarsson