Package com.jcraft.jsch
Interface Cipher
-
- All Known Implementing Classes:
AES128CBC,AES128CTR,AES192CBC,AES192CTR,AES256CBC,AES256CTR,ARCFOUR,ARCFOUR128,ARCFOUR256,BlowfishCBC,CipherNone,TripleDESCBC,TripleDESCTR
public interface Cipher
-
-
Field Summary
Fields Modifier and Type Field Description static intDECRYPT_MODEstatic intENCRYPT_MODE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBlockSize()intgetIVSize()voidinit(int mode, byte[] key, byte[] iv)booleanisCBC()voidupdate(byte[] foo, int s1, int len, byte[] bar, int s2)
-
-
-
Field Detail
-
ENCRYPT_MODE
static final int ENCRYPT_MODE
- See Also:
- Constant Field Values
-
DECRYPT_MODE
static final int DECRYPT_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getIVSize
int getIVSize()
-
getBlockSize
int getBlockSize()
-
init
void init(int mode, byte[] key, byte[] iv) throws java.lang.Exception- Throws:
java.lang.Exception
-
update
void update(byte[] foo, int s1, int len, byte[] bar, int s2) throws java.lang.Exception- Throws:
java.lang.Exception
-
isCBC
boolean isCBC()
-
-