Package com.jcraft.jsch.jce
Class AES128CTR
java.lang.Object
com.jcraft.jsch.jce.AES128CTR
- All Implemented Interfaces:
Cipher
public class AES128CTR extends java.lang.Object implements Cipher
-
Field Summary
-
Constructor Summary
Constructors Constructor Description AES128CTR() -
Method Summary
Modifier and Type Method Description voiddoFinal(byte[] foo, int s1, int len, byte[] bar, int s2)intgetBlockSize()intgetIVSize()intgetTagSize()voidinit(int mode, byte[] key, byte[] iv)booleanisAEAD()booleanisCBC()voidupdate(byte[] foo, int s1, int len, byte[] bar, int s2)voidupdateAAD(byte[] foo, int s1, int len)
-
Constructor Details
-
AES128CTR
public AES128CTR()
-
-
Method Details
-
getIVSize
public int getIVSize() -
getBlockSize
public int getBlockSize()- Specified by:
getBlockSizein interfaceCipher
-
getTagSize
public int getTagSize()- Specified by:
getTagSizein 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 -
isCBC
public boolean isCBC() -
isAEAD
public boolean isAEAD()
-