Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/jcmturner/gokrb5
/ functions
Functions
1,776 in github.com/jcmturner/gokrb5
⨍
Functions
1,776
◇
Types & classes
258
↓ 1,120 callers
Method
Equal
Equal tests if the HostAddress is equal to another HostAddress provided.
v8/types/HostAddress.go:152
↓ 1,088 callers
Method
Equal
Equal tests if the HostAddress is equal to another HostAddress provided.
types/HostAddress.go:152
↓ 339 callers
Method
New
(w http.ResponseWriter, r *http.Request, k string, v []byte)
v8/service/settings.go:161
↓ 220 callers
Method
Unmarshal
(b []byte)
v8/gssapi/gssapi.go:52
↓ 107 callers
Method
Marshal
()
v8/gssapi/gssapi.go:51
↓ 93 callers
Method
String
()
v8/keytab/keytab.go:39
↓ 43 callers
Method
GetKeyByteSize
()
v8/crypto/etype/etype.go:10
↓ 39 callers
Method
Add
Add another error statement to the error.
v8/krberror/error.go:34
↓ 37 callers
Method
Login
Login the client with the KDC via an AS exchange.
v8/client/client.go:167
↓ 36 callers
Method
Domain
Domain returns the credential's domain.
v8/credentials/credentials.go:189
↓ 34 callers
Method
Domain
Domain returns the credential's domain.
credentials/credentials.go:173
↓ 33 callers
Method
Login
Login the client with the KDC via an AS exchange.
client/client.go:164
↓ 32 callers
Method
Add
Add another error statement to the error.
krberror/error.go:34
↓ 30 callers
Method
DeriveKey
(protocolKey, usage []byte)
v8/crypto/etype/etype.go:23
↓ 29 callers
Method
OID
()
v8/gssapi/gssapi.go:107
↓ 26 callers
Method
GetHMACBitLength
()
v8/crypto/etype/etype.go:15
↓ 26 callers
Function
InvalidErrorf
InvalidErrorf creates a new Invalid error.
v8/config/error.go:26
↓ 26 callers
Function
InvalidErrorf
InvalidErrorf creates a new Invalid error.
config/error.go:26
↓ 25 callers
Method
Do
Do is the SPNEGO enabled HTTP client's equivalent of the http.Client's Do method.
v8/spnego/http.go:82
↓ 23 callers
Method
Contains
Contains tests if the cache contains a credential for the provided server PrincipalName
v8/credentials/ccache.go:211
↓ 23 callers
Method
Do
Do is the SPNEGO enabled HTTP client's equivalent of the http.Client's Do method.
spnego/http.go:77
↓ 22 callers
Method
Contains
Contains tests if the cache contains a credential for the provided server PrincipalName
credentials/ccache.go:211
↓ 22 callers
Method
EncryptData
(key, data []byte)
v8/crypto/etype/etype.go:17
↓ 22 callers
Method
PrincipalNameString
PrincipalNameString returns the PrincipalName in string form.
v8/types/PrincipalName.go:51
↓ 20 callers
Method
GetConfounderByteSize
()
v8/crypto/etype/etype.go:22
↓ 20 callers
Method
GetETypeID
()
v8/crypto/etype/etype.go:8
↓ 20 callers
Method
PrincipalNameString
PrincipalNameString returns the PrincipalName in string form.
types/PrincipalName.go:48
↓ 19 callers
Method
CName
CName returns the credential's client principal name.
v8/credentials/credentials.go:179
↓ 19 callers
Method
GetServiceTicket
GetServiceTicket makes a request to get a service ticket for the SPN specified SPN format: <SERVICE>/<FQDN> Eg. HTTP/www.example.com The ticket will b
v8/client/TGSExchange.go:84
↓ 18 callers
Method
CName
CName returns the credential's client principal name.
credentials/credentials.go:163
↓ 18 callers
Method
RandomToKey
(b []byte)
v8/crypto/etype/etype.go:14
↓ 18 callers
Method
VerifyIntegrity
(protocolKey, ct, pt []byte, usage uint32)
v8/crypto/etype/etype.go:25
↓ 17 callers
Method
GetServiceTicket
GetServiceTicket makes a request to get a service ticket for the SPN specified SPN format: <SERVICE>/<FQDN> Eg. HTTP/www.example.com The ticket will b
client/TGSExchange.go:84
↓ 16 callers
Method
DecryptData
(key, data []byte)
v8/crypto/etype/etype.go:19
↓ 15 callers
Method
Context
()
v8/gssapi/gssapi.go:54
↓ 14 callers
Method
DecryptMessage
(key, ciphertext []byte, usage uint32)
v8/crypto/etype/etype.go:20
↓ 14 callers
Method
DeriveRandom
(protocolKey, usage []byte)
v8/crypto/etype/etype.go:24
↓ 14 callers
Method
Error
Error function to implement the error interface.
v8/krberror/error.go:29
↓ 14 callers
Method
Log
Log will write to the service's logger if it is configured.
v8/client/settings.go:75
↓ 13 callers
Method
DecryptEncPart
DecryptEncPart decrypts the encrypted part of an AS_REP.
v8/messages/KDCRep.go:216
↓ 13 callers
Method
DecryptEncPart
DecryptEncPart decrypts the encrypted part of an AS_REP.
messages/KDCRep.go:149
↓ 13 callers
Method
Log
Log will write to the service's logger if it is configured.
client/settings.go:65
↓ 12 callers
Method
EncryptMessage
(key, message []byte, usage uint32)
v8/crypto/etype/etype.go:18
↓ 12 callers
Method
Error
()
v8/spnego/http.go:41
↓ 12 callers
Method
Error
Error function to implement the error interface.
krberror/error.go:29
↓ 12 callers
Method
Get
(r *http.Request, k string)
v8/service/settings.go:162
↓ 12 callers
Method
GetHashFunc
()
v8/crypto/etype/etype.go:28
↓ 12 callers
Method
StringToKey
(string, salt, s2kparams string)
v8/crypto/etype/etype.go:13
↓ 12 callers
Method
Verify
()
v8/gssapi/gssapi.go:53
↓ 12 callers
Function
parseBoolean
Parse possible boolean values to golang bool.
v8/config/krb5conf.go:694
↓ 12 callers
Function
parseBoolean
Parse possible boolean values to golang bool.
config/krb5conf.go:697
↓ 10 callers
Method
Write
(p []byte)
credentials/ccache_integration_test.go:42
↓ 9 callers
Method
Error
()
spnego/http.go:40
↓ 9 callers
Method
Log
Log will write to the service's logger if it is configured.
v8/spnego/spnego.go:93
↓ 9 callers
Method
Logger
Logger returns the client logger instance.
v8/client/settings.go:70
↓ 9 callers
Function
NewKRBError
NewKRBError creates a new KRBError.
v8/messages/KRBError.go:36
↓ 9 callers
Function
NewKRBError
NewKRBError creates a new KRBError.
messages/KRBError.go:35
↓ 9 callers
Function
NewWithKeytab
NewWithKeytab creates a new client from a keytab credential.
v8/client/client.go:49
↓ 9 callers
Method
Unmarshal
Unmarshal bytes into the ClientClaimsInfo struct
v8/pac/device_claims.go:20
↓ 9 callers
Method
Unmarshal
Unmarshal bytes into the ClientClaimsInfo struct
pac/device_claims.go:20
↓ 9 callers
Function
VerifyAPREQ
VerifyAPREQ verifies an AP_REQ sent to the service. Returns a boolean for if the AP_REQ is valid and the client's principal name and realm.
v8/service/APExchange.go:12
↓ 9 callers
Method
Write
(p []byte)
v8/credentials/ccache_integration_test.go:42
↓ 8 callers
Method
AddEntry
AddEntry adds an entry to the keytab. The password should be provided in plain text and it will be converted using the defined enctype to be stored.
v8/keytab/keytab.go:128
↓ 8 callers
Function
ClientAddress
ClientAddress used to configure service side with the clients host address to be used during validation. s := NewSettings(kt, ClientAddress(h))
v8/service/settings.go:67
↓ 8 callers
Method
GetEncryptionKey
GetEncryptionKey returns the EncryptionKey from the Keytab for the newest entry with the required kvno, etype and matching principal. If the kvno is z
v8/keytab/keytab.go:72
↓ 8 callers
Method
GetKeySeedBitLength
()
v8/crypto/etype/etype.go:11
↓ 8 callers
Method
GetMessageBlockByteSize
()
v8/crypto/etype/etype.go:16
↓ 8 callers
Method
HasKeytab
HasKeytab queries if the Credentials has a keytab defined.
v8/credentials/credentials.go:112
↓ 8 callers
Method
Logger
Logger returns the logger instances configured for the service. If none is configured nill will be returned.
v8/service/settings.go:88
↓ 8 callers
Function
NewClientWithKeytab
NewClientWithKeytab creates a new client from a keytab credential.
client/client.go:46
↓ 8 callers
Function
NewSettings
NewSettings creates a new service Settings.
v8/service/settings.go:26
↓ 8 callers
Method
UserName
Methods to implement goidentity.Identity interface UserName returns the credential's username.
v8/credentials/credentials.go:169
↓ 8 callers
Function
VerifyAPREQ
VerifyAPREQ verifies an AP_REQ sent to the service. Returns a boolean for if the AP_REQ is valid and the client's principal name and realm.
service/APExchange.go:12
↓ 8 callers
Function
getClient
()
v8/service/APExchange_test.go:413
↓ 8 callers
Function
getSessionKey
()
gssapi/wrapToken_test.go:26
↓ 8 callers
Function
getSessionKey
()
v8/gssapi/wrapToken_test.go:26
↓ 8 callers
Function
newTestAuthenticator
(creds credentials.Credentials)
v8/service/APExchange_test.go:403
↓ 8 callers
Function
readInt32
Read bytes representing a thirty two bit integer.
credentials/ccache.go:303
↓ 8 callers
Function
readInt32
Read bytes representing a thirty two bit integer.
v8/credentials/ccache.go:303
↓ 7 callers
Function
ClientAddress
ClientAddress used to configure service side with the clients host address to be used during validation. s := NewSettings(kt, ClientAddress(h))
service/settings.go:65
↓ 7 callers
Method
GetKDCs
GetKDCs returns the count of KDCs available and a map of KDC host names keyed on preference order.
v8/config/hosts.go:14
↓ 7 callers
Method
HasPassword
HasPassword queries if the Credentials has a password defined.
v8/credentials/credentials.go:132
↓ 7 callers
Method
JSON
JSON returns information about the cached service tickets in a JSON format.
v8/client/cache.go:47
↓ 7 callers
Method
Logger
Logger returns the client logger instance.
client/settings.go:60
↓ 7 callers
Method
Logger
Logger returns the logger instances configured for the service. If none is configured nill will be returned.
service/settings.go:86
↓ 7 callers
Function
NewFromString
NewFromString creates a new Config struct from a string.
v8/config/krb5conf.go:529
↓ 7 callers
Function
NewSettings
NewSettings creates a new service Settings.
service/settings.go:24
↓ 7 callers
Function
SetFlag
SetFlag sets a flag in an ASN1 BitString.
types/KerberosFlags.go:26
↓ 7 callers
Function
SetFlag
SetFlag sets a flag in an ASN1 BitString.
v8/types/KerberosFlags.go:26
↓ 7 callers
Function
SetSPNEGOHeader
SetSPNEGOHeader gets the service ticket and sets it as the SPNEGO authorization header on HTTP request object. To auto generate the SPN from the reque
spnego/http.go:162
↓ 7 callers
Function
SetSPNEGOHeader
SetSPNEGOHeader gets the service ticket and sets it as the SPNEGO authorization header on HTTP request object. To auto generate the SPN from the reque
v8/spnego/http.go:197
↓ 7 callers
Method
Unmarshal
Unmarshal bytes into the corresponding WrapToken. If expectFromAcceptor is true, we expect the token to have been emitted by the gss acceptor, and wil
gssapi/wrapToken.go:132
↓ 7 callers
Method
Unmarshal
Unmarshal bytes into the corresponding MICToken. If expectFromAcceptor is true we expect the token to have been emitted by the gss acceptor, and will
gssapi/MICToken.go:129
↓ 7 callers
Method
Unmarshal
Unmarshal bytes into the corresponding WrapToken. If expectFromAcceptor is true, we expect the token to have been emitted by the gss acceptor, and wil
v8/gssapi/wrapToken.go:132
↓ 7 callers
Method
Unmarshal
Unmarshal bytes into the corresponding MICToken. If expectFromAcceptor is true we expect the token to have been emitted by the gss acceptor, and will
v8/gssapi/MICToken.go:129
↓ 7 callers
Method
Unmarshal
Unmarshal bytes b into the KRBError struct.
v8/messages/KRBError.go:51
↓ 7 callers
Method
Unmarshal
Unmarshal bytes b into the KRBError struct.
messages/KRBError.go:50
↓ 7 callers
Function
UnmarshalNegToken
UnmarshalNegToken umarshals and returns either a NegTokenInit or a NegTokenResp. The boolean indicates if the response is a NegTokenInit. If error is
spnego/negotiationToken.go:249
↓ 7 callers
Function
UnmarshalNegToken
UnmarshalNegToken umarshals and returns either a NegTokenInit or a NegTokenResp. The boolean indicates if the response is a NegTokenInit. If error is
v8/spnego/negotiationToken.go:249
↓ 7 callers
Method
UserName
Methods to implement goidentity.Identity interface UserName returns the credential's username.
credentials/credentials.go:153
next →
1–100 of 1,776, ranked by callers