krb5

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContextFlagREADY = 128
)

Variables

This section is empty.

Functions

func GetDefaultPrinciplaNameFromCCache

func GetDefaultPrinciplaNameFromCCache(ccache string) (string, error)

func NewGSSAPIClientWithCCache

func NewGSSAPIClientWithCCache(krb5confPath, ccachePath string) (ssh.GSSAPIClient, error)

func NewGSSAPIClientWithPassword

func NewGSSAPIClientWithPassword(krb5confPath, username, realm, password string) (ssh.GSSAPIClient, error)

Types

type GSSAPIClient

type GSSAPIClient struct {
	// contains filtered or unexported fields
}

func (*GSSAPIClient) DeleteSecContext

func (k *GSSAPIClient) DeleteSecContext() error

func (*GSSAPIClient) GetMIC

func (k *GSSAPIClient) GetMIC(micFiled []byte) ([]byte, error)

func (*GSSAPIClient) InitSecContext

func (k *GSSAPIClient) InitSecContext(target string, token []byte, isGSSDelegCreds bool) ([]byte, bool, error)

Jump to

Keyboard shortcuts

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