gssapi

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireCred

func AcquireCred() error

AcquireCred() acquire credentials Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func AddCred

func AddCred() error

AddCred() add credentials Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func AddOidSetMember

func AddOidSetMember(memberOid []byte, oidSet [][]byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)

AddOidSetMember() add OID to OID set Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func CanonicalizeName

func CanonicalizeName() error

CanonicalizeName() canonicalize name Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func CompareName

func CompareName(name1 []byte, name2 []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, nameEqual bool, err error)

CompareName() compare two names for equality Source: https://datatracker.ietf.org/doc/html/rfc2743#page-70

func CreateEmptyOidSet

func CreateEmptyOidSet() (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, oidSet [][]byte, err error)

CreateEmptyOidSet() create empty OID set Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func DisplayName

func DisplayName(name []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, nameString []byte, nameType []byte, err error)

DisplayName() translate name to printable form Source: https://datatracker.ietf.org/doc/html/rfc2743#page-71

func DisplayStatus

func DisplayStatus(statusValue int32, statusType int32, mechType []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, statusStrings []string, err error)

DisplayStatus() translate status codes to printable form Source: https://datatracker.ietf.org/doc/html/rfc2743#page-68

func DuplicateName

func DuplicateName() error

DuplicateName() duplicates a name Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func ExportName

func ExportName() error

ExportName() externalize per-mechanism name Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func GetMIC

func GetMIC(contextHandle *context.GSSAPIContext, qopReq int32, message []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, perMsgToken []byte, err error)

GetMIC() get message integrity code Source: https://datatracker.ietf.org/doc/html/rfc2743#page-63

func ImportName

func ImportName(inputNameString []byte, inputNameType []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, outputName []byte, err error)

ImportName() convert printable name to normalized form Source: https://datatracker.ietf.org/doc/html/rfc2743#page-72

func IndicateMechs

func IndicateMechs() (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, mechSet [][]byte, err error)

IndicateMechs() indicates the mech_types supported on local system Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func InquireCred

func InquireCred() error

InquireCred() inquire credentials Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func InquireCredByMech

func InquireCredByMech() error

InquireCredByMech() inquire credentials by mechanism Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func InquireMechsForName

func InquireMechsForName() error

InquireMechsForName() indicate mechanisms supported by name Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func InquireNamesForMech

func InquireNamesForMech() error

InquireNamesForMech() indicate name types supported by mechanism Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func OidToStr

func OidToStr() error

OidToStr() convert OID to string Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf

func ReleaseBuffer

func ReleaseBuffer(buffer []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)

ReleaseBuffer() free storage of general GSS-allocated object Source: https://datatracker.ietf.org/doc/html/rfc2743#page-74

func ReleaseCred

func ReleaseCred() error

ReleaseCred() release credentials Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func ReleaseName

func ReleaseName(name []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)

ReleaseName() free storage of normalized-form name Source: https://datatracker.ietf.org/doc/html/rfc2743#page-73

func ReleaseOidSet

func ReleaseOidSet() error

ReleaseOidSet() free storage of OID set Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func Seal

func Seal() error

func Sign

func Sign() error

func StrToOid

func StrToOid() error

StrToOid() convert string to OID Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf

func TestOidSetMember

func TestOidSetMember(memberOid []byte, oidSet [][]byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, present bool, err error)

TestOidSetMember() test if OID is a member of OID set Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func Unseal

func Unseal() error

func Unwrap

func Unwrap(contextHandle *context.GSSAPIContext, inputMessage []byte) (confState bool, qopState int32, major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, outputMessage []byte, err error)

Unwrap() unwrap message Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

func Verify

func Verify() error

func VerifyMIC

func VerifyMIC(contextHandle *context.GSSAPIContext, message []byte, perMsgToken []byte) (qopState int32, major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)

VerifyMIC() verify message integrity code Source: https://datatracker.ietf.org/doc/html/rfc2743#page-63

func Wrap

func Wrap(contextHandle *context.GSSAPIContext, confReqFlag bool, qopReq int32, inputMessage []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, confState bool, outputMessage []byte, err error)

Wrap() wrap message Source: https://www.rfc-editor.org/rfc/pdfrfc/rfc2743.txt.pdf#page=30

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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