Versions in this module Expand all Collapse all v5 v5.3.0 Jul 31, 2018 v5.2.0 Jun 16, 2018 v5.1.0 Jun 11, 2018 v5.0.1 May 5, 2018 v5.0.0 May 5, 2018 Changes in this version + func MarshalTicketSequence(tkts []Ticket) (asn1.RawValue, error) + type APRep struct + EncPart types.EncryptedData + MsgType int + PVNO int + func (a *APRep) Unmarshal(b []byte) error + type APReq struct + APOptions asn1.BitString + Authenticator types.EncryptedData + MsgType int + PVNO int + Ticket Ticket + func NewAPReq(tkt Ticket, sessionKey types.EncryptionKey, auth types.Authenticator) (APReq, error) + func (a *APReq) DecryptAuthenticator(sessionKey types.EncryptionKey) (auth types.Authenticator, err error) + func (a *APReq) Marshal() ([]byte, error) + func (a *APReq) Unmarshal(b []byte) error + type ASRep struct + func (k *ASRep) DecryptEncPart(c *credentials.Credentials) (types.EncryptionKey, error) + func (k *ASRep) IsValid(cfg *config.Config, creds *credentials.Credentials, asReq ASReq) (bool, error) + func (k *ASRep) Unmarshal(b []byte) error + type ASReq struct + func NewASReq(realm string, c *config.Config, cname, sname types.PrincipalName) (ASReq, error) + func NewASReqForChgPasswd(realm string, c *config.Config, cname types.PrincipalName) (ASReq, error) + func NewASReqForTGT(realm string, c *config.Config, cname types.PrincipalName) (ASReq, error) + func (k *ASReq) Marshal() ([]byte, error) + func (k *ASReq) Unmarshal(b []byte) error + type EncAPRepPart struct + CTime time.Time + Cusec int + SequenceNumber int64 + Subkey types.EncryptionKey + func (a *EncAPRepPart) Unmarshal(b []byte) error + type EncKDCRepPart struct + AuthTime time.Time + CAddr []types.HostAddress + EncPAData types.PADataSequence + EndTime time.Time + Flags asn1.BitString + Key types.EncryptionKey + KeyExpiration time.Time + LastReqs []LastReq + Nonce int + RenewTill time.Time + SName types.PrincipalName + SRealm string + StartTime time.Time + func (e *EncKDCRepPart) Unmarshal(b []byte) error + type EncKrbCredPart struct + Nouce int + RAddress types.HostAddress + SAddress types.HostAddress + TicketInfo []KrbCredInfo + Timestamp time.Time + Usec int + func (k *EncKrbCredPart) Unmarshal(b []byte) error + type EncKrbPrivPart struct + RAddress types.HostAddress + SAddress types.HostAddress + SequenceNumber int64 + Timestamp time.Time + Usec int + UserData []byte + func (k *EncKrbPrivPart) Unmarshal(b []byte) error + type EncTicketPart struct + AuthTime time.Time + AuthorizationData types.AuthorizationData + CAddr types.HostAddresses + CName types.PrincipalName + CRealm string + EndTime time.Time + Flags asn1.BitString + Key types.EncryptionKey + RenewTill time.Time + StartTime time.Time + Transited TransitedEncoding + func (t *EncTicketPart) Unmarshal(b []byte) error + type KDCRepFields struct + CName types.PrincipalName + CRealm string + DecryptedEncPart EncKDCRepPart + EncPart types.EncryptedData + MsgType int + PAData []types.PAData + PVNO int + Ticket Ticket + type KDCReqBody struct + AdditionalTickets []Ticket + Addresses []types.HostAddress + CName types.PrincipalName + EType []int32 + EncAuthData types.EncryptedData + From time.Time + KDCOptions asn1.BitString + Nonce int + RTime time.Time + Realm string + SName types.PrincipalName + Till time.Time + func (k *KDCReqBody) Marshal() ([]byte, error) + func (k *KDCReqBody) Unmarshal(b []byte) error + type KDCReqFields struct + MsgType int + PAData types.PADataSequence + PVNO int + Renewal bool + ReqBody KDCReqBody + type KRBCred struct + DecryptedEncPart EncKrbCredPart + EncPart types.EncryptedData + MsgType int + PVNO int + Tickets []Ticket + func (k *KRBCred) DecryptEncPart(key types.EncryptionKey) error + func (k *KRBCred) Unmarshal(b []byte) error + type KRBError struct + CName types.PrincipalName + CRealm string + CTime time.Time + Cusec int + EData []byte + EText string + ErrorCode int32 + MsgType int + PVNO int + Realm string + SName types.PrincipalName + STime time.Time + Susec int + func NewKRBError(sname types.PrincipalName, realm string, code int32, etext string) KRBError + func (k *KRBError) Unmarshal(b []byte) error + func (k KRBError) Error() string + type KRBPriv struct + DecryptedEncPart EncKrbPrivPart + EncPart types.EncryptedData + MsgType int + PVNO int + func NewKRBPriv(part EncKrbPrivPart) KRBPriv + func (k *KRBPriv) DecryptEncPart(key types.EncryptionKey) error + func (k *KRBPriv) EncryptEncPart(key types.EncryptionKey) error + func (k *KRBPriv) Marshal() ([]byte, error) + func (k *KRBPriv) Unmarshal(b []byte) error + type KRBSafe struct + Cksum types.Checksum + MsgType int + PVNO int + SafeBody KRBSafeBody + func (s *KRBSafe) Unmarshal(b []byte) error + type KRBSafeBody struct + RAddress types.HostAddress + SAddress types.HostAddress + SequenceNumber int64 + Timestamp time.Time + Usec int + UserData []byte + type KrbCredInfo struct + AuthTime time.Time + CAddr types.HostAddresses + EndTime time.Time + Flags asn1.BitString + Key types.EncryptionKey + PName types.PrincipalName + PRealm string + RenewTill time.Time + SName types.PrincipalName + SRealm string + StartTime time.Time + type LastReq struct + LRType int32 + LRValue time.Time + type TGSRep struct + func (k *TGSRep) DecryptEncPart(key types.EncryptionKey) error + func (k *TGSRep) IsValid(cfg *config.Config, tgsReq TGSReq) (bool, error) + func (k *TGSRep) Unmarshal(b []byte) error + type TGSReq struct + func NewTGSReq(cname types.PrincipalName, kdcRealm string, c *config.Config, tkt Ticket, ...) (TGSReq, error) + func (k *TGSReq) Marshal() ([]byte, error) + func (k *TGSReq) Unmarshal(b []byte) error + type Ticket struct + DecryptedEncPart EncTicketPart + EncPart types.EncryptedData + Realm string + SName types.PrincipalName + TktVNO int + func NewTicket(cname types.PrincipalName, crealm string, sname types.PrincipalName, ...) (Ticket, types.EncryptionKey, error) + func UnmarshalTicket(b []byte) (t Ticket, err error) + func UnmarshalTicketsSequence(in asn1.RawValue) ([]Ticket, error) + func (t *Ticket) DecryptEncPart(keytab keytab.Keytab, sa string) error + func (t *Ticket) GetPACType(keytab keytab.Keytab, sa string) (bool, pac.PACType, error) + func (t *Ticket) Marshal() ([]byte, error) + func (t *Ticket) Unmarshal(b []byte) error + type TransitedEncoding struct + Contents []byte + TRType int32 Other modules containing this package gopkg.in/Osirium/gokrb5.v4 gopkg.in/Osirium/gokrb5.v6 gopkg.in/Osirium/gokrb5.v7 gopkg.in/Osirium/gokrb5.v8