data

package
v0.30.41 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

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 // currently only used for Task API to get data
	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