Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DefaultAuthTypes = []Type{ &None{}, &VNCAuth{}, &TightSecurity{}, }
DefaultAuthTypes is the default enabled list of auth types.
var TightAuthCapabilities = []types.TightCapability{
{Code: 1, Vendor: "STDV", Signature: "NOAUTH__"},
{Code: 2, Vendor: "STDV", Signature: "VNCAUTH_"},
}
TightAuthCapabilities represents TightSecurity auth capabilities.
var TightClientMessages = []types.TightCapability{}
TightClientMessages represents supported tight client messages.
var TightEncodingCapabilities = []types.TightCapability{
{Code: 0, Vendor: "STDV", Signature: "RAW_____"},
{Code: 1, Vendor: "STDV", Signature: "COPYRECT"},
{Code: 7, Vendor: "TGHT", Signature: "TIGHT___"},
}
TightEncodingCapabilities represents TightSecurity encoding capabilities.
var TightServerMessages = []types.TightCapability{}
TightServerMessages represents supported tight server messages.
var TightTunnelCapabilities = []types.TightCapability{
{Code: 0, Vendor: "TGHT", Signature: "NOTUNNEL"},
}
TightTunnelCapabilities represents TightSecurity tunnel capabilities.
Functions ¶
This section is empty.
Types ¶
type TightSecurity ¶
TightSecurity implements Tight security. https://github.com/rfbproto/rfbproto/blob/master/rfbproto.rst#tight-security-type
func (*TightSecurity) ExtendServerInit ¶
func (t *TightSecurity) ExtendServerInit(buf io.Writer)
ExtendServerInit signals to the rfb server that we extend the ServerInit message.
func (*TightSecurity) Negotiate ¶
func (t *TightSecurity) Negotiate(rw *buffer.ReadWriter) error
Negotiate will negotiate tight security.
type Type ¶
type Type interface { Code() uint8 Negotiate(wr *buffer.ReadWriter) error }
Type represents an authentication type.
func GetDefaults ¶
func GetDefaults() []Type
GetDefaults returns a slice of the default auth handlers.