com.aelitis.azureus.core.networkmanager.impl
Class TransportCipher

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.impl.TransportCipher

public class TransportCipher
extends java.lang.Object


Constructor Summary
TransportCipher(java.lang.String algorithm, int mode, javax.crypto.spec.SecretKeySpec key_spec, java.security.spec.AlgorithmParameterSpec params)
           
 
Method Summary
 java.lang.String getName()
           
protected  byte[] update(byte[] data)
           
protected  byte[] update(byte[] data, int offset, int length)
           
protected  void update(java.nio.ByteBuffer source_buffer, java.nio.ByteBuffer target_buffer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransportCipher

public TransportCipher(java.lang.String algorithm,
                       int mode,
                       javax.crypto.spec.SecretKeySpec key_spec,
                       java.security.spec.AlgorithmParameterSpec params)
                throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

update

protected byte[] update(byte[] data)

update

protected byte[] update(byte[] data,
                        int offset,
                        int length)

update

protected void update(java.nio.ByteBuffer source_buffer,
                      java.nio.ByteBuffer target_buffer)
               throws java.io.IOException
Throws:
java.io.IOException

getName

public java.lang.String getName()