Top Fields Constructors Methods
org.bouncycastle.tls

pack-priv Class HandshakeMessageOutput

extends ByteArrayOutputStream
Class Inheritance
Imports
java.io.ByteArrayOutputStream, .IOException

Field Summary

Inherited from java.io.ByteArrayOutputStream:
bufcount

Constructor Summary

AccessConstructor and Description
pack-priv
HandshakeMessageOutput(short handshakeType)

pack-priv
HandshakeMessageOutput(short handshakeType, int bodyLength)

Method Summary

Modifier and TypeMethod and Description
pack-priv static int
getLength(int bodyLength)

pack-priv void
prepareClientHello(TlsHandshakeHash handshakeHash, int bindersSize)

pack-priv static void
send(TlsProtocol protocol, short handshakeType, byte[] body)

pack-priv void
send(TlsProtocol protocol)

pack-priv void
sendClientHello(TlsClientProtocol clientProtocol, TlsHandshakeHash handshakeHash, int bindersSize)

Inherited from java.io.ByteArrayOutputStream:
closeresetsizetoByteArraytoStringtoStringtoStringtoStringwritewritewriteByteswriteTo

Constructor Detail

HandshakeMessageOutputback to summary
pack-priv HandshakeMessageOutput(short handshakeType) throws IOException
HandshakeMessageOutputback to summary
pack-priv HandshakeMessageOutput(short handshakeType, int bodyLength) throws IOException

Method Detail

getLengthback to summary
pack-priv static int getLength(int bodyLength)
prepareClientHelloback to summary
pack-priv void prepareClientHello(TlsHandshakeHash handshakeHash, int bindersSize) throws IOException
sendback to summary
pack-priv static void send(TlsProtocol protocol, short handshakeType, byte[] body) throws IOException
sendback to summary
pack-priv void send(TlsProtocol protocol) throws IOException
sendClientHelloback to summary
pack-priv void sendClientHello(TlsClientProtocol clientProtocol, TlsHandshakeHash handshakeHash, int bindersSize) throws IOException