2019-06-26 15:14:52 +00:00
|
|
|
package stanza
|
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
|
2019-06-26 15:14:52 +00:00
|
|
|
type TLSProceed struct {
|
2016-01-06 15:51:12 +00:00
|
|
|
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"`
|
|
|
|
}
|