|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sshtools.j2ssh.transport.cipher.SshCipher
com.sshtools.j2ssh.transport.cipher.TripleDesCbc
public class TripleDesCbc
Field Summary | |
---|---|
protected static java.lang.String |
algorithmName
|
Fields inherited from class com.sshtools.j2ssh.transport.cipher.SshCipher |
---|
DECRYPT_MODE, ENCRYPT_MODE |
Constructor Summary | |
---|---|
TripleDesCbc()
Creates a new TripleDesCbc object. |
Method Summary | |
---|---|
int |
getBlockSize()
|
void |
init(int mode,
byte[] iv,
byte[] keydata)
|
byte[] |
transform(byte[] data,
int offset,
int len)
|
Methods inherited from class com.sshtools.j2ssh.transport.cipher.SshCipher |
---|
transform |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static java.lang.String algorithmName
Constructor Detail |
---|
public TripleDesCbc()
Method Detail |
---|
public int getBlockSize()
getBlockSize
in class SshCipher
public void init(int mode, byte[] iv, byte[] keydata) throws AlgorithmOperationException
init
in class SshCipher
mode
- iv
- keydata
-
AlgorithmOperationException
public byte[] transform(byte[] data, int offset, int len) throws AlgorithmOperationException
transform
in class SshCipher
data
- offset
- len
-
AlgorithmOperationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |