com.maverick.ssh.components.jce
Class ArcFour256

java.lang.Object
  extended by com.maverick.ssh.components.SshCipher
      extended by com.maverick.ssh.components.jce.AbstractJCECipher
          extended by com.maverick.ssh.components.jce.ArcFour256

public class ArcFour256
extends AbstractJCECipher


Field Summary
 
Fields inherited from class com.maverick.ssh.components.SshCipher
DECRYPT_MODE, ENCRYPT_MODE
 
Constructor Summary
ArcFour256()
           
 
Method Summary
 int getBlockSize()
          Get the cipher block size.
 void init(int mode, byte[] iv, byte[] keydata)
          Initialize the cipher with up to 40 bytes of iv and key data.
 
Methods inherited from class com.maverick.ssh.components.jce.AbstractJCECipher
getProvider, transform
 
Methods inherited from class com.maverick.ssh.components.SshCipher
getAlgorithm, transform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ArcFour256

public ArcFour256()
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

init

public void init(int mode,
                 byte[] iv,
                 byte[] keydata)
          throws java.io.IOException
Description copied from class: SshCipher
Initialize the cipher with up to 40 bytes of iv and key data. Each implementation should take as much data from the initialization as it needs ignoring any data that it does not require.

Overrides:
init in class AbstractJCECipher
Parameters:
mode - the mode to operate
iv - the initiaization vector
keydata - the key data
Throws:
java.io.IOException

getBlockSize

public int getBlockSize()
Description copied from class: SshCipher
Get the cipher block size.

Overrides:
getBlockSize in class AbstractJCECipher
Returns:
the block size in bytes.


Copyright © 2003-2008 SSHTools LTD. All Rights Reserved.