Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPresentProofRep ¶
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)
Click to show internal directories.
Click to hide internal directories.