sasl

package
v2.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QopAuthenication is how the namenode refers to authentication mode, which
	// only establishes mutual authentication without encryption (the default).
	QopAuthentication = "auth"
	// QopIntegrity is how the namenode refers to integrity mode, which, in
	// in addition to authentication, verifies the signature of RPC messages.
	QopIntegrity = "auth-int"
	// QopPrivacy is how the namenode refers to privacy mode, which, in addition
	// to authentication and integrity, provides full end-to-end encryption for
	// RPC messages.
	QopPrivacy = "auth-conf"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Challenge

type Challenge struct {
	Realm     string
	Nonce     string
	Qop       Qops
	Charset   string
	Cipher    []string
	Algorithm string
}

func ParseChallenge

func ParseChallenge(challenge []byte) (*Challenge, error)

type Qops added in v2.2.1

type Qops []string

func (Qops) Len added in v2.2.1

func (q Qops) Len() int

func (Qops) Less added in v2.2.1

func (q Qops) Less(i, j int) bool

func (Qops) Swap added in v2.2.1

func (q Qops) Swap(i, j int)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL