Documentation
¶
Overview ¶
Package schannel wraps the Windows Schannel provider.
Built only for windows. Elsewhere Supported reports false and the package contains no C.
Index ¶
Constants ¶
View Source
const ( ProtocolTLS12 = 0x0303 ProtocolTLS13 = 0x0304 )
View Source
const StatusKeyUnsupported uint32 = 0x80090302
View Source
const Supported = false
Supported reports whether this build has the backend compiled in.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Host string
RootCAsDER [][]byte
RootCAsOnly bool
SkipVerify bool
MinVersion uint16
ClientCertDER []byte
ClientKeyDER []byte
ClientKeyPKCS8 bool
}
Options mirrors the real type so callers compile everywhere.
Click to show internal directories.
Click to hide internal directories.