java.lang.Object
com.jcraft.jsch.bc.ChaCha20Poly1305
- All Implemented Interfaces:
Cipher
-
Field Summary
Fields inherited from interface com.jcraft.jsch.Cipher
DECRYPT_MODE, ENCRYPT_MODE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
doFinal(byte[] foo, int s1, int len, byte[] bar, int s2)
int
int
int
void
init(int mode, byte[] key, byte[] iv)
boolean
isAEAD()
boolean
isCBC()
boolean
void
update(byte[] foo, int s1, int len, byte[] bar, int s2)
void
update(int foo)
void
updateAAD(byte[] foo, int s1, int len)
-
Constructor Details
-
ChaCha20Poly1305
public ChaCha20Poly1305()
-
-
Method Details
-
getIVSize
public int getIVSize() -
getBlockSize
public int getBlockSize()- Specified by:
getBlockSize
in interfaceCipher
-
getTagSize
public int getTagSize()- Specified by:
getTagSize
in interfaceCipher
-
init
-
update
-
update
-
updateAAD
-
doFinal
-
isCBC
public boolean isCBC() -
isAEAD
public boolean isAEAD() -
isChaCha20
public boolean isChaCha20()- Specified by:
isChaCha20
in interfaceCipher
-