Class NoneCipher
- java.lang.Object
-
- net.schmizz.sshj.transport.cipher.NoneCipher
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNoneCipher.FactoryNamed factory for the no-op Cipher-
Nested classes/interfaces inherited from interface net.schmizz.sshj.transport.cipher.Cipher
Cipher.Mode
-
-
Constructor Summary
Constructors Constructor Description NoneCipher()
-
Method Summary
Modifier and Type Method Description intgetBlockSize()intgetIVSize()voidinit(Cipher.Mode mode, byte[] bytes, byte[] bytes1)Initialize the cipher for encryption or decryption with the given private key and initialization vectorvoidupdate(byte[] input, int inputOffset, int inputLen)Performs in-place encryption or decryption on the given data.
-
-
-
Method Detail
-
getBlockSize
public int getBlockSize()
- Specified by:
getBlockSizein interfaceCipher- Returns:
- the block size for this cipher
-
getIVSize
public int getIVSize()
-
init
public void init(Cipher.Mode mode, byte[] bytes, byte[] bytes1)
Description copied from interface:CipherInitialize the cipher for encryption or decryption with the given private key and initialization vector
-
update
public void update(byte[] input, int inputOffset, int inputLen)Description copied from interface:CipherPerforms in-place encryption or decryption on the given data.
-
-