casp

package
v0.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSignOperation

func GetSignOperation(operationID string) (casp.SignOperationResponse, error)

func GetUncompressedEthPublicKeys

func GetUncompressedEthPublicKeys() (casp.UncompressedPublicKeysResponse, error)

func GetUncompressedTMPublicKeys

func GetUncompressedTMPublicKeys() (casp.UncompressedPublicKeysResponse, error)

func PostSignData added in v0.6.0

func PostSignData(dataToSign []string, publicKeys []string, description string) (casp.PostSignDataResponse, error)

Types

type SignDataRequest

type SignDataRequest struct {
	DataToSign              []string `json:"dataToSign"`
	Description             string   `json:"description"`
	ProviderData            string   `json:"providerData"`
	Details                 string   `json:"details"`
	PublicKeys              []string `json:"publicKeys"`
	AllowConcurrentKeyUsage bool     `json:"allowConcurrentKeyUsage"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL