|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.OutputStream anon.crypto.tinytls.TinyTLSServerSocket.TLSOutputStream
class TinyTLSServerSocket.TLSOutputStream
Field Summary | |
---|---|
private TLSPlaintextRecord |
m_aktTLSRecord
|
private java.io.DataOutputStream |
m_stream
|
Constructor Summary | |
---|---|
TinyTLSServerSocket.TLSOutputStream(java.io.OutputStream ostream)
Constructor |
Method Summary | |
---|---|
void |
flush()
|
private void |
send(int type,
byte[] message,
int offset,
int len)
send a message to the server |
void |
sendChangeCipherSpec()
send a change cipher spec message now all client data will be encrypted |
void |
sendHandshake(int type,
byte[] message)
sends a handshake |
void |
sendServerCertificate()
send the server certificate |
void |
sendServerFinished()
send the server finished message |
void |
sendServerHandshakes()
send server handshakes |
void |
sendServerHello()
send a server hello |
void |
sendServerHelloDone()
send a server hello done message |
void |
sendServerKeyExchange()
send the server key exchange message |
void |
write(byte[] message)
|
void |
write(byte[] message,
int offset,
int len)
|
void |
write(int i)
|
Methods inherited from class java.io.OutputStream |
---|
close |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.io.DataOutputStream m_stream
private TLSPlaintextRecord m_aktTLSRecord
Constructor Detail |
---|
public TinyTLSServerSocket.TLSOutputStream(java.io.OutputStream ostream)
ostream
- outputstreamMethod Detail |
---|
public void write(byte[] message) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(byte[] message, int offset, int len) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void write(int i) throws java.io.IOException
write
in class java.io.OutputStream
java.io.IOException
public void flush() throws java.io.IOException
flush
in interface java.io.Flushable
flush
in class java.io.OutputStream
java.io.IOException
private void send(int type, byte[] message, int offset, int len) throws java.io.IOException
type
- type of the tls messagemessage
- message
java.io.IOException
public void sendHandshake(int type, byte[] message) throws java.io.IOException
type
- handshaketypemessage
- message
java.io.IOException
public void sendServerHello() throws java.io.IOException
java.io.IOException
public void sendServerCertificate() throws java.io.IOException
java.io.IOException
public void sendServerKeyExchange() throws java.io.IOException
java.io.IOException
public void sendServerHelloDone() throws java.io.IOException
java.io.IOException
public void sendServerHandshakes() throws java.io.IOException
java.io.IOException
public void sendChangeCipherSpec() throws java.io.IOException
java.io.IOException
public void sendServerFinished() throws java.io.IOException
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |