verification

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const DidMethod string = "hid"

Variables

View Source
var ServiceTypes = []string{
	"LinkedDomains",
}

Functions

func IsValidID

func IsValidID(Id string, namespace string, docType string) error

Checks whether the ID in the DidDoc is a valid string

func VerifyDocumentProofSignature added in v0.1.7

func VerifyDocumentProofSignature(ssiMsg types.SsiMsg, vm *types.VerificationMethod, documentProof *types.DocumentProof) error

VerifyDocumentProofSignature verfies the proof of the SSI Document such as Credential Schema and Credential Status

func VerifySignatureOfAnyController added in v0.1.7

func VerifySignatureOfAnyController(
	didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod,
) error

VerifySignatureOfEveryController verifies any required0 verification8

func VerifySignatureOfEveryController added in v0.1.7

func VerifySignatureOfEveryController(
	didDocMsg types.SsiMsg, VmMap map[string][]*types.ExtendedVerificationMethod,
) error

VerifySignatureOfEveryController verifies every required verification method of every controller

Types

This section is empty.

Jump to

Keyboard shortcuts

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