credential

package
v10.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands() *cobra.Command

Commands registers a sub-tree of commands to manage Verifiable Credentials.

func SignCmd

func SignCmd() *cobra.Command

Types

type KeyringSigner

type KeyringSigner struct {
	// contains filtered or unexported fields
}

func (KeyringSigner) Alg

func (m KeyringSigner) Alg() string

func (KeyringSigner) DIDKeyID

func (m KeyringSigner) DIDKeyID() (string, error)

func (KeyringSigner) PubKey

func (m KeyringSigner) PubKey() (cryptotypes.PubKey, error)

func (KeyringSigner) Sign

func (m KeyringSigner) Sign(data []byte) ([]byte, error)

Sign will sign document and return signature.

Jump to

Keyboard shortcuts

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