com.maverick.ssh.components.jce
Class ArcFour128
java.lang.Object
com.maverick.ssh.components.SshCipher
com.maverick.ssh.components.jce.AbstractJCECipher
com.maverick.ssh.components.jce.ArcFour128
- All Implemented Interfaces:
- SshComponent
public class ArcFour128
- extends AbstractJCECipher
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArcFour128
public ArcFour128()
throws IOException
- Throws:
IOException
init
public void init(int mode,
byte[] iv,
byte[] keydata)
throws 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 operateiv - the initiaization vectorkeydata - the key data
- Throws:
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 © 2013. All Rights Reserved.