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

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

public class TransportCipher
extends Object


Constructor Summary
TransportCipher(String algorithm, int mode, SecretKeySpec key_spec, AlgorithmParameterSpec params)
           
 
Method Summary
 String getName()
           
protected  byte[] update(byte[] data)
           
protected  byte[] update(byte[] data, int offset, int length)
           
protected  void update(ByteBuffer source_buffer, 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(String algorithm,
                       int mode,
                       SecretKeySpec key_spec,
                       AlgorithmParameterSpec params)
                throws Exception
Throws:
Exception
Method Detail

update

protected byte[] update(byte[] data)

update

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

update

protected void update(ByteBuffer source_buffer,
                      ByteBuffer target_buffer)
               throws IOException
Throws:
IOException

getName

public String getName()