public final class StartTlsNegotiator extends ServerStreamFeatureNegotiator<StartTls>
Negotiates STARTTLS for a TCP connection by advertising support for STARTTLS and later securing the connection.
| Constructor and Description |
|---|
StartTlsNegotiator(TcpBinding connection) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canProcess(java.lang.Object element) |
StartTls |
createStreamFeature()
Creates a concrete stream feature for inclusion in the stream features element after sending the response stream header.
|
StreamNegotiationResult |
processNegotiation(java.lang.Object element)
Processes an element.
|
getFeatureClasspublic StartTlsNegotiator(TcpBinding connection)
public final StartTls createStreamFeature()
ServerStreamFeatureNegotiatorCreates a concrete stream feature for inclusion in the stream features element after sending the response stream header.
createStreamFeature in class ServerStreamFeatureNegotiator<StartTls>public final StreamNegotiationResult processNegotiation(java.lang.Object element)
ServerStreamFeatureNegotiatorProcesses an element.
processNegotiation in interface StreamFeatureNegotiator<StartTls>processNegotiation in class ServerStreamFeatureNegotiator<StartTls>element - The element.public boolean canProcess(java.lang.Object element)
Copyright © 2014–2018 XMPP.rocks. All rights reserved.