cli

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCmdQueryValidateVerifiableCredential

func GetCmdQueryValidateVerifiableCredential() *cobra.Command

GetCmdQueryValidateVerifiableCredential implements the VerifiableCredential query command.

func GetCmdQueryVerifiableCredential

func GetCmdQueryVerifiableCredential() *cobra.Command

GetCmdQueryVerifiableCredential implements the VerifiableCredential query command.

func GetCmdQueryVerifiableCredentials

func GetCmdQueryVerifiableCredentials() *cobra.Command

func GetQueryCmd

func GetQueryCmd(queryRoute string) *cobra.Command

GetQueryCmd returns the cli query commands for this module

func GetTxCmd

func GetTxCmd() *cobra.Command

GetTxCmd returns the transaction commands for this module

func NewCreateIssuerVerifiableCredentialCmd

func NewCreateIssuerVerifiableCredentialCmd() *cobra.Command

NewCreateIssuerVerifiableCredentialCmd defines the command to create a new verifiable credential.

func NewCreateKYCVerifiableCredentialCmd

func NewCreateKYCVerifiableCredentialCmd() *cobra.Command

NewCreateKYCVerifiableCredentialCmd defines the command to create a new verifiable credential.

func NewCreateUserVerifiableCredentialCmd

func NewCreateUserVerifiableCredentialCmd() *cobra.Command

NewCreateUserVerifiableCredentialCmd defines the command to create a new verifiable credential.

Types

type HmacSha256

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

HmacSha256 is the SHA256 HMAC hashing method

func New

func New(secret string) *HmacSha256

New creates a new SHA256 HMAC hashing method

func (*HmacSha256) Hash

func (h *HmacSha256) Hash(d []byte) []byte

Hash generates a SHA256 HMAC hash from a byte array

func (*HmacSha256) HashLength

func (h *HmacSha256) HashLength() int

HashLength returns the length of hashes generated by Hash() in bytes

Jump to

Keyboard shortcuts

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