Documentation
¶
Index ¶
- func GetCmdQueryValidateVerifiableCredential() *cobra.Command
- func GetCmdQueryVerifiableCredential() *cobra.Command
- func GetCmdQueryVerifiableCredentials() *cobra.Command
- func GetQueryCmd(queryRoute string) *cobra.Command
- func GetTxCmd() *cobra.Command
- func NewCreateIssuerVerifiableCredentialCmd() *cobra.Command
- func NewCreateKYCVerifiableCredentialCmd() *cobra.Command
- func NewCreateUserVerifiableCredentialCmd() *cobra.Command
- type HmacSha256
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCmdQueryValidateVerifiableCredential ¶
GetCmdQueryValidateVerifiableCredential implements the VerifiableCredential query command.
func GetCmdQueryVerifiableCredential ¶
GetCmdQueryVerifiableCredential implements the VerifiableCredential query command.
func GetQueryCmd ¶
GetQueryCmd returns the cli query commands for this module
func NewCreateIssuerVerifiableCredentialCmd ¶
NewCreateIssuerVerifiableCredentialCmd defines the command to create a new verifiable credential.
func NewCreateKYCVerifiableCredentialCmd ¶
NewCreateKYCVerifiableCredentialCmd defines the command to create a new verifiable credential.
func NewCreateUserVerifiableCredentialCmd ¶
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 (*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