verification

package
v0.0.0-...-074f6d4 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const DidMethod string = "pidx"

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

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

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

VerifySignatureOfEveryController verifies any required0 verification8

func VerifySignatureOfEveryController

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