|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.sshd.common.cipher.CipherNone
public class CipherNone
Represents a no-op cipher. This cipher can not really be used during authentication and should only be used after, so that authentication remains secured, but not the remaining of the exchanges.
Nested Class Summary | |
---|---|
static class |
CipherNone.Factory
Named factory for the no-op Cipher |
Nested classes/interfaces inherited from interface org.apache.sshd.common.Cipher |
---|
Cipher.Mode |
Constructor Summary | |
---|---|
CipherNone()
|
Method Summary | |
---|---|
int |
getBlockSize()
Retrieves the block size for this cipher |
int |
getIVSize()
Retrieves the size of the initialization vector |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CipherNone()
Method Detail |
---|
public int getIVSize()
Cipher
getIVSize
in interface Cipher
public int getBlockSize()
Cipher
getBlockSize
in interface Cipher
public void init(Cipher.Mode mode, byte[] bytes, byte[] bytes1) throws Exception
Cipher
init
in interface Cipher
Exception
public void update(byte[] input, int inputOffset, int inputLen) throws Exception
Cipher
update
in interface Cipher
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |