sasl

package
v0.0.0-...-ffd3bff Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// QopAuthentication 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       []string
	Charset   string
	Cipher    []string
	Algorithm string
}

func ParseChallenge

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

type Client

type Client interface {
	GetMechanismName() string
	HasInitialResponse() bool
	EvaluateChallenge(challenge []byte) ([]byte, error)
	IsComplete() bool
	Unwrap(incoming []byte) ([]byte, error)
	Wrap(outgoing []byte) ([]byte, error)
	GetNegotiatedProperty(propName string) (string, error)
	Dispose()
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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