Versions in this module Expand all Collapse all v8 v8.5.1 Mar 8, 2023 Changes in this version + func GetPAEncTSEncAsnMarshalled() ([]byte, error) + func HostAddressesContains(h []HostAddress, a HostAddress) bool + func HostAddressesEqual(h, a []HostAddress) bool + func IsFlagSet(f *asn1.BitString, i int) bool + func NewKrbFlags() asn1.BitString + func SetFlag(f *asn1.BitString, i int) + func SetFlags(f *asn1.BitString, j []int) + func UnsetFlag(f *asn1.BitString, i int) + func UnsetFlags(f *asn1.BitString, j []int) + type ADAndOr struct + ConditionCount int32 + Elements AuthorizationData + type ADIfRelevant AuthorizationData + type ADKDCIssued struct + ADChecksum Checksum + Elements AuthorizationData + IRealm string + Isname PrincipalName + func (a *ADKDCIssued) Unmarshal(b []byte) error + type ADMandatoryForKDC AuthorizationData + type Authenticator struct + AVNO int + AuthorizationData AuthorizationData + CName PrincipalName + CRealm string + CTime time.Time + Cksum Checksum + Cusec int + SeqNumber int64 + SubKey EncryptionKey + func NewAuthenticator(realm string, cname PrincipalName) (Authenticator, error) + func (a *Authenticator) GenerateSeqNumberAndSubKey(keyType int32, keySize int) error + func (a *Authenticator) Marshal() ([]byte, error) + func (a *Authenticator) Unmarshal(b []byte) error + type AuthorizationData []AuthorizationDataEntry + func (a *AuthorizationData) Unmarshal(b []byte) error + type AuthorizationDataEntry struct + ADData []byte + ADType int32 + func (a *AuthorizationDataEntry) Unmarshal(b []byte) error + type Checksum struct + Checksum []byte + CksumType int32 + func (a *Checksum) Unmarshal(b []byte) error + type ETypeInfo []ETypeInfoEntry + func (a *ETypeInfo) Unmarshal(b []byte) error + type ETypeInfo2 []ETypeInfo2Entry + func (a *ETypeInfo2) Unmarshal(b []byte) error + type ETypeInfo2Entry struct + EType int32 + S2KParams []byte + Salt string + func (a *ETypeInfo2Entry) Unmarshal(b []byte) error + type ETypeInfoEntry struct + EType int32 + Salt []byte + func (a *ETypeInfoEntry) Unmarshal(b []byte) error + type EncryptedData struct + Cipher []byte + EType int32 + KVNO int + func (a *EncryptedData) Marshal() ([]byte, error) + func (a *EncryptedData) Unmarshal(b []byte) error + type EncryptionKey struct + KeyType int32 + KeyValue []byte + func GenerateEncryptionKey(etype etype.EType) (EncryptionKey, error) + func (a *EncryptionKey) Unmarshal(b []byte) error + type HostAddress struct + AddrType int32 + Address []byte + func GetHostAddress(s string) (HostAddress, error) + func HostAddressFromNetIP(ip net.IP) HostAddress + func (h *HostAddress) Equal(a HostAddress) bool + func (h *HostAddress) GetAddress() (string, error) + type HostAddresses []HostAddress + func HostAddressesFromNetIPs(ips []net.IP) (ha HostAddresses) + func LocalHostAddresses() (ha HostAddresses, err error) + func (h *HostAddresses) Contains(a HostAddress) bool + func (h *HostAddresses) Equal(a []HostAddress) bool + type MethodData []PAData + type PAData struct + PADataType int32 + PADataValue []byte + func (pa *PAData) GetETypeInfo() (d ETypeInfo, err error) + func (pa *PAData) GetETypeInfo2() (d ETypeInfo2, err error) + func (pa *PAData) Unmarshal(b []byte) error + type PADataSequence []PAData + func (pas *PADataSequence) Contains(patype int32) bool + func (pas *PADataSequence) Unmarshal(b []byte) error + type PAEncTSEnc struct + PATimestamp time.Time + PAUSec int + func (pa *PAEncTSEnc) Unmarshal(b []byte) error + type PAEncTimestamp EncryptedData + func (pa *PAEncTimestamp) Unmarshal(b []byte) error + type PAReqEncPARep struct + Chksum []byte + ChksumType int32 + func (pa *PAReqEncPARep) Unmarshal(b []byte) error + type PrincipalName struct + NameString []string + NameType int32 + func NewPrincipalName(ntype int32, spn string) PrincipalName + func ParseSPNString(spn string) (pn PrincipalName, realm string) + func (pn PrincipalName) Equal(n PrincipalName) bool + func (pn PrincipalName) GetSalt(realm string) string + func (pn PrincipalName) PrincipalNameString() string + type TypedData struct + DataType int32 + DataValue []byte + type TypedDataSequence []TypedData + func (a *TypedDataSequence) Unmarshal(b []byte) error Other modules containing this package github.com/jesusdf/gokrb5