org.bouncycastle.crypto.tls
Class RecordStream
java.lang.Object
org.bouncycastle.crypto.tls.RecordStream
public class RecordStream
extends java.lang.Object
An implementation of the TLS 1.0 record layer.
RecordStream
protected RecordStream(TlsProtocolHandler handler,
InputStream is,
OutputStream os)
close
protected void close()
throws IOException
decodeAndVerify
protected byte[] decodeAndVerify(short type,
InputStream is,
int len)
throws IOException
flush
protected void flush()
throws IOException
readData
public void readData()
throws IOException
writeMessage
protected void writeMessage(short type,
byte[] message,
int offset,
int len)
throws IOException