Package rocks.xmpp.core.tls.client
Class StartTlsManager
- java.lang.Object
-
- rocks.xmpp.core.tls.client.StartTlsManager
-
- All Implemented Interfaces:
StreamFeatureNegotiator<StartTls>
public final class StartTlsManager extends Object implements StreamFeatureNegotiator<StartTls>
Negotiates transport layer security during stream negotiation.- See Also:
- STARTTLS Negotiation
-
-
Constructor Summary
Constructors Constructor Description StartTlsManager(Session session, TcpConnection tcpConnection, ChannelEncryption channelEncryption)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamNegotiationResultprocessNegotiation(Object element)
-
-
-
Constructor Detail
-
StartTlsManager
public StartTlsManager(Session session, TcpConnection tcpConnection, ChannelEncryption channelEncryption)
-
-
Method Detail
-
processNegotiation
public StreamNegotiationResult processNegotiation(Object element) throws StreamNegotiationException
- Specified by:
processNegotiationin interfaceStreamFeatureNegotiator<StartTls>- Throws:
StreamNegotiationException
-
-