package setup_sk
import "github.com/silence-laboratories/wallet-provider-go-sdk/setup_sk"
Index
Types
type PrivateKeyType
type PrivateKeyType string
const ( EDDSA PrivateKeyType = "eddsa" ECDSA PrivateKeyType = "ecdsa" )
type WpPrivateKey
type WpPrivateKey struct { Type PrivateKeyType `json:"type"` Key string `json:"key"` }
type WpSigningKey
type WpSigningKey struct { // contains filtered or unexported fields }
func NewWpSigningKey
func NewWpSigningKey(wpPrivateKey *WpPrivateKey) (*WpSigningKey, error)
func (*WpSigningKey) PublicKey
func (wsk *WpSigningKey) PublicKey() string
func (*WpSigningKey) Sign
func (wsk *WpSigningKey) Sign(msg []byte) string