com.sshtools.j2ssh.transport.cipher
Class TripleDesCbc

java.lang.Object
  extended by com.sshtools.j2ssh.transport.cipher.SshCipher
      extended by com.sshtools.j2ssh.transport.cipher.TripleDesCbc

public class TripleDesCbc
extends SshCipher

Version:
$Revision: 1.19 $
Author:
$author$

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

algorithmName

protected static java.lang.String algorithmName
Constructor Detail

TripleDesCbc

public TripleDesCbc()
Creates a new TripleDesCbc object.

Method Detail

getBlockSize

public int getBlockSize()
Specified by:
getBlockSize in class SshCipher
Returns:

init

public void init(int mode,
                 byte[] iv,
                 byte[] keydata)
          throws AlgorithmOperationException
Specified by:
init in class SshCipher
Parameters:
mode -
iv -
keydata -
Throws:
AlgorithmOperationException

transform

public byte[] transform(byte[] data,
                        int offset,
                        int len)
                 throws AlgorithmOperationException
Specified by:
transform in class SshCipher
Parameters:
data -
offset -
len -
Returns:
Throws:
AlgorithmOperationException


Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.