public abstract class SshCipher
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DECRYPT_MODE |
static int |
ENCRYPT_MODE |
Constructor and Description |
---|
SshCipher() |
Modifier and Type | Method and Description |
---|---|
abstract int |
getBlockSize() |
abstract void |
init(int mode,
byte[] iv,
byte[] keydata) |
byte[] |
transform(byte[] data) |
abstract byte[] |
transform(byte[] data,
int offset,
int len) |
public static final int ENCRYPT_MODE
public static final int DECRYPT_MODE
public abstract int getBlockSize()
public abstract void init(int mode, byte[] iv, byte[] keydata) throws AlgorithmOperationException
mode
- iv
- keydata
- AlgorithmOperationException
public byte[] transform(byte[] data) throws AlgorithmOperationException
data
- AlgorithmOperationException
public abstract byte[] transform(byte[] data, int offset, int len) throws AlgorithmOperationException
data
- offset
- len
- AlgorithmOperationException
Copyright © 2002-2003 Lee David Painter & Contributors. All Rights Reserved.