Documentation ¶
Index ¶
- type Pairwise
- func (pw Pairwise) BasicMessage(ctx context.Context, content string) (pid *agency.ProtocolID, err error)
- func (pw *Pairwise) Connection(ctx context.Context, invitationStr string) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) Issue(ctx context.Context, credDefID, attrsJSON string) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) IssueWithAttrs(ctx context.Context, credDefID string, ...) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ProposeIssue(ctx context.Context, credDefID, attrsJSON string) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ProposeIssueWithAttrs(ctx context.Context, credDefID string, ...) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ProposeProof(ctx context.Context, proofAttrs string) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ProposeProofWithAttrs(ctx context.Context, proofAttrs *agency.Protocol_Proof) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ReqProof(ctx context.Context, proofAttrs string) (pid *agency.ProtocolID, err error)
- func (pw Pairwise) ReqProofWithAttrs(ctx context.Context, proofAttrs *agency.Protocol_Proof) (pid *agency.ProtocolID, err error)
- func (pw *Pairwise) Resume(ctx context.Context, id string, protocol agency.Protocol_Type, ...) (pid *agency.ProtocolID, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pairwise ¶
func NewPairwise ¶
func (Pairwise) BasicMessage ¶
func (*Pairwise) Connection ¶
func (pw *Pairwise) Connection(ctx context.Context, invitationStr string) (pid *agency.ProtocolID, err error)
Connection is a helper wrapper to start a connection protocol in the agency. The invitationStr accepts both JSON and URL formated invitations. The agency does the same.
func (Pairwise) IssueWithAttrs ¶
func (pw Pairwise) IssueWithAttrs( ctx context.Context, credDefID string, attrs *agency.Protocol_IssuingAttributes, ) ( pid *agency.ProtocolID, err error, )
func (Pairwise) ProposeIssue ¶ added in v0.1.17
func (Pairwise) ProposeIssueWithAttrs ¶ added in v0.1.17
func (pw Pairwise) ProposeIssueWithAttrs( ctx context.Context, credDefID string, attrs *agency.Protocol_IssuingAttributes, ) ( pid *agency.ProtocolID, err error, )
func (Pairwise) ProposeProof ¶ added in v0.1.17
func (Pairwise) ProposeProofWithAttrs ¶ added in v0.1.17
func (pw Pairwise) ProposeProofWithAttrs(ctx context.Context, proofAttrs *agency.Protocol_Proof) (pid *agency.ProtocolID, err error)
func (Pairwise) ReqProofWithAttrs ¶
func (pw Pairwise) ReqProofWithAttrs(ctx context.Context, proofAttrs *agency.Protocol_Proof) (pid *agency.ProtocolID, err error)
func (*Pairwise) Resume ¶
func (pw *Pairwise) Resume( ctx context.Context, id string, protocol agency.Protocol_Type, protocolState agency.ProtocolState_State, ) ( pid *agency.ProtocolID, err error, )
Click to show internal directories.
Click to hide internal directories.