Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.ciphermod
Class DmcaClient  view DmcaClient download DmcaClient.java

java.lang.Object
  extended bycom.ciphercore.Client
      extended bycom.ciphermod.DmcaClient

public class DmcaClient
extends com.ciphercore.Client

DmcaClient is an extension for com.ciphercore.Client. It wraps the encrypted streams in CopyrightedStreams. As a result, it is a violation of the DMCA to break the encryption.


Field Summary
 
Fields inherited from class com.ciphercore.Client
DEFAULT_HOST_NAME
 
Constructor Summary
DmcaClient(java.lang.String childClassName)
           
DmcaClient(java.lang.String childClassName, java.lang.String hostName, int port)
           
 
Method Summary
protected  void setBaseInputStream(java.io.InputStream baseIn)
          Override com.ciphercore.Client's method with a method that wraps the CipherInputStream in a CopyrightedInputStream.
protected  void setBaseOutputStream(java.io.OutputStream baseOut)
          Override com.ciphercore.Client's method with a method that wraps the CipherOutputStream in a CopyrightedOutputStream.
 
Methods inherited from class com.ciphercore.Client
close, connect, getAdvancedCfgLocation, getBaseInputStream, getBaseOutputStream, getBasicCfgLocation, getChildClassName, getCipherSelf, getDecryptCipher, getEncryptCipher, getHostName, getIv, getPassword, getPort, getProviderName, getPublicEncoded, getServerHash, getServerHashes, getServerHashesLocation, getSocket, getUserName, locateFiles, readAdvancedCfg, readBasicCfg, readServerHashes, sendPassword, setAdvancedCfgLocation, setBasicCfgLocation, setChildClassName, setCipherSelf, setHostName, setPassword, setPort, setServerHash, setServerHashes, setServerHashesLocation, setSocket, setUserName, verifyServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DmcaClient

public DmcaClient(java.lang.String childClassName)

DmcaClient

public DmcaClient(java.lang.String childClassName,
                  java.lang.String hostName,
                  int port)
Method Detail

setBaseInputStream

protected void setBaseInputStream(java.io.InputStream baseIn)
Override com.ciphercore.Client's method with a method that wraps the CipherInputStream in a CopyrightedInputStream.


setBaseOutputStream

protected void setBaseOutputStream(java.io.OutputStream baseOut)
Override com.ciphercore.Client's method with a method that wraps the CipherOutputStream in a CopyrightedOutputStream.