| Modifier and Type | Field and Description |
|---|---|
| protected CertificateRequest | |
| protected TlsKeyExchange | |
| protected int[] | |
| protected TlsServer | |
| pack-priv TlsServerContextImpl |
| Access | Constructor and Description |
|---|---|
| public | |
| public | TlsServerProtocol(InputStream
The stream of data from the client input, OutputStream The stream of data to the client output)Constructor for blocking mode. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void | |
| protected boolean | |
| protected ServerHello | |
| protected ServerHello | generate13ServerHello(ClientHello clientHello, HandshakeMessageInput clientHelloMessage, boolean afterHelloRetryRequest)
|
| protected ServerHello | |
| protected TlsContext | |
| pack-priv AbstractTlsContext | |
| protected TlsPeer | |
| protected void | |
| protected void | handleAlertWarningMessage(short alertDescription)
Overrides org. |
| protected void | handleHandshakeMessage(short type, HandshakeMessageInput buf)
Implements abstract org. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected ClientHello | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void |
| certificateRequest | back to summary |
|---|---|
| protected CertificateRequest certificateRequest | |
| keyExchange | back to summary |
|---|---|
| protected TlsKeyExchange keyExchange | |
| offeredCipherSuites | back to summary |
|---|---|
| protected int[] offeredCipherSuites | |
| tlsServer | back to summary |
|---|---|
| protected TlsServer tlsServer | |
| tlsServerContext | back to summary |
|---|---|
| pack-priv TlsServerContextImpl tlsServerContext | |
| TlsServerProtocol | back to summary |
|---|---|
| public TlsServerProtocol() Constructor for non-blocking mode. | |
| TlsServerProtocol | back to summary |
|---|---|
| public TlsServerProtocol(InputStream input, OutputStream output) Constructor for blocking mode.
| |
| accept | back to summary |
|---|---|
| public void accept(TlsServer tlsServer) throws IOException Receives a TLS handshake in the role of server.
| |
| cleanupHandshake | back to summary |
|---|---|
| protected void cleanupHandshake() Overrides org. | |
| expectCertificateVerifyMessage | back to summary |
|---|---|
| protected boolean expectCertificateVerifyMessage() | |
| generate13HelloRetryRequest | back to summary |
|---|---|
| protected ServerHello generate13HelloRetryRequest(ClientHello clientHello) throws IOException | |
| generate13ServerHello | back to summary |
|---|---|
| protected ServerHello generate13ServerHello(ClientHello clientHello, HandshakeMessageInput clientHelloMessage, boolean afterHelloRetryRequest) throws IOException | |
| generateServerHello | back to summary |
|---|---|
| protected ServerHello generateServerHello(ClientHello clientHello, HandshakeMessageInput clientHelloMessage) throws IOException | |
| getContext | back to summary |
|---|---|
| protected TlsContext getContext() Implements abstract org. | |
| getContextAdmin | back to summary |
|---|---|
| pack-priv AbstractTlsContext getContextAdmin() Implements abstract org. | |
| getPeer | back to summary |
|---|---|
| protected TlsPeer getPeer() Implements abstract org. | |
| handle13HandshakeMessage | back to summary |
|---|---|
| protected void handle13HandshakeMessage(short type, HandshakeMessageInput buf) throws IOException | |
| handleAlertWarningMessage | back to summary |
|---|---|
| protected void handleAlertWarningMessage(short alertDescription) throws IOException Overrides org. | |
| handleHandshakeMessage | back to summary |
|---|---|
| protected void handleHandshakeMessage(short type, HandshakeMessageInput buf) throws IOException Implements abstract org. | |
| notifyClientCertificate | back to summary |
|---|---|
| protected void notifyClientCertificate(Certificate clientCertificate) throws IOException | |
| receive13ClientCertificate | back to summary |
|---|---|
| protected void receive13ClientCertificate(ByteArrayInputStream buf) throws IOException | |
| receive13ClientCertificateVerify | back to summary |
|---|---|
| protected void receive13ClientCertificateVerify(ByteArrayInputStream buf) throws IOException | |
| receive13ClientFinished | back to summary |
|---|---|
| protected void receive13ClientFinished(ByteArrayInputStream buf) throws IOException | |
| receiveCertificateMessage | back to summary |
|---|---|
| protected void receiveCertificateMessage(ByteArrayInputStream buf) throws IOException | |
| receiveCertificateVerifyMessage | back to summary |
|---|---|
| protected void receiveCertificateVerifyMessage(ByteArrayInputStream buf) throws IOException | |
| receiveClientHelloMessage | back to summary |
|---|---|
| protected ClientHello receiveClientHelloMessage(ByteArrayInputStream buf) throws IOException | |
| receiveClientKeyExchangeMessage | back to summary |
|---|---|
| protected void receiveClientKeyExchangeMessage(ByteArrayInputStream buf) throws IOException | |
| send13EncryptedExtensionsMessage | back to summary |
|---|---|
| protected void send13EncryptedExtensionsMessage(Hashtable<K, V> serverExtensions) throws IOException | |
| send13ServerHelloCoda | back to summary |
|---|---|
| protected void send13ServerHelloCoda(ServerHello serverHello, boolean afterHelloRetryRequest) throws IOException | |
| sendCertificateRequestMessage | back to summary |
|---|---|
| protected void sendCertificateRequestMessage(CertificateRequest certificateRequest) throws IOException | |
| sendCertificateStatusMessage | back to summary |
|---|---|
| protected void sendCertificateStatusMessage(CertificateStatus certificateStatus) throws IOException | |
| sendHelloRequestMessage | back to summary |
|---|---|
| protected void sendHelloRequestMessage() throws IOException | |
| sendNewSessionTicketMessage | back to summary |
|---|---|
| protected void sendNewSessionTicketMessage(NewSessionTicket newSessionTicket) throws IOException | |
| sendServerHelloDoneMessage | back to summary |
|---|---|
| protected void sendServerHelloDoneMessage() throws IOException | |
| sendServerHelloMessage | back to summary |
|---|---|
| protected void sendServerHelloMessage(ServerHello serverHello) throws IOException | |
| sendServerKeyExchangeMessage | back to summary |
|---|---|
| protected void sendServerKeyExchangeMessage(byte[] serverKeyExchange) throws IOException | |
| skip13ClientCertificate | back to summary |
|---|---|
| protected void skip13ClientCertificate() throws IOException | |
| skip13ClientCertificateVerify | back to summary |
|---|---|
| protected void skip13ClientCertificateVerify() throws IOException | |