did

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// DIDPrefix is the prefix string
	DIDPrefix = "did:io:"
	// DIDAuthType is the authentication type
	DIDAuthType = "EcdsaSecp256k1VerificationKey2019"
	// DIDOwner is the suffix string
	DIDOwner = "#owner"
)
View Source
const (

	// DIDABI is the did abi
	DIDABI = `` /* 1110-byte string literal not displayed */
)

Variables

This section is empty.

Functions

func NewDeregisterCmd

func NewDeregisterCmd(client ioctl.Client) *cobra.Command

NewDeregisterCmd represents the contract invoke deregister command

func NewDidCmd

func NewDidCmd(client ioctl.Client) *cobra.Command

NewDidCmd represents the did command

func NewDidGenerateCmd

func NewDidGenerateCmd(client ioctl.Client) *cobra.Command

NewDidGenerateCmd represents the did generate command

func NewDidGetHash

func NewDidGetHash(client ioctl.Client) *cobra.Command

NewDidGetHash represents the did get hash command

func NewDidGetURICmd

func NewDidGetURICmd(client ioctl.Client) *cobra.Command

NewDidGetURICmd represents the did get uri command

func NewDidRegisterCmd

func NewDidRegisterCmd(client ioctl.Client) *cobra.Command

NewDidRegisterCmd represents the did register command

func NewDidUpdateCmd

func NewDidUpdateCmd(client ioctl.Client) *cobra.Command

NewDidUpdateCmd represents the contract invoke update command

Types

type Doc

type Doc struct {
	Context        string                 `json:"@context,omitempty"`
	ID             string                 `json:"id,omitempty"`
	Authentication []authenticationStruct `json:"authentication,omitempty"`
}

Doc is the DID document struct

Jump to

Keyboard shortcuts

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