Package com.jcraft.jsch
Interface Cipher
- All Known Implementing Classes:
AES128CBC
,AES128CTR
,AES128GCM
,AES192CBC
,AES192CTR
,AES256CBC
,AES256CTR
,AES256GCM
,ARCFOUR
,ARCFOUR128
,ARCFOUR256
,BlowfishCBC
,BlowfishCTR
,CAST128CBC
,CAST128CTR
,ChaCha20Poly1305
,SEEDCBC
,TripleDESCBC
,TripleDESCTR
,Twofish128CBC
,Twofish128CTR
,Twofish192CBC
,Twofish192CTR
,Twofish256CBC
,Twofish256CTR
public interface Cipher
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiondefault void
doFinal
(byte[] foo, int s1, int len, byte[] bar, int s2) int
int
default int
void
init
(int mode, byte[] key, byte[] iv) default boolean
isAEAD()
boolean
isCBC()
default boolean
void
update
(byte[] foo, int s1, int len, byte[] bar, int s2) default void
update
(int foo) default void
updateAAD
(byte[] foo, int s1, int len)
-
Field Details
-
ENCRYPT_MODE
static final int ENCRYPT_MODE- See Also:
-
DECRYPT_MODE
static final int DECRYPT_MODE- See Also:
-
-
Method Details
-
getIVSize
int getIVSize() -
getBlockSize
int getBlockSize() -
getTagSize
default int getTagSize() -
init
- Throws:
Exception
-
update
- Throws:
Exception
-
update
- Throws:
Exception
-
updateAAD
- Throws:
Exception
-
doFinal
- Throws:
Exception
-
isCBC
boolean isCBC() -
isAEAD
default boolean isAEAD() -
isChaCha20
default boolean isChaCha20()
-