proof

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 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 VCStatus

type VCStatus string

VCStatus defines valid values for verifiable credential proof collection status.

const (

	// VCStatusInProcess defines "in-process" status.
	VCStatusInProcess VCStatus = "in-process"

	// VCStatusCompleted defines "completed" status.
	VCStatusCompleted VCStatus = "completed"
)

type WitnessProof

type WitnessProof struct {
	Type    WitnessType
	Witness string
	Proof   []byte
}

WitnessProof contains anchor credential witness proof.

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"
)

Jump to

Keyboard shortcuts

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