com.jcraft.jsch

Interface Cipher

Known Implementing Classes:
AES128CBC, AES192CBC, AES256CBC, BlowfishCBC, CipherNone, TripleDESCBC

public interface Cipher

Field Summary

static int
DECRYPT_MODE
static int
ENCRYPT_MODE

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)

Field Details

DECRYPT_MODE

public static final int DECRYPT_MODE
Field Value:
1

ENCRYPT_MODE

public static final int ENCRYPT_MODE
Field Value:
0

Method Details

getBlockSize

public int getBlockSize()

getIVSize

public int getIVSize()

init

public void init(int mode,
                 byte[] key,
                 byte[] iv)
            throws Exception

update

public void update(byte[] foo,
                   int s1,
                   int len,
                   byte[] bar,
                   int s2)
            throws Exception