public class SecureChannel extends Object implements ISecureChannel
| Modifier and Type | Field and Description |
|---|---|
protected SecureDocument |
in |
protected SecureDocument |
out |
| Constructor and Description |
|---|
SecureChannel(SecureDocument out,
SecureDocument in) |
| Modifier and Type | Method and Description |
|---|---|
void |
input(byte[] data,
int offset,
int length,
ByteArray dest) |
boolean |
isSecure() |
void |
modifyForInput(ByteArray data,
int offset,
int length) |
void |
modifyForOutput(ByteArray data,
int offset,
int length) |
void |
output(byte[] data,
int offset,
int length,
ByteArray dest) |
protected SecureDocument out
protected SecureDocument in
public SecureChannel(SecureDocument out, SecureDocument in)
public boolean isSecure()
public void modifyForOutput(ByteArray data, int offset, int length) throws IOException
modifyForOutput in interface ISecureChannelIOExceptionpublic void modifyForInput(ByteArray data, int offset, int length) throws IOException
modifyForInput in interface ISecureChannelIOExceptionpublic void output(byte[] data,
int offset,
int length,
ByteArray dest)
throws IOException
output in interface ISecureChannelIOExceptionpublic void input(byte[] data,
int offset,
int length,
ByteArray dest)
throws IOException
input in interface ISecureChannelIOException