2019-06-18 14:28:30 +00:00
|
|
|
package xmpp
|
2016-01-06 15:51:12 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
"crypto/tls"
|
|
|
|
"encoding/xml"
|
|
|
|
)
|
|
|
|
|
|
|
|
var DefaultTlsConfig tls.Config
|
|
|
|
|
2019-06-10 14:27:52 +00:00
|
|
|
// Used during stream initiation / session establishment
|
2016-01-06 15:51:12 +00:00
|
|
|
type tlsProceed struct {
|
|
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls proceed"`
|
|
|
|
}
|
|
|
|
|
|
|
|
type tlsFailure struct {
|
|
|
|
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-tls failure"`
|
|
|
|
}
|