uzi

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: May 23, 2022 License: GPL-3.0 Imports: 6 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const ContractFormat = "uzi"

ContractFormat is the contract format type

View Source
const VerifiablePresentationType = "NutsUziPresentation"

VerifiablePresentationType contains the string used in the VerifiablePresentation type array to indicate the Uzi means

Variables

This section is empty.

Functions

This section is empty.

Types

type Verifier

type Verifier struct {
	UziValidator services.VPProofValueParser
}

Verifier implements the Verifier interface and verifies the VerifiablePresentations of the NutsUziPresentation type.

func (Verifier) VerifyVP

VerifyVP implements the verifiablePresentation Verifier interface. It can verify an Uzi VP. It checks the signature, the attributes and the contract. Returns the contract.VPVerificationResult or an error if something went wrong.

Jump to

Keyboard shortcuts

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