data

package
v0.31.69 Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: Apache-2.0 Imports: 11 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

This section is empty.

Variables

This section is empty.

Functions

func NewPresentProofRep

func NewPresentProofRep(d []byte) psm.Rep

Types

type PresentProofRep

type PresentProofRep struct {
	psm.StateKey
	ProofReq   string
	Proof      string
	Values     []string // TODO: reserved for indy-WQL
	WeProposed bool
	Attributes []didcomm.ProofAttribute
}

func GetPresentProofRep

func GetPresentProofRep(key psm.StateKey) (rep *PresentProofRep, err error)

func (*PresentProofRep) CreateProof

func (rep *PresentProofRep) CreateProof(packet comm.Packet, rootDID string) (err error)

CreateProof is PROVER side helper.

func (*PresentProofRep) Data

func (rep *PresentProofRep) Data() []byte

func (*PresentProofRep) Key

func (rep *PresentProofRep) Key() psm.StateKey

func (*PresentProofRep) Type

func (rep *PresentProofRep) Type() byte

func (*PresentProofRep) VerifyProof

func (rep *PresentProofRep) VerifyProof(packet comm.Packet) (ack bool, err error)

Jump to

Keyboard shortcuts

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