Documentation ¶
Index ¶
- func GetClientID() string
- func GetClientPublicKey() string
- func GetClientSysKeys() []sys.KeyPair
- func PopulateClient(clientjson string, signatureScheme string) error
- func PopulateClients(clientJsons []string, signatureScheme string) error
- func SetClientNonce(nonce int64)
- func SignHash(hash string, signatureScheme string, keys []sys.KeyPair) (string, error)
- func VerifySignature(signature string, msg string) (bool, error)
- type Client
- type SignFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetClientID ¶
func GetClientID() string
func GetClientPublicKey ¶
func GetClientPublicKey() string
func GetClientSysKeys ¶ added in v1.7.6
GetClientSysKeys convert client.KeyPair to sys.KeyPair
func PopulateClient ¶
Populate Single Client
func PopulateClients ¶ added in v1.4.7
PopulateClients This is a workaround for blobber tests that requires multiple clients to test authticket functionality
func SetClientNonce ¶ added in v1.8.3
func SetClientNonce(nonce int64)
Types ¶
type Client ¶
func GetClients ¶ added in v1.4.7
func GetClients() []*Client
Click to show internal directories.
Click to hide internal directories.