|
|||||||||
| 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.TripleDesCbc
public class TripleDesCbc
3DES cipher for SSH2.
| Field Summary | |
|---|---|
static 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 | |
|---|---|
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 String TRIPLEDES_CBC
| Constructor Detail |
|---|
public TripleDesCbc()
| Method Detail |
|---|
public 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
IOExceptionpublic int getBlockSize()
getBlockSize in class SshCipher
public void transform(byte[] in,
int start,
byte[] output,
int offset,
int length)
throws IOException
transform in class SshCipherin - input byte[]start - output - byte[]offset - length -
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||