Source File
	client_info.go
Belonging Package
	github.com/jcmturner/gokrb5/v8/pac
package pacimport ()// ClientInfo implements https://msdn.microsoft.com/en-us/library/cc237951.aspxtype ClientInfo struct {ClientID mstypes.FileTime // A FILETIME structure in little-endian format that contains the Kerberos initial ticket-granting ticket TGT authentication timeNameLength uint16 // An unsigned 16-bit integer in little-endian format that specifies the length, in bytes, of the Name field.Name string // An array of 16-bit Unicode characters in little-endian format that contains the client's account name.}// Unmarshal bytes into the ClientInfo structfunc ( *ClientInfo) ( []byte) ( error) {//The PAC_CLIENT_INFO structure is a simple structure that is not NDR-encoded.:= mstypes.NewReader(bytes.NewReader()).ClientID, = .FileTime()if != nil {return}.NameLength, = .Uint16()if != nil {return}.Name, = .UTF16String(int(.NameLength))return}
![]()  | 
The pages are generated with Golds v0.6.7. (GOOS=linux 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. |