com.maverick.ssh.components.jce
Class ArcFour128

java.lang.Object
  extended bycom.maverick.ssh.components.SshCipher
      extended bycom.maverick.ssh.components.jce.AbstractJCECipher
          extended bycom.maverick.ssh.components.jce.ArcFour128

public class ArcFour128
extends AbstractJCECipher


Field Summary
 
Fields inherited from class com.maverick.ssh.components.SshCipher
DECRYPT_MODE, ENCRYPT_MODE
 
Constructor Summary
ArcFour128()
           
 
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

ArcFour128

public ArcFour128()
           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
Throws:
java.io.IOException

getBlockSize

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

Overrides:
getBlockSize in class AbstractJCECipher


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