Package com.jcraft.jsch.jce
Class AES256GCM
- java.lang.Object
-
- com.jcraft.jsch.jce.AES256GCM
-
- All Implemented Interfaces:
Cipher
public class AES256GCM extends java.lang.Object
-
-
Field Summary
-
Fields inherited from interface com.jcraft.jsch.Cipher
DECRYPT_MODE, ENCRYPT_MODE
-
-
Constructor Summary
Constructors Constructor Description AES256GCM()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
doFinal(byte[] foo, int s1, int len, byte[] bar, int s2)
int
getBlockSize()
int
getIVSize()
int
getTagSize()
void
init(int mode, byte[] key, byte[] iv)
boolean
isAEAD()
boolean
isCBC()
void
update(byte[] foo, int s1, int len, byte[] bar, int s2)
void
updateAAD(byte[] foo, int s1, int len)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jcraft.jsch.Cipher
isChaCha20, update
-
-
-
-
Method Detail
-
getBlockSize
public int getBlockSize()
-
getTagSize
public int getTagSize()
- Specified by:
getTagSize
in interfaceCipher
-
init
public void init(int mode, byte[] key, byte[] iv) throws java.lang.Exception
-
update
public void update(byte[] foo, int s1, int len, byte[] bar, int s2) throws java.lang.Exception
-
updateAAD
public void updateAAD(byte[] foo, int s1, int len) throws java.lang.Exception
-
doFinal
public void doFinal(byte[] foo, int s1, int len, byte[] bar, int s2) throws java.lang.Exception
-
-