Documentation
¶
Index ¶
- func AcquireCred() error
- func AddCred() error
- func AddOidSetMember(memberOid []byte, oidSet [][]byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)
- func CanonicalizeName() error
- func CompareName(name1 []byte, name2 []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, nameEqual bool, ...)
- func CreateEmptyOidSet() (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func DisplayName(name []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func DisplayStatus(statusValue int32, statusType int32, mechType []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func DuplicateName() error
- func ExportName() error
- func GetMIC(contextHandle *context.GSSAPIContext, qopReq int32, message []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func ImportName(inputNameString []byte, inputNameType []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func IndicateMechs() (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func InquireCred() error
- func InquireCredByMech() error
- func InquireMechsForName() error
- func InquireNamesForMech() error
- func OidToStr() error
- func ReleaseBuffer(buffer []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)
- func ReleaseCred() error
- func ReleaseName(name []byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, err error)
- func ReleaseOidSet() error
- func Seal() error
- func Sign() error
- func StrToOid() error
- func TestOidSetMember(memberOid []byte, oidSet [][]byte) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, present bool, ...)
- func Unseal() error
- func Unwrap(contextHandle *context.GSSAPIContext, inputMessage []byte) (confState bool, qopState int32, major status.GSSAPIMajorStatus, ...)
- func Verify() error
- func VerifyMIC(contextHandle *context.GSSAPIContext, message []byte, perMsgToken []byte) (qopState int32, major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, ...)
- func Wrap(contextHandle *context.GSSAPIContext, confReqFlag bool, qopReq int32, ...) (major status.GSSAPIMajorStatus, minor status.GSSAPIMinorStatus, confState bool, ...)
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 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 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 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.