signature

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const Ed25519VerificationKey2020 = "Ed25519VerificationKey2020"

Supported Verification Method Types

Variables

This section is empty.

Functions

func DocumentProofTypeCheck

func DocumentProofTypeCheck(inputProofType string, signers []types.Signer, vmId string) error

func VerifyDidSignature

func VerifyDidSignature(ctx *sdk.Context, msg *types.Did, signers []types.Signer, signatures []*types.SignInfo) error

func VerifyDocumentSignature

func VerifyDocumentSignature(ctx *sdk.Context, msg types.IdentityMsg, signers []types.Signer, signatures []*types.SignInfo) error

Verify Signature for Credential Schema and Credential Status Documents

func VerifyIdentitySignature

func VerifyIdentitySignature(signer types.Signer, signatures []*types.SignInfo, signingInput []byte) (bool, error)

Verify signatures against signer's public keys If atleast one of the signatures is valid, return true

Types

This section is empty.

Jump to

Keyboard shortcuts

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