|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.maverick.ssh.components.SshCipher
com.maverick.ssh.components.standalone.CbcBlockCipher
com.maverick.ssh.components.standalone.TripleDesCbc
3DES cipher for SSH2.
| Field Summary | |
static java.lang.String |
TRIPLEDES_CBC
|
| Fields inherited from class com.maverick.ssh.components.SshCipher |
DECRYPT_MODE, ENCRYPT_MODE |
| Constructor Summary | |
TripleDesCbc()
Contstruct the uninitialized cipher. |
|
| Method Summary | |
java.lang.String |
getAlgorithm()
Get the algorithm name |
int |
getBlockSize()
Get the block size of the cipher |
void |
init(int mode,
byte[] iv,
byte[] keydata)
Initialize the CBC block cipher. |
void |
transform(byte[] in,
int start,
byte[] output,
int offset,
int length)
Transform the data |
| Methods inherited from class com.maverick.ssh.components.SshCipher |
transform |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String TRIPLEDES_CBC
| Constructor Detail |
public TripleDesCbc()
| Method Detail |
public java.lang.String getAlgorithm()
getAlgorithm in class SshCipher
public void init(int mode,
byte[] iv,
byte[] keydata)
init in class SshCiphermode - the mode to operate iniv - the initialization vectorkeydata - the key
java.io.IOExceptionpublic int getBlockSize()
getBlockSize in class SshCipher
public void transform(byte[] in,
int start,
byte[] output,
int offset,
int length)
throws java.io.IOException
transform in class SshCipherin - input byte[]start - output - byte[]offset - length -
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||