didexchange

package
v0.31.4 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PwMsg added in v0.30.43

type PwMsg interface {
	didcomm.MessageHdr

	Endpoint() service.Addr
	Did() string
	VerKey() string
	Label() string
	DIDDocument() core.DIDDoc
	RoutingKeys() []string

	Verify(DID core.DID) error

	PayloadToSend(ourLabel string, ourDID core.DID) (didcomm.Payload, psm.SubState, error)
	PayloadToWait() (didcomm.Payload, psm.SubState)
}

PwMsg is an interface for pairwise protocol messages. It abstracts the protocol message implementation and provides needed data accessors for connection protocol engine.

type UnsupportedPwMsgBase added in v0.30.43

type UnsupportedPwMsgBase struct{}

func (*UnsupportedPwMsgBase) DIDDocument added in v0.30.43

func (m *UnsupportedPwMsgBase) DIDDocument() core.DIDDoc

func (*UnsupportedPwMsgBase) Did added in v0.30.43

func (m *UnsupportedPwMsgBase) Did() string

func (*UnsupportedPwMsgBase) Endpoint added in v0.30.43

func (m *UnsupportedPwMsgBase) Endpoint() service.Addr

func (*UnsupportedPwMsgBase) Label added in v0.30.43

func (m *UnsupportedPwMsgBase) Label() string

func (*UnsupportedPwMsgBase) PayloadToSend added in v0.30.43

func (m *UnsupportedPwMsgBase) PayloadToSend(_ string, _ core.DID) (didcomm.Payload, psm.SubState, error)

func (*UnsupportedPwMsgBase) PayloadToWait added in v0.30.43

func (m *UnsupportedPwMsgBase) PayloadToWait() (didcomm.Payload, psm.SubState)

func (*UnsupportedPwMsgBase) RoutingKeys added in v0.30.43

func (m *UnsupportedPwMsgBase) RoutingKeys() []string

func (*UnsupportedPwMsgBase) SetID added in v0.30.43

func (m *UnsupportedPwMsgBase) SetID(_ string)

func (*UnsupportedPwMsgBase) SetType added in v0.30.43

func (m *UnsupportedPwMsgBase) SetType(_ string)

func (*UnsupportedPwMsgBase) VerKey added in v0.30.43

func (m *UnsupportedPwMsgBase) VerKey() string

func (*UnsupportedPwMsgBase) Verify added in v0.30.43

func (m *UnsupportedPwMsgBase) Verify(_ core.DID) error

Directories

Path Synopsis
Package didexchange is currently used for connection protocol implementation
Package didexchange is currently used for connection protocol implementation

Jump to

Keyboard shortcuts

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