data

package
v0.31.65 Latest Latest
Warning

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

Go to latest
Published: May 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewIssueCredRep

func NewIssueCredRep(d []byte) psm.Rep

Types

type IssueCredRep

type IssueCredRep struct {
	psm.StateKey
	Timestamp   int64
	CredDefID   string
	CredDef     string
	CredOffer   string
	CredReqMeta string
	Values      string
	Attributes  []didcomm.CredentialAttribute
}

func GetIssueCredRep

func GetIssueCredRep(key psm.StateKey) (rep *IssueCredRep, err error)

func (*IssueCredRep) BuildCredRequest

func (rep *IssueCredRep) BuildCredRequest(packet comm.Packet) (cr string, err error)

BuildCredRequest builds credential request which is PROVER/HOLDER SIDE action.

func (*IssueCredRep) Data

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

func (*IssueCredRep) IssuerBuildCred

func (rep *IssueCredRep) IssuerBuildCred(packet comm.Packet, credReq string) (c string, err error)

IssuerBuildCred builds credentials in -- ISSUER SIDE --. Note! values are needed here!!

func (*IssueCredRep) Key

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

func (*IssueCredRep) StoreCred

func (rep *IssueCredRep) StoreCred(packet comm.Packet, cred string) error

StoreCred saves the credential to wallet which is prover/holder side action.

func (*IssueCredRep) Type

func (rep *IssueCredRep) Type() byte

Jump to

Keyboard shortcuts

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