kadmin

package
v5.0.0 Latest Latest
Warning

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

Go to latest
Published: May 5, 2018 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChangePasswdData

type ChangePasswdData struct {
	NewPasswd []byte              `asn1:"explicit,tag:0"`
	TargName  types.PrincipalName `asn1:"explicit,optional,tag:1"`
	TargRealm string              `asn1:"generalstring,optional,explicit,tag:2"`
}

func (*ChangePasswdData) Marshal

func (c *ChangePasswdData) Marshal() ([]byte, error)

type Reply

type Reply struct {
	MessageLength int
	Version       int
	APREPLength   int
	APREP         messages.APRep
	KRBPriv       messages.KRBPriv
	KRBError      messages.KRBError
	IsKRBError    bool
	ResultCode    uint16
	Result        string
}

func (*Reply) Decrypt

func (m *Reply) Decrypt(key types.EncryptionKey) error

func (*Reply) Unmarshal

func (m *Reply) Unmarshal(b []byte) error

type Request

type Request struct {
	APREQ   messages.APReq
	KRBPriv messages.KRBPriv
}

func ChangePasswdMsg

func ChangePasswdMsg(cname types.PrincipalName, realm, password string, tkt messages.Ticket, sessionKey types.EncryptionKey) (r Request, k types.EncryptionKey, err error)

func (*Request) Marshal

func (m *Request) Marshal() (b []byte, err error)

Jump to

Keyboard shortcuts

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