crash.software
Projects
Pull Requests
Issues
Builds
dolt
Code
Files
Commits
Branches
Tags
Pull Requests
Code Comments
Code Compare
Issues
List
Boards
Milestones
Builds
Statistics
Contributions
Source Lines
Child Projects
Projects
STRLCPY
dolt
Files
🤬
Sign In
9becfc9d
ROOT
/
go
/
libraries
/
doltcore
/
creds
/
creds.go
Search
History
179 lines
|
ISO-8859-1
|
4 KB
Blame
Outline
2
4
8
No wrap
Soft wrap
Outline
pubKeySize
privKeySize
B32CharEncoding
B32EncodedPubKeyLen
B32EncodedKeyIdLen
JWTKIDHeader
JWTAlgHeader
B32CredsByteSet
B32CredsEncoding
EmptyCreds
ErrBadB32CredsEncoding
ErrCredsNotFound
DoltCreds
PubKey
:
[]byte
PrivKey
:
[]byte
KeyID
:
[]byte
HasPrivKey
()
:
bool
IsPrivKeyValid
()
:
bool
IsPubKeyValid
()
:
bool
PubKeyBase32Str
()
:
string
PrivKeyBase32Str
()
:
string
KeyIDBase32Str
()
:
string
Sign
(data []byte)
:
[]byte
RPCCreds
()
:
*RPCCreds
PubKeyStrToKIDStr
(pub string)
:
(string, error)
PubKeyToKID
(pub []byte)
:
[]byte
PubKeyToKIDStr
(pub []byte)
:
string
GenerateCredentials
()
:
(DoltCreds, error)
RPCCreds
PrivKey
:
ed25519.PrivateKey
KeyID
:
string
Audience
:
string
Issuer
:
string
Subject
:
string
RequireTLS
:
bool
RemotesAPIAudience
ClientIssuer
*RPCCreds
toBearerToken
()
:
(string, error)
GetRequestMetadata
(ctx context.Context, uri ...string)
:
(map[string]string, error)
RequireTransportSecurity
()
:
bool
All occurrences
Please wait...
Page is in error, reload to recover