verifypresentation

package
v1.0.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2023 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	VDR            vdrapi.Registry
	DocumentLoader ld.DocumentLoader
	VcVerifier     vcVerifier
}

type Options

type Options struct {
	Domain    string
	Challenge string
}

type PresentationVerificationCheckResult

type PresentationVerificationCheckResult struct {
	Check string
	Error string
}

PresentationVerificationCheckResult resp containing failure check details.

type Service

type Service struct {
	// contains filtered or unexported fields
}

func New

func New(config *Config) *Service

func (*Service) VerifyPresentation

func (s *Service) VerifyPresentation(
	presentation *verifiable.Presentation,
	opts *Options,
	profile *profileapi.Verifier) ([]PresentationVerificationCheckResult, error)

Jump to

Keyboard shortcuts

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