Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AnchorIndexStatus ¶
type AnchorIndexStatus string
AnchorIndexStatus defines valid values for verifiable credential proof collection status.
const ( // AnchorIndexStatusInProcess defines "in-process" status. AnchorIndexStatusInProcess AnchorIndexStatus = "in-process" // AnchorIndexStatusCompleted defines "completed" status. AnchorIndexStatusCompleted AnchorIndexStatus = "completed" )
type Witness ¶
type Witness struct { Type WitnessType `json:"type"` URI *vocab.URLProperty `json:"uri"` HasLog bool `json:"hasLog"` Selected bool `json:"selected"` }
Witness contains info about witness.
type WitnessProof ¶
WitnessProof contains anchor index witness proof.
func (*WitnessProof) String ¶
func (wf *WitnessProof) String() string
type WitnessType ¶
type WitnessType string
WitnessType defines valid values for witness type.
const ( // WitnessTypeBatch captures "batch" witness type. WitnessTypeBatch WitnessType = "batch" // WitnessTypeSystem captures "system" witness type. WitnessTypeSystem WitnessType = "system" )
Click to show internal directories.
Click to hide internal directories.