anon.crypto.tinytls.ciphersuites
Class DHE_RSA_WITH_DES_CBC_SHA

java.lang.Object
  extended by anon.crypto.tinytls.ciphersuites.CipherSuite
      extended by anon.crypto.tinytls.ciphersuites.DHE_RSA_WITH_DES_CBC_SHA

public class DHE_RSA_WITH_DES_CBC_SHA
extends CipherSuite

Author:
stefan

Field Summary
 
Fields inherited from class anon.crypto.tinytls.ciphersuites.CipherSuite
m_ciphersuitename, m_clientmacsecret, m_clientwriteIV, m_clientwritekey, m_decryptcipher, m_encryptcipher, m_readsequenznumber, m_servermacsecret, m_serverwriteIV, m_serverwritekey, m_writesequenznumber
 
Constructor Summary
DHE_RSA_WITH_DES_CBC_SHA()
          Constuctor
 
Method Summary
protected  void calculateKeys(byte[] keys, boolean forclient)
          calculate server and client write keys (see RFC2246 TLS Record Protocoll)
 
Methods inherited from class anon.crypto.tinytls.ciphersuites.CipherSuite
calculateClientKeyExchange, decode, encode, getCipherSuiteCode, getKeyExchangeAlgorithm, processClientKeyExchange, processServerFinished, setKeyExchangeAlgorithm, setServerCertificate, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DHE_RSA_WITH_DES_CBC_SHA

public DHE_RSA_WITH_DES_CBC_SHA()
                         throws TLSException
Constuctor

Throws:
java.lang.Exception
TLSException
Method Detail

calculateKeys

protected void calculateKeys(byte[] keys,
                             boolean forclient)
Description copied from class: CipherSuite
calculate server and client write keys (see RFC2246 TLS Record Protocoll)

Specified by:
calculateKeys in class CipherSuite
Parameters:
keys - array of bytes(see RFC how it is calculated)