org.bouncycastle.crypto.tls
public class RecordStream extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected CombinedHash |
hash1 |
protected CombinedHash |
hash2 |
protected TlsCipherSuite |
readSuite |
protected TlsCipherSuite |
writeSuite |
| Modifier | Constructor and Description |
|---|---|
protected |
RecordStream(TlsProtocolHandler handler,
java.io.InputStream is,
java.io.OutputStream os) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
close() |
protected byte[] |
decodeAndVerify(short type,
java.io.InputStream is,
int len) |
protected void |
flush() |
void |
readData() |
protected void |
writeMessage(short type,
byte[] message,
int offset,
int len) |
protected CombinedHash hash1
protected CombinedHash hash2
protected TlsCipherSuite readSuite
protected TlsCipherSuite writeSuite
protected RecordStream(TlsProtocolHandler handler, java.io.InputStream is, java.io.OutputStream os)
public void readData()
throws java.io.IOException
java.io.IOExceptionprotected byte[] decodeAndVerify(short type,
java.io.InputStream is,
int len)
throws java.io.IOException
java.io.IOExceptionprotected void writeMessage(short type,
byte[] message,
int offset,
int len)
throws java.io.IOException
java.io.IOExceptionprotected void close()
throws java.io.IOException
java.io.IOExceptionprotected void flush()
throws java.io.IOException
java.io.IOException