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
v0.50.6
ROOT
/
go
/
libraries
/
doltcore
/
creds
/
creds.go
Search
History
160 lines
|
ISO-8859-1
|
3 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
toBearerToken
()
:
(string, error)
GetRequestMetadata
(ctx context.Context, uri ...string)
:
(map[string]string, error)
RequireTransportSecurity
()
:
bool
PubKeyStrToKIDStr
(pub string)
:
(string, error)
PubKeyToKID
(pub []byte)
:
[]byte
PubKeyToKIDStr
(pub []byte)
:
string
GenerateCredentials
()
:
(DoltCreds, error)
All occurrences
Please wait...
Page is in error, reload to recover