net.ssh.jsch.jce
Class BlowfishCBC

java.lang.Object
  extended by net.ssh.jsch.jce.BlowfishCBC
All Implemented Interfaces:
Cipher

public class BlowfishCBC
extends java.lang.Object
implements Cipher


Field Summary
 
Fields inherited from interface net.ssh.jsch.Cipher
DECRYPT_MODE, ENCRYPT_MODE
 
Constructor Summary
BlowfishCBC()
           
 
Method Summary
 int getBlockSize()
           
 int getIVSize()
           
 void init(int mode, byte[] key, byte[] iv)
           
 void update(byte[] foo, int s1, int len, byte[] bar, int s2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlowfishCBC

public BlowfishCBC()
Method Detail

getIVSize

public int getIVSize()
Specified by:
getIVSize in interface Cipher

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in interface Cipher

init

public void init(int mode,
                 byte[] key,
                 byte[] iv)
          throws java.lang.Exception
Specified by:
init in interface Cipher
Throws:
java.lang.Exception

update

public void update(byte[] foo,
                   int s1,
                   int len,
                   byte[] bar,
                   int s2)
            throws java.lang.Exception
Specified by:
update in interface Cipher
Throws:
java.lang.Exception