Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Message ¶ added in v0.11.0
type Message interface { Digest() ([]byte, error) GetValidNext() []string GetKind() string GetMetadata() message.Metadata IsValidNext(kind string) bool }
Message is the interface that all tbdex messages implement. Especially useful for decoding and parsing messages when the kind of message is not known upfront.
func ParseMessage ¶ added in v0.11.0
ParseMessage parses a message. It uses the metadata kind to determine the type of message.
Note ¶
parsing validates the message and verifies the integrity of the message which can lead to a network request in order to resolve the signer's DID
Click to show internal directories.
Click to hide internal directories.