Documentation ¶
Index ¶
Constants ¶
View Source
const ( HandshakeFamilyName = "handshake" HandshakeFamilyVersion = 1 HandshakeMCGroupTLSHD = "tlshd" )
View Source
const ( HandshakeAX509Cert = iota + 1 HandshakeAX509PrivKey )
View Source
const ( HandshakeAAcceptSockFD = iota + 1 HandshakeAAcceptHandlerClass HandshakeAAcceptMessageType HandshakeAAcceptTimeout HandshakeAAcceptAuthMode HandshakeAAcceptPeerIdentity HandshakeAAcceptCertificate HandshakeAAcceptPeerName )
View Source
const ( HandshakeADoneStatus = iota + 1 HandshakeADoneSockFD HandshakeADoneRemoteAuth )
View Source
const ( HandshakeCmdReady = iota + 1 HandshakeCmdAccept HandshakeCmdDone )
View Source
const ( TLSNoCert = 0 TLSNoPrivKey = 0 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
Handler is a handler for the handshake service.
func NewHandler ¶
NewHandler creates a new handshake Handler.
type HandshakeAuth ¶
type HandshakeAuth int
const ( HandshakeAuthUnspec HandshakeAuth = iota HandshakeAuthUnauth HandshakeAuthPSK HandshakeAuthX509 )
type HandshakeHandlerClass ¶
type HandshakeHandlerClass int
const ( HandshakeHandlerClassNone HandshakeHandlerClass = iota HandshakeHandlerClassTLSHD )
type HandshakeMsgType ¶
type HandshakeMsgType int
const ( HandshakeMsgTypeUnspec HandshakeMsgType = iota HandshakeMsgTypeClientHello HandshakeMsgTypeServerHello )
type HandshakeParams ¶
Click to show internal directories.
Click to hide internal directories.