Package com.jcraft.jsch
Class CipherNone
java.lang.Object
com.jcraft.jsch.CipherNone
- All Implemented Interfaces:
Cipher
public class CipherNone extends java.lang.Object implements Cipher
-
Field Summary
-
Constructor Summary
Constructors Constructor Description CipherNone() -
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
-
CipherNone
public CipherNone()
-
-
Method Details
-
getIVSize
public int getIVSize() -
getBlockSize
public int getBlockSize()- Specified by:
getBlockSizein 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() -
getTagSize
public int getTagSize()- Specified by:
getTagSizein interfaceCipher
-