types

package
v0.0.0-...-893f904 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_api_did_transport_types_transport_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Envelope

type Envelope struct {
	MediaTypeProfile string `protobuf:"bytes,1,opt,name=mediaTypeProfile,proto3" json:"mediaTypeProfile,omitempty"`
	Message          []byte `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	FromKey          []byte `protobuf:"bytes,3,opt,name=fromKey,proto3" json:"fromKey,omitempty"`
	// ToKeys stores keys for an outbound message packing
	ToKeys []string `protobuf:"bytes,4,rep,name=toKeys,proto3" json:"toKeys,omitempty"`
	// ToKey holds the key that was used to decrypt an inbound message
	ToKey []byte `protobuf:"bytes,5,opt,name=toKey,proto3" json:"toKey,omitempty"`
	// contains filtered or unexported fields
}

Envelope holds message data and metadata for inbound and outbound messaging.

func (*Envelope) Descriptor deprecated

func (*Envelope) Descriptor() ([]byte, []int)

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetFromKey

func (x *Envelope) GetFromKey() []byte

func (*Envelope) GetMediaTypeProfile

func (x *Envelope) GetMediaTypeProfile() string

func (*Envelope) GetMessage

func (x *Envelope) GetMessage() []byte

func (*Envelope) GetToKey

func (x *Envelope) GetToKey() []byte

func (*Envelope) GetToKeys

func (x *Envelope) GetToKeys() []string

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

func (x *Envelope) ProtoReflect() protoreflect.Message

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

Jump to

Keyboard shortcuts

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