did

package
v0.0.0-...-00d340d Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DidContext

type DidContext string

type DidEndpoint

type DidEndpoint string

type DidStatus

type DidStatus string

Did status define

const (
	DSValid   DidStatus = "Valid"
	DSInvalid DidStatus = "Invalid"
	DSIssued  DidStatus = "Issued"
)

type DidType

type DidType string

Did type define

const (
	// Common did type (Main wallet type)
	DTAsset        DidType = "Asset"
	DTEntity       DidType = "Entity"
	DTOrganization DidType = "Organization"
	DTPerson       DidType = "Person"      //Individual
	DTIndependent  DidType = "Independent" //Independent person
	DTDependent    DidType = "Dependent"   //Dependent person
	DTSerialNumber DidType = "SerialNumber"

	// Sub wallet did type
	DTCash     DidType = "cash"
	DTFee      DidType = "fee"
	DTLoan     DidType = "loan"
	DTInterest DidType = "interest"
)

type Identifier

type Identifier string

IDIdentity format "did:<provider short id>:id_string" IVerifiableClaim format "vcm:<adapter shrot id>:id_string"

Jump to

Keyboard shortcuts

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