com.jcraft.jsch.jce
Class TripleDESCTR

java.lang.Object
  extended by com.jcraft.jsch.jce.TripleDESCTR
All Implemented Interfaces:
Cipher

public class TripleDESCTR
extends java.lang.Object
implements Cipher


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

Constructor Detail

TripleDESCTR

public TripleDESCTR()
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

isCBC

public boolean isCBC()
Specified by:
isCBC in interface Cipher