Source File
ssh_gss.go
Belonging Package
golang.org/x/crypto/ssh
DeleteSecContext() error
}
DeleteSecContext() error
}
krb5Mesh = asn1.ObjectIdentifier{1, 2, 840, 113554, 1, 2, 2}
)
type userAuthRequestGSSAPI struct {
N uint32
OIDS []asn1.ObjectIdentifier
}
func ( []byte) (*userAuthRequestGSSAPI, error) {
, , := parseUint32()
if ! {
return nil, errors.New("parse uint32 failed")
}
:= &userAuthRequestGSSAPI{
N: ,
OIDS: make([]asn1.ObjectIdentifier, ),
}
for := 0; < int(); ++ {
var (
[]byte
error
)
, , = parseString()
if ! {
return nil, errors.New("parse string failed")
}
if , = asn1.Unmarshal(, &.OIDS[]); != nil {
return nil,
}
}
return , nil
}
func ( string, string, string, string) []byte {
:= make([]byte, 0, 0)
= appendString(, )
= append(, msgUserAuthRequest)
= appendString(, )
= appendString(, )
= appendString(, )
return
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |