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 ISecureChannel
IOException
public void modifyForInput(ByteArray data, int offset, int length) throws IOException
modifyForInput
in interface ISecureChannel
IOException
public void output(byte[] data, int offset, int length, ByteArray dest) throws IOException
output
in interface ISecureChannel
IOException
public void input(byte[] data, int offset, int length, ByteArray dest) throws IOException
input
in interface ISecureChannel
IOException