Documentation ¶
Index ¶
- Variables
- func Authentications(d core.DIDDoc) []did.Verification
- func ID(d core.DIDDoc) string
- func RecipientKeys(d core.DIDDoc, i int) []string
- func RountingKeys(d core.DIDDoc, i int) []string
- func Service(d core.DIDDoc, i int) did.Service
- func Services(d core.DIDDoc) []did.Service
- func SetServices(d core.DIDDoc, s []did.Service)
- func VM(d core.DIDDoc, i int) did.VerificationMethod
- func VMs(d core.DIDDoc) []did.VerificationMethod
- func Value(doc core.DIDDoc, i int) []byte
- func Value58(doc core.DIDDoc, i int) string
- type Ack
- type AckFactor
- type AckImpl
- type Code
- type Forward
- type ProblemReport
- type ProblemReportFactor
- type ProblemReportImpl
- func (p *ProblemReportImpl) FieldObj() interface{}
- func (p *ProblemReportImpl) ID() string
- func (p *ProblemReportImpl) JSON() []byte
- func (p *ProblemReportImpl) SetID(id string)
- func (p *ProblemReportImpl) SetType(t string)
- func (p *ProblemReportImpl) Thread() *decorator.Thread
- func (p *ProblemReportImpl) Type() string
Constants ¶
This section is empty.
Variables ¶
View Source
var AckCreator = &AckFactor{}
View Source
var ProblemReportCreator = &ProblemReportFactor{}
Functions ¶
func Authentications ¶ added in v0.30.15
func Authentications(d core.DIDDoc) []did.Verification
Types ¶
type Ack ¶
type Ack struct { Type string `json:"@type,omitempty"` ID string `json:"@id,omitempty"` Status string `json:"status,omitempty"` Thread *decorator.Thread `json:"~thread,omitempty"` }
Ack acknowledgement struct
type AckFactor ¶
type AckFactor struct{}
func (*AckFactor) NewMessage ¶
func (f *AckFactor) NewMessage(data []byte) didcomm.MessageHdr
type Forward ¶ added in v0.25.27
type Forward struct { Type string `json:"@type,omitempty"` ID string `json:"@id,omitempty"` To string `json:"to,omitempty"` Msg map[string]interface{} `json:"msg,omitempty"` }
Forward route forward message. nolint:lll // url in the next line is long https://github.com/hyperledger/aries-rfcs/blob/main/concepts/0094-cross-domain-messaging/README.md#corerouting10forward
type ProblemReport ¶
type ProblemReport struct { Type string `json:"@type"` ID string `json:"@id"` Description Code `json:"description"` ExplainLongTxt string `json:"explain-ltxt,omitempty"` // ACApy Thread *decorator.Thread `json:"~thread,omitempty"` }
ProblemReport problem report definition TODO: need to provide full ProblemReport structure https://github.com/hyperledger/aries-framework-go/issues/912
type ProblemReportFactor ¶
type ProblemReportFactor struct{}
func (*ProblemReportFactor) NewMessage ¶
func (f *ProblemReportFactor) NewMessage(data []byte) didcomm.MessageHdr
func (*ProblemReportFactor) NewMsg ¶
func (f *ProblemReportFactor) NewMsg(init didcomm.MsgInit) didcomm.MessageHdr
type ProblemReportImpl ¶
type ProblemReportImpl struct {
*ProblemReport
}
MARK: Struct
func NewProblemReport ¶
func NewProblemReport(r *ProblemReport) *ProblemReportImpl
func NewProblemReportMsg ¶
func NewProblemReportMsg(data []byte) *ProblemReportImpl
func (*ProblemReportImpl) FieldObj ¶
func (p *ProblemReportImpl) FieldObj() interface{}
func (*ProblemReportImpl) ID ¶
func (p *ProblemReportImpl) ID() string
func (*ProblemReportImpl) JSON ¶
func (p *ProblemReportImpl) JSON() []byte
func (*ProblemReportImpl) SetID ¶
func (p *ProblemReportImpl) SetID(id string)
func (*ProblemReportImpl) SetType ¶
func (p *ProblemReportImpl) SetType(t string)
func (*ProblemReportImpl) Thread ¶
func (p *ProblemReportImpl) Thread() *decorator.Thread
func (*ProblemReportImpl) Type ¶
func (p *ProblemReportImpl) Type() string
Click to show internal directories.
Click to hide internal directories.