verifier

package
v0.4.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2021 License: EUPL-1.2 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasNLPrefix added in v0.3.0

func HasNLPrefix(bts []byte) bool

Types

type VerifiedCredential

type VerifiedCredential struct {
	Attributes            map[string]string
	DisclosureTimeSeconds int64
	IssuerPkId            string
	CredentialVersion     int
}

type Verifier

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

func New

func New(findIssuerPk common.FindIssuerPkFunc) *Verifier

func (*Verifier) VerifyQREncoded

func (v *Verifier) VerifyQREncoded(proof []byte) (*VerifiedCredential, error)

Jump to

Keyboard shortcuts

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