Documentation ¶
Index ¶
- func NewIssueCredRep(d []byte) psm.Rep
- type IssueCredRep
- func (rep *IssueCredRep) BuildCredRequest(packet comm.Packet) (cr string, err error)
- func (rep *IssueCredRep) Data() []byte
- func (rep *IssueCredRep) IssuerBuildCred(packet comm.Packet, credReq string) (c string, err error)
- func (rep *IssueCredRep) Key() psm.StateKey
- func (rep *IssueCredRep) StoreCred(packet comm.Packet, cred string) error
- func (rep *IssueCredRep) Type() byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIssueCredRep ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.