| java.lang.Object |
| ↳ |
net.schmizz.sshj.transport.cipher.NoneCipher |
Class Overview
Represents a no-op cipher.
Summary
| Nested Classes |
|
class |
NoneCipher.Factory |
Named factory for the no-op Cipher |
| Public Methods |
|
int
|
getBlockSize()
|
|
int
|
getIVSize()
|
|
void
|
init(Cipher.Mode mode, byte[] bytes, byte[] bytes1)
Initialize the cipher for encryption or decryption with the given private key and initialization vector
|
|
void
|
update(byte[] input, int inputOffset, int inputLen)
Performs in-place encryption or decryption on the given data.
|
|
[Expand]
Inherited Methods |
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
From interface
net.schmizz.sshj.transport.cipher.Cipher
|
abstract
int
|
getBlockSize()
|
|
abstract
int
|
getIVSize()
|
|
abstract
void
|
init(Cipher.Mode mode, byte[] key, byte[] iv)
Initialize the cipher for encryption or decryption with the given private key and initialization vector
|
|
abstract
void
|
update(byte[] input, int inputOffset, int inputLen)
Performs in-place encryption or decryption on the given data.
|
|
Public Constructors
Public Methods
public
int
getBlockSize
()
public
void
init
(Cipher.Mode mode, byte[] bytes, byte[] bytes1)
Initialize the cipher for encryption or decryption with the given private key and initialization vector
Parameters
| mode
| Whether this instance wil encrypt or decrypt |
| bytes
| The key for the cipher |
| bytes1
| Initialization vector
|
public
void
update
(byte[] input, int inputOffset, int inputLen)
Performs in-place encryption or decryption on the given data.
Parameters
| input
| The subject |
| inputOffset
| Offset at which to start |
| inputLen
| Number of bytes starting at inputOffset
|