java.lang.Object
com.ciphercore.Client
com.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.
| 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 |
DmcaClient
public DmcaClient(java.lang.String childClassName)
DmcaClient
public DmcaClient(java.lang.String childClassName,
java.lang.String hostName,
int port)
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.