proto

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

README

proto

Signal protocol message definitions, ported verbatim from upstream libsignal (rust/protocol/src/proto/*.proto). Field numbers and wire types are copied exactly — including SignalMessage.pq_ratchet = 5 and SessionStructure.pq_ratchet_state = 15 — so this package is wire-compatible with upstream.

The five .proto files map 1:1 to the upstream sources:

file upstream proto syntax proto package
wire.proto wire.proto proto2 signal.proto.wire
service.proto service.proto proto2 signalservice
storage.proto storage.proto proto3 signal.proto.storage
sealed_sender.proto sealed_sender.proto proto2 signal.proto.sealed_sender
fingerprint.proto fingerprint.proto proto2 signal.proto.fingerprint

All five set option go_package = "github.com/GoCodeAlone/libsignal-go/proto"; so the generated Go types share this single package. The upstream proto package declarations are preserved unchanged.

Generated code is committed

The *.pb.go files are committed; CI does not run protobuf code generation. Regenerate only when a .proto changes.

Regenerating

Generation uses buf, which embeds the protobuf compiler, driving the protoc-gen-go plugin. No system protoc binary is required.

Pinned tool versions (the ones used to generate the committed code):

tool version install
Go 1.26.4
buf 1.50.0 go install github.com/bufbuild/buf/cmd/buf@v1.50.0
protoc-gen-go v1.36.6 go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.36.6
google.golang.org/protobuf (runtime) v1.36.11 go.mod require

With those installed and on PATH:

go generate ./proto/...   # runs `buf generate` (see generate.go)

buf generate reads buf.yaml (module config) and buf.gen.yaml (plugin config: protoc-gen-go with paths=source_relative).

Field-number identity check

To confirm a ported .proto still matches its upstream source field-for-field:

for f in wire service storage sealed_sender fingerprint; do
  diff <(grep -E '=[ ]*[0-9]+' ../rust/protocol/src/proto/$f.proto) \
       <(grep -E '=[ ]*[0-9]+' $f.proto) && echo "$f: identical"
done

Note: upstream service.proto contains a non-breaking space (U+00A0) inside the NullMessage comment; it is preserved verbatim here so the byte comparison is exact.

Documentation

Overview

Package proto contains the Signal protocol wire, storage, service, sealed sender, and fingerprint message definitions, ported verbatim (field numbers and types) from upstream libsignal's rust/protocol/src/proto/*.proto.

The generated *.pb.go files are committed to the repository; CI does not run code generation. To regenerate after editing a .proto file, install the pinned tools (see README.md) and run `go generate ./proto/...`.

Index

Constants

This section is empty.

Variables

View Source
var (
	Version_name = map[int32]string{
		0: "V_0",
		1: "V_1",
	}
	Version_value = map[string]int32{
		"V_0": 0,
		"V_1": 1,
	}
)

Enum value maps for Version.

View Source
var (
	Direction_name = map[int32]string{
		0: "A_2_B",
		1: "B_2_A",
	}
	Direction_value = map[string]int32{
		"A_2_B": 0,
		"B_2_A": 1,
	}
)

Enum value maps for Direction.

View Source
var (
	UnidentifiedSenderMessage_Message_Type_name = map[int32]string{
		1: "PREKEY_MESSAGE",
		2: "MESSAGE",
		7: "SENDERKEY_MESSAGE",
		8: "PLAINTEXT_CONTENT",
	}
	UnidentifiedSenderMessage_Message_Type_value = map[string]int32{
		"PREKEY_MESSAGE":    1,
		"MESSAGE":           2,
		"SENDERKEY_MESSAGE": 7,
		"PLAINTEXT_CONTENT": 8,
	}
)

Enum value maps for UnidentifiedSenderMessage_Message_Type.

View Source
var (
	UnidentifiedSenderMessage_Message_ContentHint_name = map[int32]string{
		1: "RESENDABLE",
		2: "IMPLICIT",
	}
	UnidentifiedSenderMessage_Message_ContentHint_value = map[string]int32{
		"RESENDABLE": 1,
		"IMPLICIT":   2,
	}
)

Enum value maps for UnidentifiedSenderMessage_Message_ContentHint.

View Source
var File_fingerprint_proto protoreflect.FileDescriptor
View Source
var File_pq_ratchet_proto protoreflect.FileDescriptor
View Source
var File_sealed_sender_proto protoreflect.FileDescriptor
View Source
var File_service_proto protoreflect.FileDescriptor
View Source
var File_storage_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Authenticator

type Authenticator struct {
	RootKey []byte `protobuf:"bytes,1,opt,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"`
	MacKey  []byte `protobuf:"bytes,2,opt,name=mac_key,json=macKey,proto3" json:"mac_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Authenticator) Descriptor deprecated

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

Deprecated: Use Authenticator.ProtoReflect.Descriptor instead.

func (*Authenticator) GetMacKey

func (x *Authenticator) GetMacKey() []byte

func (*Authenticator) GetRootKey

func (x *Authenticator) GetRootKey() []byte

func (*Authenticator) ProtoMessage

func (*Authenticator) ProtoMessage()

func (*Authenticator) ProtoReflect

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

func (*Authenticator) Reset

func (x *Authenticator) Reset()

func (*Authenticator) String

func (x *Authenticator) String() string

type Chain

type Chain struct {
	Direction    Direction      `protobuf:"varint,1,opt,name=direction,proto3,enum=signal.proto.pq_ratchet.Direction" json:"direction,omitempty"`
	CurrentEpoch uint64         `protobuf:"varint,2,opt,name=current_epoch,json=currentEpoch,proto3" json:"current_epoch,omitempty"`
	Links        []*Chain_Epoch `protobuf:"bytes,3,rep,name=links,proto3" json:"links,omitempty"`
	NextRoot     []byte         `protobuf:"bytes,4,opt,name=next_root,json=nextRoot,proto3" json:"next_root,omitempty"`
	SendEpoch    uint64         `protobuf:"varint,5,opt,name=send_epoch,json=sendEpoch,proto3" json:"send_epoch,omitempty"`
	Params       *ChainParams   `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`
	// contains filtered or unexported fields
}

func (*Chain) Descriptor deprecated

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

Deprecated: Use Chain.ProtoReflect.Descriptor instead.

func (*Chain) GetCurrentEpoch

func (x *Chain) GetCurrentEpoch() uint64

func (*Chain) GetDirection

func (x *Chain) GetDirection() Direction
func (x *Chain) GetLinks() []*Chain_Epoch

func (*Chain) GetNextRoot

func (x *Chain) GetNextRoot() []byte

func (*Chain) GetParams

func (x *Chain) GetParams() *ChainParams

func (*Chain) GetSendEpoch

func (x *Chain) GetSendEpoch() uint64

func (*Chain) ProtoMessage

func (*Chain) ProtoMessage()

func (*Chain) ProtoReflect

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

func (*Chain) Reset

func (x *Chain) Reset()

func (*Chain) String

func (x *Chain) String() string

type ChainParams

type ChainParams struct {

	// Disallow requesting a key that is more than MAX_JUMP ahead of `ctr`.
	// If zero, defaults to 25,000.
	MaxJump uint32 `protobuf:"varint,1,opt,name=max_jump,json=maxJump,proto3" json:"max_jump,omitempty"`
	// Keep around keys back to at least `ctr - MAX_OOO_KEYS`, in case an out-of-order
	// message comes in.  Messages older than this that arrive out-of-order
	// will not be able to be decrypted and will return Error::KeyTrimmed.
	MaxOooKeys uint32 `protobuf:"varint,2,opt,name=max_ooo_keys,json=maxOooKeys,proto3" json:"max_ooo_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*ChainParams) Descriptor deprecated

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

Deprecated: Use ChainParams.ProtoReflect.Descriptor instead.

func (*ChainParams) GetMaxJump

func (x *ChainParams) GetMaxJump() uint32

func (*ChainParams) GetMaxOooKeys

func (x *ChainParams) GetMaxOooKeys() uint32

func (*ChainParams) ProtoMessage

func (*ChainParams) ProtoMessage()

func (*ChainParams) ProtoReflect

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

func (*ChainParams) Reset

func (x *ChainParams) Reset()

func (*ChainParams) String

func (x *ChainParams) String() string

type Chain_Epoch

type Chain_Epoch struct {
	Send *Chain_Epoch_EpochDirection `protobuf:"bytes,1,opt,name=send,proto3" json:"send,omitempty"`
	Recv *Chain_Epoch_EpochDirection `protobuf:"bytes,2,opt,name=recv,proto3" json:"recv,omitempty"`
	// contains filtered or unexported fields
}

func (*Chain_Epoch) Descriptor deprecated

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

Deprecated: Use Chain_Epoch.ProtoReflect.Descriptor instead.

func (*Chain_Epoch) GetRecv

func (*Chain_Epoch) GetSend

func (*Chain_Epoch) ProtoMessage

func (*Chain_Epoch) ProtoMessage()

func (*Chain_Epoch) ProtoReflect

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

func (*Chain_Epoch) Reset

func (x *Chain_Epoch) Reset()

func (*Chain_Epoch) String

func (x *Chain_Epoch) String() string

type Chain_Epoch_EpochDirection

type Chain_Epoch_EpochDirection struct {
	Ctr  uint32 `protobuf:"varint,1,opt,name=ctr,proto3" json:"ctr,omitempty"`
	Next []byte `protobuf:"bytes,2,opt,name=next,proto3" json:"next,omitempty"`
	Prev []byte `protobuf:"bytes,3,opt,name=prev,proto3" json:"prev,omitempty"`
	// contains filtered or unexported fields
}

func (*Chain_Epoch_EpochDirection) Descriptor deprecated

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

Deprecated: Use Chain_Epoch_EpochDirection.ProtoReflect.Descriptor instead.

func (*Chain_Epoch_EpochDirection) GetCtr

func (x *Chain_Epoch_EpochDirection) GetCtr() uint32

func (*Chain_Epoch_EpochDirection) GetNext

func (x *Chain_Epoch_EpochDirection) GetNext() []byte

func (*Chain_Epoch_EpochDirection) GetPrev

func (x *Chain_Epoch_EpochDirection) GetPrev() []byte

func (*Chain_Epoch_EpochDirection) ProtoMessage

func (*Chain_Epoch_EpochDirection) ProtoMessage()

func (*Chain_Epoch_EpochDirection) ProtoReflect

func (*Chain_Epoch_EpochDirection) Reset

func (x *Chain_Epoch_EpochDirection) Reset()

func (*Chain_Epoch_EpochDirection) String

func (x *Chain_Epoch_EpochDirection) String() string

type Chunk

type Chunk struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Data  []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Chunk) Descriptor deprecated

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

Deprecated: Use Chunk.ProtoReflect.Descriptor instead.

func (*Chunk) GetData

func (x *Chunk) GetData() []byte

func (*Chunk) GetIndex

func (x *Chunk) GetIndex() uint32

func (*Chunk) ProtoMessage

func (*Chunk) ProtoMessage()

func (*Chunk) ProtoReflect

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

func (*Chunk) Reset

func (x *Chunk) Reset()

func (*Chunk) String

func (x *Chunk) String() string

type CombinedFingerprints

type CombinedFingerprints struct {
	Version           *uint32             `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	LocalFingerprint  *LogicalFingerprint `protobuf:"bytes,2,opt,name=local_fingerprint,json=localFingerprint" json:"local_fingerprint,omitempty"`
	RemoteFingerprint *LogicalFingerprint `protobuf:"bytes,3,opt,name=remote_fingerprint,json=remoteFingerprint" json:"remote_fingerprint,omitempty"`
	// contains filtered or unexported fields
}

func (*CombinedFingerprints) Descriptor deprecated

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

Deprecated: Use CombinedFingerprints.ProtoReflect.Descriptor instead.

func (*CombinedFingerprints) GetLocalFingerprint

func (x *CombinedFingerprints) GetLocalFingerprint() *LogicalFingerprint

func (*CombinedFingerprints) GetRemoteFingerprint

func (x *CombinedFingerprints) GetRemoteFingerprint() *LogicalFingerprint

func (*CombinedFingerprints) GetVersion

func (x *CombinedFingerprints) GetVersion() uint32

func (*CombinedFingerprints) ProtoMessage

func (*CombinedFingerprints) ProtoMessage()

func (*CombinedFingerprints) ProtoReflect

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

func (*CombinedFingerprints) Reset

func (x *CombinedFingerprints) Reset()

func (*CombinedFingerprints) String

func (x *CombinedFingerprints) String() string

type Content

type Content struct {
	DataMessage                  []byte `protobuf:"bytes,1,opt,name=data_message,json=dataMessage" json:"data_message,omitempty"`
	SyncMessage                  []byte `protobuf:"bytes,2,opt,name=sync_message,json=syncMessage" json:"sync_message,omitempty"`
	CallMessage                  []byte `protobuf:"bytes,3,opt,name=call_message,json=callMessage" json:"call_message,omitempty"`
	NullMessage                  []byte `protobuf:"bytes,4,opt,name=null_message,json=nullMessage" json:"null_message,omitempty"`
	ReceiptMessage               []byte `protobuf:"bytes,5,opt,name=receipt_message,json=receiptMessage" json:"receipt_message,omitempty"`
	TypingMessage                []byte `protobuf:"bytes,6,opt,name=typing_message,json=typingMessage" json:"typing_message,omitempty"`
	SenderKeyDistributionMessage []byte `` /* 142-byte string literal not displayed */
	DecryptionErrorMessage       []byte `protobuf:"bytes,8,opt,name=decryption_error_message,json=decryptionErrorMessage" json:"decryption_error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Content) Descriptor deprecated

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

Deprecated: Use Content.ProtoReflect.Descriptor instead.

func (*Content) GetCallMessage

func (x *Content) GetCallMessage() []byte

func (*Content) GetDataMessage

func (x *Content) GetDataMessage() []byte

func (*Content) GetDecryptionErrorMessage

func (x *Content) GetDecryptionErrorMessage() []byte

func (*Content) GetNullMessage

func (x *Content) GetNullMessage() []byte

func (*Content) GetReceiptMessage

func (x *Content) GetReceiptMessage() []byte

func (*Content) GetSenderKeyDistributionMessage

func (x *Content) GetSenderKeyDistributionMessage() []byte

func (*Content) GetSyncMessage

func (x *Content) GetSyncMessage() []byte

func (*Content) GetTypingMessage

func (x *Content) GetTypingMessage() []byte

func (*Content) ProtoMessage

func (*Content) ProtoMessage()

func (*Content) ProtoReflect

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

func (*Content) Reset

func (x *Content) Reset()

func (*Content) String

func (x *Content) String() string

type DecryptionErrorMessage

type DecryptionErrorMessage struct {
	RatchetKey []byte  `protobuf:"bytes,1,opt,name=ratchet_key,json=ratchetKey" json:"ratchet_key,omitempty"` // set to the public ratchet key from the SignalMessage if a 1-1 payload fails to decrypt
	Timestamp  *uint64 `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	DeviceId   *uint32 `protobuf:"varint,3,opt,name=device_id,json=deviceId" json:"device_id,omitempty"`
	// contains filtered or unexported fields
}

func (*DecryptionErrorMessage) Descriptor deprecated

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

Deprecated: Use DecryptionErrorMessage.ProtoReflect.Descriptor instead.

func (*DecryptionErrorMessage) GetDeviceId

func (x *DecryptionErrorMessage) GetDeviceId() uint32

func (*DecryptionErrorMessage) GetRatchetKey

func (x *DecryptionErrorMessage) GetRatchetKey() []byte

func (*DecryptionErrorMessage) GetTimestamp

func (x *DecryptionErrorMessage) GetTimestamp() uint64

func (*DecryptionErrorMessage) ProtoMessage

func (*DecryptionErrorMessage) ProtoMessage()

func (*DecryptionErrorMessage) ProtoReflect

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

func (*DecryptionErrorMessage) Reset

func (x *DecryptionErrorMessage) Reset()

func (*DecryptionErrorMessage) String

func (x *DecryptionErrorMessage) String() string

type Direction

type Direction int32
const (
	Direction_A_2_B Direction = 0
	Direction_B_2_A Direction = 1
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

func (Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type IdentityKeyPairStructure

type IdentityKeyPairStructure struct {
	PublicKey  []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PrivateKey []byte `protobuf:"bytes,2,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*IdentityKeyPairStructure) Descriptor deprecated

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

Deprecated: Use IdentityKeyPairStructure.ProtoReflect.Descriptor instead.

func (*IdentityKeyPairStructure) GetPrivateKey

func (x *IdentityKeyPairStructure) GetPrivateKey() []byte

func (*IdentityKeyPairStructure) GetPublicKey

func (x *IdentityKeyPairStructure) GetPublicKey() []byte

func (*IdentityKeyPairStructure) ProtoMessage

func (*IdentityKeyPairStructure) ProtoMessage()

func (*IdentityKeyPairStructure) ProtoReflect

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

func (*IdentityKeyPairStructure) Reset

func (x *IdentityKeyPairStructure) Reset()

func (*IdentityKeyPairStructure) String

func (x *IdentityKeyPairStructure) String() string

type LogicalFingerprint

type LogicalFingerprint struct {
	Content []byte `protobuf:"bytes,1,opt,name=content" json:"content,omitempty"` // bytes identifier = 2;
	// contains filtered or unexported fields
}

func (*LogicalFingerprint) Descriptor deprecated

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

Deprecated: Use LogicalFingerprint.ProtoReflect.Descriptor instead.

func (*LogicalFingerprint) GetContent

func (x *LogicalFingerprint) GetContent() []byte

func (*LogicalFingerprint) ProtoMessage

func (*LogicalFingerprint) ProtoMessage()

func (*LogicalFingerprint) ProtoReflect

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

func (*LogicalFingerprint) Reset

func (x *LogicalFingerprint) Reset()

func (*LogicalFingerprint) String

func (x *LogicalFingerprint) String() string

type PolynomialDecoder

type PolynomialDecoder struct {
	PtsNeeded  uint32   `protobuf:"varint,1,opt,name=pts_needed,json=ptsNeeded,proto3" json:"pts_needed,omitempty"`
	Polys      uint32   `protobuf:"varint,2,opt,name=polys,proto3" json:"polys,omitempty"`
	Pts        [][]byte `protobuf:"bytes,3,rep,name=pts,proto3" json:"pts,omitempty"`
	IsComplete bool     `protobuf:"varint,4,opt,name=is_complete,json=isComplete,proto3" json:"is_complete,omitempty"`
	// contains filtered or unexported fields
}

func (*PolynomialDecoder) Descriptor deprecated

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

Deprecated: Use PolynomialDecoder.ProtoReflect.Descriptor instead.

func (*PolynomialDecoder) GetIsComplete

func (x *PolynomialDecoder) GetIsComplete() bool

func (*PolynomialDecoder) GetPolys

func (x *PolynomialDecoder) GetPolys() uint32

func (*PolynomialDecoder) GetPts

func (x *PolynomialDecoder) GetPts() [][]byte

func (*PolynomialDecoder) GetPtsNeeded

func (x *PolynomialDecoder) GetPtsNeeded() uint32

func (*PolynomialDecoder) ProtoMessage

func (*PolynomialDecoder) ProtoMessage()

func (*PolynomialDecoder) ProtoReflect

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

func (*PolynomialDecoder) Reset

func (x *PolynomialDecoder) Reset()

func (*PolynomialDecoder) String

func (x *PolynomialDecoder) String() string

type PolynomialEncoder

type PolynomialEncoder struct {
	Idx uint32 `protobuf:"varint,1,opt,name=idx,proto3" json:"idx,omitempty"`
	// We'd like to use a oneof here, but proto3 doesn't allow
	// a combination of `oneof` and `repeated`.  So, we just
	// only set one of these values to non-empty:
	Pts   [][]byte `protobuf:"bytes,2,rep,name=pts,proto3" json:"pts,omitempty"`
	Polys [][]byte `protobuf:"bytes,3,rep,name=polys,proto3" json:"polys,omitempty"`
	// contains filtered or unexported fields
}

func (*PolynomialEncoder) Descriptor deprecated

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

Deprecated: Use PolynomialEncoder.ProtoReflect.Descriptor instead.

func (*PolynomialEncoder) GetIdx

func (x *PolynomialEncoder) GetIdx() uint32

func (*PolynomialEncoder) GetPolys

func (x *PolynomialEncoder) GetPolys() [][]byte

func (*PolynomialEncoder) GetPts

func (x *PolynomialEncoder) GetPts() [][]byte

func (*PolynomialEncoder) ProtoMessage

func (*PolynomialEncoder) ProtoMessage()

func (*PolynomialEncoder) ProtoReflect

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

func (*PolynomialEncoder) Reset

func (x *PolynomialEncoder) Reset()

func (*PolynomialEncoder) String

func (x *PolynomialEncoder) String() string

type PqRatchetState

type PqRatchetState struct {
	VersionNegotiation *PqRatchetState_VersionNegotiation `protobuf:"bytes,1,opt,name=version_negotiation,json=versionNegotiation,proto3" json:"version_negotiation,omitempty"`
	Chain              *Chain                             `protobuf:"bytes,2,opt,name=chain,proto3" json:"chain,omitempty"`
	// Types that are valid to be assigned to Inner:
	//
	//	*PqRatchetState_V1
	Inner isPqRatchetState_Inner `protobuf_oneof:"inner"`
	// contains filtered or unexported fields
}

func (*PqRatchetState) Descriptor deprecated

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

Deprecated: Use PqRatchetState.ProtoReflect.Descriptor instead.

func (*PqRatchetState) GetChain

func (x *PqRatchetState) GetChain() *Chain

func (*PqRatchetState) GetInner

func (x *PqRatchetState) GetInner() isPqRatchetState_Inner

func (*PqRatchetState) GetV1

func (x *PqRatchetState) GetV1() *V1State

func (*PqRatchetState) GetVersionNegotiation

func (x *PqRatchetState) GetVersionNegotiation() *PqRatchetState_VersionNegotiation

func (*PqRatchetState) ProtoMessage

func (*PqRatchetState) ProtoMessage()

func (*PqRatchetState) ProtoReflect

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

func (*PqRatchetState) Reset

func (x *PqRatchetState) Reset()

func (*PqRatchetState) String

func (x *PqRatchetState) String() string

type PqRatchetState_V1

type PqRatchetState_V1 struct {
	V1 *V1State `protobuf:"bytes,3,opt,name=v1,proto3,oneof"`
}

type PqRatchetState_VersionNegotiation

type PqRatchetState_VersionNegotiation struct {
	AuthKey     []byte       `protobuf:"bytes,1,opt,name=auth_key,json=authKey,proto3" json:"auth_key,omitempty"`
	Direction   Direction    `protobuf:"varint,2,opt,name=direction,proto3,enum=signal.proto.pq_ratchet.Direction" json:"direction,omitempty"`
	MinVersion  Version      `` /* 129-byte string literal not displayed */
	ChainParams *ChainParams `protobuf:"bytes,4,opt,name=chain_params,json=chainParams,proto3" json:"chain_params,omitempty"`
	// contains filtered or unexported fields
}

func (*PqRatchetState_VersionNegotiation) Descriptor deprecated

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

Deprecated: Use PqRatchetState_VersionNegotiation.ProtoReflect.Descriptor instead.

func (*PqRatchetState_VersionNegotiation) GetAuthKey

func (x *PqRatchetState_VersionNegotiation) GetAuthKey() []byte

func (*PqRatchetState_VersionNegotiation) GetChainParams

func (x *PqRatchetState_VersionNegotiation) GetChainParams() *ChainParams

func (*PqRatchetState_VersionNegotiation) GetDirection

func (x *PqRatchetState_VersionNegotiation) GetDirection() Direction

func (*PqRatchetState_VersionNegotiation) GetMinVersion

func (x *PqRatchetState_VersionNegotiation) GetMinVersion() Version

func (*PqRatchetState_VersionNegotiation) ProtoMessage

func (*PqRatchetState_VersionNegotiation) ProtoMessage()

func (*PqRatchetState_VersionNegotiation) ProtoReflect

func (*PqRatchetState_VersionNegotiation) Reset

func (*PqRatchetState_VersionNegotiation) String

type PreKeyRecordStructure

type PreKeyRecordStructure struct {
	Id         uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PublicKey  []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	// contains filtered or unexported fields
}

func (*PreKeyRecordStructure) Descriptor deprecated

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

Deprecated: Use PreKeyRecordStructure.ProtoReflect.Descriptor instead.

func (*PreKeyRecordStructure) GetId

func (x *PreKeyRecordStructure) GetId() uint32

func (*PreKeyRecordStructure) GetPrivateKey

func (x *PreKeyRecordStructure) GetPrivateKey() []byte

func (*PreKeyRecordStructure) GetPublicKey

func (x *PreKeyRecordStructure) GetPublicKey() []byte

func (*PreKeyRecordStructure) ProtoMessage

func (*PreKeyRecordStructure) ProtoMessage()

func (*PreKeyRecordStructure) ProtoReflect

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

func (*PreKeyRecordStructure) Reset

func (x *PreKeyRecordStructure) Reset()

func (*PreKeyRecordStructure) String

func (x *PreKeyRecordStructure) String() string

type PreKeySignalMessage

type PreKeySignalMessage struct {
	RegistrationId  *uint32 `protobuf:"varint,5,opt,name=registration_id,json=registrationId" json:"registration_id,omitempty"`
	PreKeyId        *uint32 `protobuf:"varint,1,opt,name=pre_key_id,json=preKeyId" json:"pre_key_id,omitempty"`
	SignedPreKeyId  *uint32 `protobuf:"varint,6,opt,name=signed_pre_key_id,json=signedPreKeyId" json:"signed_pre_key_id,omitempty"`
	KyberPreKeyId   *uint32 `protobuf:"varint,7,opt,name=kyber_pre_key_id,json=kyberPreKeyId" json:"kyber_pre_key_id,omitempty"`
	KyberCiphertext []byte  `protobuf:"bytes,8,opt,name=kyber_ciphertext,json=kyberCiphertext" json:"kyber_ciphertext,omitempty"`
	BaseKey         []byte  `protobuf:"bytes,2,opt,name=base_key,json=baseKey" json:"base_key,omitempty"`
	IdentityKey     []byte  `protobuf:"bytes,3,opt,name=identity_key,json=identityKey" json:"identity_key,omitempty"`
	Message         []byte  `protobuf:"bytes,4,opt,name=message" json:"message,omitempty"` // SignalMessage
	// contains filtered or unexported fields
}

func (*PreKeySignalMessage) Descriptor deprecated

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

Deprecated: Use PreKeySignalMessage.ProtoReflect.Descriptor instead.

func (*PreKeySignalMessage) GetBaseKey

func (x *PreKeySignalMessage) GetBaseKey() []byte

func (*PreKeySignalMessage) GetIdentityKey

func (x *PreKeySignalMessage) GetIdentityKey() []byte

func (*PreKeySignalMessage) GetKyberCiphertext

func (x *PreKeySignalMessage) GetKyberCiphertext() []byte

func (*PreKeySignalMessage) GetKyberPreKeyId

func (x *PreKeySignalMessage) GetKyberPreKeyId() uint32

func (*PreKeySignalMessage) GetMessage

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

func (*PreKeySignalMessage) GetPreKeyId

func (x *PreKeySignalMessage) GetPreKeyId() uint32

func (*PreKeySignalMessage) GetRegistrationId

func (x *PreKeySignalMessage) GetRegistrationId() uint32

func (*PreKeySignalMessage) GetSignedPreKeyId

func (x *PreKeySignalMessage) GetSignedPreKeyId() uint32

func (*PreKeySignalMessage) ProtoMessage

func (*PreKeySignalMessage) ProtoMessage()

func (*PreKeySignalMessage) ProtoReflect

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

func (*PreKeySignalMessage) Reset

func (x *PreKeySignalMessage) Reset()

func (*PreKeySignalMessage) String

func (x *PreKeySignalMessage) String() string

type RecordStructure

type RecordStructure struct {
	CurrentSession *SessionStructure `protobuf:"bytes,1,opt,name=current_session,json=currentSession,proto3" json:"current_session,omitempty"`
	// The order is significant; sessions at the end are "older" and will get trimmed.
	PreviousSessions [][]byte `protobuf:"bytes,2,rep,name=previous_sessions,json=previousSessions,proto3" json:"previous_sessions,omitempty"`
	// contains filtered or unexported fields
}

func (*RecordStructure) Descriptor deprecated

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

Deprecated: Use RecordStructure.ProtoReflect.Descriptor instead.

func (*RecordStructure) GetCurrentSession

func (x *RecordStructure) GetCurrentSession() *SessionStructure

func (*RecordStructure) GetPreviousSessions

func (x *RecordStructure) GetPreviousSessions() [][]byte

func (*RecordStructure) ProtoMessage

func (*RecordStructure) ProtoMessage()

func (*RecordStructure) ProtoReflect

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

func (*RecordStructure) Reset

func (x *RecordStructure) Reset()

func (*RecordStructure) String

func (x *RecordStructure) String() string

type SenderCertificate

type SenderCertificate struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"`
	Signature   []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderCertificate) Descriptor deprecated

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

Deprecated: Use SenderCertificate.ProtoReflect.Descriptor instead.

func (*SenderCertificate) GetCertificate

func (x *SenderCertificate) GetCertificate() []byte

func (*SenderCertificate) GetSignature

func (x *SenderCertificate) GetSignature() []byte

func (*SenderCertificate) ProtoMessage

func (*SenderCertificate) ProtoMessage()

func (*SenderCertificate) ProtoReflect

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

func (*SenderCertificate) Reset

func (x *SenderCertificate) Reset()

func (*SenderCertificate) String

func (x *SenderCertificate) String() string

type SenderCertificate_Certificate

type SenderCertificate_Certificate struct {
	SenderE164 *string `protobuf:"bytes,1,opt,name=senderE164" json:"senderE164,omitempty"`
	// Types that are valid to be assigned to SenderUuid:
	//
	//	*SenderCertificate_Certificate_UuidString
	//	*SenderCertificate_Certificate_UuidBytes
	SenderUuid   isSenderCertificate_Certificate_SenderUuid `protobuf_oneof:"senderUuid"`
	SenderDevice *uint32                                    `protobuf:"varint,2,opt,name=senderDevice" json:"senderDevice,omitempty"`
	Expires      *uint64                                    `protobuf:"fixed64,3,opt,name=expires" json:"expires,omitempty"`
	IdentityKey  []byte                                     `protobuf:"bytes,4,opt,name=identityKey" json:"identityKey,omitempty"`
	// Types that are valid to be assigned to Signer:
	//
	//	*SenderCertificate_Certificate_Certificate
	//	*SenderCertificate_Certificate_Id
	Signer isSenderCertificate_Certificate_Signer `protobuf_oneof:"signer"`
	// contains filtered or unexported fields
}

func (*SenderCertificate_Certificate) Descriptor deprecated

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

Deprecated: Use SenderCertificate_Certificate.ProtoReflect.Descriptor instead.

func (*SenderCertificate_Certificate) GetCertificate

func (x *SenderCertificate_Certificate) GetCertificate() []byte

func (*SenderCertificate_Certificate) GetExpires

func (x *SenderCertificate_Certificate) GetExpires() uint64

func (*SenderCertificate_Certificate) GetId

func (*SenderCertificate_Certificate) GetIdentityKey

func (x *SenderCertificate_Certificate) GetIdentityKey() []byte

func (*SenderCertificate_Certificate) GetSenderDevice

func (x *SenderCertificate_Certificate) GetSenderDevice() uint32

func (*SenderCertificate_Certificate) GetSenderE164

func (x *SenderCertificate_Certificate) GetSenderE164() string

func (*SenderCertificate_Certificate) GetSenderUuid

func (x *SenderCertificate_Certificate) GetSenderUuid() isSenderCertificate_Certificate_SenderUuid

func (*SenderCertificate_Certificate) GetSigner

func (x *SenderCertificate_Certificate) GetSigner() isSenderCertificate_Certificate_Signer

func (*SenderCertificate_Certificate) GetUuidBytes

func (x *SenderCertificate_Certificate) GetUuidBytes() []byte

func (*SenderCertificate_Certificate) GetUuidString

func (x *SenderCertificate_Certificate) GetUuidString() string

func (*SenderCertificate_Certificate) ProtoMessage

func (*SenderCertificate_Certificate) ProtoMessage()

func (*SenderCertificate_Certificate) ProtoReflect

func (*SenderCertificate_Certificate) Reset

func (x *SenderCertificate_Certificate) Reset()

func (*SenderCertificate_Certificate) String

type SenderCertificate_Certificate_Certificate

type SenderCertificate_Certificate_Certificate struct {
	Certificate []byte `protobuf:"bytes,5,opt,name=certificate,oneof"`
}

type SenderCertificate_Certificate_Id

type SenderCertificate_Certificate_Id struct {
	Id uint32 `protobuf:"varint,8,opt,name=id,oneof"`
}

type SenderCertificate_Certificate_UuidBytes

type SenderCertificate_Certificate_UuidBytes struct {
	UuidBytes []byte `protobuf:"bytes,7,opt,name=uuidBytes,oneof"`
}

type SenderCertificate_Certificate_UuidString

type SenderCertificate_Certificate_UuidString struct {
	UuidString string `protobuf:"bytes,6,opt,name=uuidString,oneof"`
}

type SenderKeyDistributionMessage

type SenderKeyDistributionMessage struct {
	DistributionUuid []byte  `protobuf:"bytes,1,opt,name=distribution_uuid,json=distributionUuid" json:"distribution_uuid,omitempty"`
	ChainId          *uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
	Iteration        *uint32 `protobuf:"varint,3,opt,name=iteration" json:"iteration,omitempty"`
	ChainKey         []byte  `protobuf:"bytes,4,opt,name=chain_key,json=chainKey" json:"chain_key,omitempty"`
	SigningKey       []byte  `protobuf:"bytes,5,opt,name=signing_key,json=signingKey" json:"signing_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyDistributionMessage) Descriptor deprecated

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

Deprecated: Use SenderKeyDistributionMessage.ProtoReflect.Descriptor instead.

func (*SenderKeyDistributionMessage) GetChainId

func (x *SenderKeyDistributionMessage) GetChainId() uint32

func (*SenderKeyDistributionMessage) GetChainKey

func (x *SenderKeyDistributionMessage) GetChainKey() []byte

func (*SenderKeyDistributionMessage) GetDistributionUuid

func (x *SenderKeyDistributionMessage) GetDistributionUuid() []byte

func (*SenderKeyDistributionMessage) GetIteration

func (x *SenderKeyDistributionMessage) GetIteration() uint32

func (*SenderKeyDistributionMessage) GetSigningKey

func (x *SenderKeyDistributionMessage) GetSigningKey() []byte

func (*SenderKeyDistributionMessage) ProtoMessage

func (*SenderKeyDistributionMessage) ProtoMessage()

func (*SenderKeyDistributionMessage) ProtoReflect

func (*SenderKeyDistributionMessage) Reset

func (x *SenderKeyDistributionMessage) Reset()

func (*SenderKeyDistributionMessage) String

type SenderKeyMessage

type SenderKeyMessage struct {
	DistributionUuid []byte  `protobuf:"bytes,1,opt,name=distribution_uuid,json=distributionUuid" json:"distribution_uuid,omitempty"`
	ChainId          *uint32 `protobuf:"varint,2,opt,name=chain_id,json=chainId" json:"chain_id,omitempty"`
	Iteration        *uint32 `protobuf:"varint,3,opt,name=iteration" json:"iteration,omitempty"`
	Ciphertext       []byte  `protobuf:"bytes,4,opt,name=ciphertext" json:"ciphertext,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyMessage) Descriptor deprecated

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

Deprecated: Use SenderKeyMessage.ProtoReflect.Descriptor instead.

func (*SenderKeyMessage) GetChainId

func (x *SenderKeyMessage) GetChainId() uint32

func (*SenderKeyMessage) GetCiphertext

func (x *SenderKeyMessage) GetCiphertext() []byte

func (*SenderKeyMessage) GetDistributionUuid

func (x *SenderKeyMessage) GetDistributionUuid() []byte

func (*SenderKeyMessage) GetIteration

func (x *SenderKeyMessage) GetIteration() uint32

func (*SenderKeyMessage) ProtoMessage

func (*SenderKeyMessage) ProtoMessage()

func (*SenderKeyMessage) ProtoReflect

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

func (*SenderKeyMessage) Reset

func (x *SenderKeyMessage) Reset()

func (*SenderKeyMessage) String

func (x *SenderKeyMessage) String() string

type SenderKeyRecordStructure

type SenderKeyRecordStructure struct {
	SenderKeyStates []*SenderKeyStateStructure `protobuf:"bytes,1,rep,name=sender_key_states,json=senderKeyStates,proto3" json:"sender_key_states,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyRecordStructure) Descriptor deprecated

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

Deprecated: Use SenderKeyRecordStructure.ProtoReflect.Descriptor instead.

func (*SenderKeyRecordStructure) GetSenderKeyStates

func (x *SenderKeyRecordStructure) GetSenderKeyStates() []*SenderKeyStateStructure

func (*SenderKeyRecordStructure) ProtoMessage

func (*SenderKeyRecordStructure) ProtoMessage()

func (*SenderKeyRecordStructure) ProtoReflect

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

func (*SenderKeyRecordStructure) Reset

func (x *SenderKeyRecordStructure) Reset()

func (*SenderKeyRecordStructure) String

func (x *SenderKeyRecordStructure) String() string

type SenderKeyStateStructure

type SenderKeyStateStructure struct {
	MessageVersion    uint32                                      `protobuf:"varint,5,opt,name=message_version,json=messageVersion,proto3" json:"message_version,omitempty"`
	ChainId           uint32                                      `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	SenderChainKey    *SenderKeyStateStructure_SenderChainKey     `protobuf:"bytes,2,opt,name=sender_chain_key,json=senderChainKey,proto3" json:"sender_chain_key,omitempty"`
	SenderSigningKey  *SenderKeyStateStructure_SenderSigningKey   `protobuf:"bytes,3,opt,name=sender_signing_key,json=senderSigningKey,proto3" json:"sender_signing_key,omitempty"`
	SenderMessageKeys []*SenderKeyStateStructure_SenderMessageKey `protobuf:"bytes,4,rep,name=sender_message_keys,json=senderMessageKeys,proto3" json:"sender_message_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyStateStructure) Descriptor deprecated

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

Deprecated: Use SenderKeyStateStructure.ProtoReflect.Descriptor instead.

func (*SenderKeyStateStructure) GetChainId

func (x *SenderKeyStateStructure) GetChainId() uint32

func (*SenderKeyStateStructure) GetMessageVersion

func (x *SenderKeyStateStructure) GetMessageVersion() uint32

func (*SenderKeyStateStructure) GetSenderChainKey

func (*SenderKeyStateStructure) GetSenderMessageKeys

func (*SenderKeyStateStructure) GetSenderSigningKey

func (*SenderKeyStateStructure) ProtoMessage

func (*SenderKeyStateStructure) ProtoMessage()

func (*SenderKeyStateStructure) ProtoReflect

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

func (*SenderKeyStateStructure) Reset

func (x *SenderKeyStateStructure) Reset()

func (*SenderKeyStateStructure) String

func (x *SenderKeyStateStructure) String() string

type SenderKeyStateStructure_SenderChainKey

type SenderKeyStateStructure_SenderChainKey struct {
	Iteration uint32 `protobuf:"varint,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	Seed      []byte `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyStateStructure_SenderChainKey) Descriptor deprecated

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

Deprecated: Use SenderKeyStateStructure_SenderChainKey.ProtoReflect.Descriptor instead.

func (*SenderKeyStateStructure_SenderChainKey) GetIteration

func (*SenderKeyStateStructure_SenderChainKey) GetSeed

func (*SenderKeyStateStructure_SenderChainKey) ProtoMessage

func (*SenderKeyStateStructure_SenderChainKey) ProtoReflect

func (*SenderKeyStateStructure_SenderChainKey) Reset

func (*SenderKeyStateStructure_SenderChainKey) String

type SenderKeyStateStructure_SenderMessageKey

type SenderKeyStateStructure_SenderMessageKey struct {
	Iteration uint32 `protobuf:"varint,1,opt,name=iteration,proto3" json:"iteration,omitempty"`
	Seed      []byte `protobuf:"bytes,2,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyStateStructure_SenderMessageKey) Descriptor deprecated

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

Deprecated: Use SenderKeyStateStructure_SenderMessageKey.ProtoReflect.Descriptor instead.

func (*SenderKeyStateStructure_SenderMessageKey) GetIteration

func (*SenderKeyStateStructure_SenderMessageKey) GetSeed

func (*SenderKeyStateStructure_SenderMessageKey) ProtoMessage

func (*SenderKeyStateStructure_SenderMessageKey) ProtoReflect

func (*SenderKeyStateStructure_SenderMessageKey) Reset

func (*SenderKeyStateStructure_SenderMessageKey) String

type SenderKeyStateStructure_SenderSigningKey

type SenderKeyStateStructure_SenderSigningKey struct {
	Public  []byte `protobuf:"bytes,1,opt,name=public,proto3" json:"public,omitempty"`
	Private []byte `protobuf:"bytes,2,opt,name=private,proto3" json:"private,omitempty"`
	// contains filtered or unexported fields
}

func (*SenderKeyStateStructure_SenderSigningKey) Descriptor deprecated

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

Deprecated: Use SenderKeyStateStructure_SenderSigningKey.ProtoReflect.Descriptor instead.

func (*SenderKeyStateStructure_SenderSigningKey) GetPrivate

func (*SenderKeyStateStructure_SenderSigningKey) GetPublic

func (*SenderKeyStateStructure_SenderSigningKey) ProtoMessage

func (*SenderKeyStateStructure_SenderSigningKey) ProtoReflect

func (*SenderKeyStateStructure_SenderSigningKey) Reset

func (*SenderKeyStateStructure_SenderSigningKey) String

type ServerCertificate

type ServerCertificate struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate" json:"certificate,omitempty"`
	Signature   []byte `protobuf:"bytes,2,opt,name=signature" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerCertificate) Descriptor deprecated

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

Deprecated: Use ServerCertificate.ProtoReflect.Descriptor instead.

func (*ServerCertificate) GetCertificate

func (x *ServerCertificate) GetCertificate() []byte

func (*ServerCertificate) GetSignature

func (x *ServerCertificate) GetSignature() []byte

func (*ServerCertificate) ProtoMessage

func (*ServerCertificate) ProtoMessage()

func (*ServerCertificate) ProtoReflect

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

func (*ServerCertificate) Reset

func (x *ServerCertificate) Reset()

func (*ServerCertificate) String

func (x *ServerCertificate) String() string

type ServerCertificate_Certificate

type ServerCertificate_Certificate struct {
	Id  *uint32 `protobuf:"varint,1,opt,name=id" json:"id,omitempty"`
	Key []byte  `protobuf:"bytes,2,opt,name=key" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerCertificate_Certificate) Descriptor deprecated

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

Deprecated: Use ServerCertificate_Certificate.ProtoReflect.Descriptor instead.

func (*ServerCertificate_Certificate) GetId

func (*ServerCertificate_Certificate) GetKey

func (x *ServerCertificate_Certificate) GetKey() []byte

func (*ServerCertificate_Certificate) ProtoMessage

func (*ServerCertificate_Certificate) ProtoMessage()

func (*ServerCertificate_Certificate) ProtoReflect

func (*ServerCertificate_Certificate) Reset

func (x *ServerCertificate_Certificate) Reset()

func (*ServerCertificate_Certificate) String

type SessionStructure

type SessionStructure struct {
	SessionVersion       uint32                  `protobuf:"varint,1,opt,name=session_version,json=sessionVersion,proto3" json:"session_version,omitempty"`
	LocalIdentityPublic  []byte                  `protobuf:"bytes,2,opt,name=local_identity_public,json=localIdentityPublic,proto3" json:"local_identity_public,omitempty"`
	RemoteIdentityPublic []byte                  `protobuf:"bytes,3,opt,name=remote_identity_public,json=remoteIdentityPublic,proto3" json:"remote_identity_public,omitempty"`
	RootKey              []byte                  `protobuf:"bytes,4,opt,name=root_key,json=rootKey,proto3" json:"root_key,omitempty"`
	PreviousCounter      uint32                  `protobuf:"varint,5,opt,name=previous_counter,json=previousCounter,proto3" json:"previous_counter,omitempty"`
	SenderChain          *SessionStructure_Chain `protobuf:"bytes,6,opt,name=sender_chain,json=senderChain,proto3" json:"sender_chain,omitempty"`
	// The order is significant; keys at the end are "older" and will get trimmed.
	ReceiverChains       []*SessionStructure_Chain            `protobuf:"bytes,7,rep,name=receiver_chains,json=receiverChains,proto3" json:"receiver_chains,omitempty"`
	PendingPreKey        *SessionStructure_PendingPreKey      `protobuf:"bytes,9,opt,name=pending_pre_key,json=pendingPreKey,proto3" json:"pending_pre_key,omitempty"`
	PendingKyberPreKey   *SessionStructure_PendingKyberPreKey `protobuf:"bytes,14,opt,name=pending_kyber_pre_key,json=pendingKyberPreKey,proto3" json:"pending_kyber_pre_key,omitempty"`
	RemoteRegistrationId uint32                               `protobuf:"varint,10,opt,name=remote_registration_id,json=remoteRegistrationId,proto3" json:"remote_registration_id,omitempty"`
	LocalRegistrationId  uint32                               `protobuf:"varint,11,opt,name=local_registration_id,json=localRegistrationId,proto3" json:"local_registration_id,omitempty"`
	AliceBaseKey         []byte                               `protobuf:"bytes,13,opt,name=alice_base_key,json=aliceBaseKey,proto3" json:"alice_base_key,omitempty"`
	PqRatchetState       []byte                               `protobuf:"bytes,15,opt,name=pq_ratchet_state,json=pqRatchetState,proto3" json:"pq_ratchet_state,omitempty"` // Next index: 16
	// contains filtered or unexported fields
}

func (*SessionStructure) Descriptor deprecated

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

Deprecated: Use SessionStructure.ProtoReflect.Descriptor instead.

func (*SessionStructure) GetAliceBaseKey

func (x *SessionStructure) GetAliceBaseKey() []byte

func (*SessionStructure) GetLocalIdentityPublic

func (x *SessionStructure) GetLocalIdentityPublic() []byte

func (*SessionStructure) GetLocalRegistrationId

func (x *SessionStructure) GetLocalRegistrationId() uint32

func (*SessionStructure) GetPendingKyberPreKey

func (x *SessionStructure) GetPendingKyberPreKey() *SessionStructure_PendingKyberPreKey

func (*SessionStructure) GetPendingPreKey

func (x *SessionStructure) GetPendingPreKey() *SessionStructure_PendingPreKey

func (*SessionStructure) GetPqRatchetState

func (x *SessionStructure) GetPqRatchetState() []byte

func (*SessionStructure) GetPreviousCounter

func (x *SessionStructure) GetPreviousCounter() uint32

func (*SessionStructure) GetReceiverChains

func (x *SessionStructure) GetReceiverChains() []*SessionStructure_Chain

func (*SessionStructure) GetRemoteIdentityPublic

func (x *SessionStructure) GetRemoteIdentityPublic() []byte

func (*SessionStructure) GetRemoteRegistrationId

func (x *SessionStructure) GetRemoteRegistrationId() uint32

func (*SessionStructure) GetRootKey

func (x *SessionStructure) GetRootKey() []byte

func (*SessionStructure) GetSenderChain

func (x *SessionStructure) GetSenderChain() *SessionStructure_Chain

func (*SessionStructure) GetSessionVersion

func (x *SessionStructure) GetSessionVersion() uint32

func (*SessionStructure) ProtoMessage

func (*SessionStructure) ProtoMessage()

func (*SessionStructure) ProtoReflect

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

func (*SessionStructure) Reset

func (x *SessionStructure) Reset()

func (*SessionStructure) String

func (x *SessionStructure) String() string

type SessionStructure_Chain

type SessionStructure_Chain struct {
	SenderRatchetKey        []byte                               `protobuf:"bytes,1,opt,name=sender_ratchet_key,json=senderRatchetKey,proto3" json:"sender_ratchet_key,omitempty"`
	SenderRatchetKeyPrivate []byte                               `` /* 134-byte string literal not displayed */
	ChainKey                *SessionStructure_Chain_ChainKey     `protobuf:"bytes,3,opt,name=chain_key,json=chainKey,proto3" json:"chain_key,omitempty"`
	MessageKeys             []*SessionStructure_Chain_MessageKey `protobuf:"bytes,4,rep,name=message_keys,json=messageKeys,proto3" json:"message_keys,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStructure_Chain) Descriptor deprecated

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

Deprecated: Use SessionStructure_Chain.ProtoReflect.Descriptor instead.

func (*SessionStructure_Chain) GetChainKey

func (*SessionStructure_Chain) GetMessageKeys

func (*SessionStructure_Chain) GetSenderRatchetKey

func (x *SessionStructure_Chain) GetSenderRatchetKey() []byte

func (*SessionStructure_Chain) GetSenderRatchetKeyPrivate

func (x *SessionStructure_Chain) GetSenderRatchetKeyPrivate() []byte

func (*SessionStructure_Chain) ProtoMessage

func (*SessionStructure_Chain) ProtoMessage()

func (*SessionStructure_Chain) ProtoReflect

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

func (*SessionStructure_Chain) Reset

func (x *SessionStructure_Chain) Reset()

func (*SessionStructure_Chain) String

func (x *SessionStructure_Chain) String() string

type SessionStructure_Chain_ChainKey

type SessionStructure_Chain_ChainKey struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Key   []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStructure_Chain_ChainKey) Descriptor deprecated

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

Deprecated: Use SessionStructure_Chain_ChainKey.ProtoReflect.Descriptor instead.

func (*SessionStructure_Chain_ChainKey) GetIndex

func (*SessionStructure_Chain_ChainKey) GetKey

func (x *SessionStructure_Chain_ChainKey) GetKey() []byte

func (*SessionStructure_Chain_ChainKey) ProtoMessage

func (*SessionStructure_Chain_ChainKey) ProtoMessage()

func (*SessionStructure_Chain_ChainKey) ProtoReflect

func (*SessionStructure_Chain_ChainKey) Reset

func (*SessionStructure_Chain_ChainKey) String

type SessionStructure_Chain_MessageKey

type SessionStructure_Chain_MessageKey struct {
	Index     uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	CipherKey []byte `protobuf:"bytes,2,opt,name=cipher_key,json=cipherKey,proto3" json:"cipher_key,omitempty"`
	MacKey    []byte `protobuf:"bytes,3,opt,name=mac_key,json=macKey,proto3" json:"mac_key,omitempty"`
	Iv        []byte `protobuf:"bytes,4,opt,name=iv,proto3" json:"iv,omitempty"`
	// If `seed` is set, then `cipher_key`, `mac_key`, and `iv`
	// will be empty and should be generated from it.
	Seed []byte `protobuf:"bytes,5,opt,name=seed,proto3" json:"seed,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStructure_Chain_MessageKey) Descriptor deprecated

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

Deprecated: Use SessionStructure_Chain_MessageKey.ProtoReflect.Descriptor instead.

func (*SessionStructure_Chain_MessageKey) GetCipherKey

func (x *SessionStructure_Chain_MessageKey) GetCipherKey() []byte

func (*SessionStructure_Chain_MessageKey) GetIndex

func (*SessionStructure_Chain_MessageKey) GetIv

func (*SessionStructure_Chain_MessageKey) GetMacKey

func (x *SessionStructure_Chain_MessageKey) GetMacKey() []byte

func (*SessionStructure_Chain_MessageKey) GetSeed

func (x *SessionStructure_Chain_MessageKey) GetSeed() []byte

func (*SessionStructure_Chain_MessageKey) ProtoMessage

func (*SessionStructure_Chain_MessageKey) ProtoMessage()

func (*SessionStructure_Chain_MessageKey) ProtoReflect

func (*SessionStructure_Chain_MessageKey) Reset

func (*SessionStructure_Chain_MessageKey) String

type SessionStructure_PendingKyberPreKey

type SessionStructure_PendingKyberPreKey struct {
	PreKeyId   uint32 `protobuf:"varint,1,opt,name=pre_key_id,json=preKeyId,proto3" json:"pre_key_id,omitempty"`
	Ciphertext []byte `protobuf:"bytes,2,opt,name=ciphertext,proto3" json:"ciphertext,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStructure_PendingKyberPreKey) Descriptor deprecated

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

Deprecated: Use SessionStructure_PendingKyberPreKey.ProtoReflect.Descriptor instead.

func (*SessionStructure_PendingKyberPreKey) GetCiphertext

func (x *SessionStructure_PendingKyberPreKey) GetCiphertext() []byte

func (*SessionStructure_PendingKyberPreKey) GetPreKeyId

func (*SessionStructure_PendingKyberPreKey) ProtoMessage

func (*SessionStructure_PendingKyberPreKey) ProtoMessage()

func (*SessionStructure_PendingKyberPreKey) ProtoReflect

func (*SessionStructure_PendingKyberPreKey) Reset

func (*SessionStructure_PendingKyberPreKey) String

type SessionStructure_PendingPreKey

type SessionStructure_PendingPreKey struct {
	PreKeyId       *uint32 `protobuf:"varint,1,opt,name=pre_key_id,json=preKeyId,proto3,oneof" json:"pre_key_id,omitempty"`
	SignedPreKeyId int32   `protobuf:"varint,3,opt,name=signed_pre_key_id,json=signedPreKeyId,proto3" json:"signed_pre_key_id,omitempty"`
	BaseKey        []byte  `protobuf:"bytes,2,opt,name=base_key,json=baseKey,proto3" json:"base_key,omitempty"`
	Timestamp      uint64  `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionStructure_PendingPreKey) Descriptor deprecated

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

Deprecated: Use SessionStructure_PendingPreKey.ProtoReflect.Descriptor instead.

func (*SessionStructure_PendingPreKey) GetBaseKey

func (x *SessionStructure_PendingPreKey) GetBaseKey() []byte

func (*SessionStructure_PendingPreKey) GetPreKeyId

func (x *SessionStructure_PendingPreKey) GetPreKeyId() uint32

func (*SessionStructure_PendingPreKey) GetSignedPreKeyId

func (x *SessionStructure_PendingPreKey) GetSignedPreKeyId() int32

func (*SessionStructure_PendingPreKey) GetTimestamp

func (x *SessionStructure_PendingPreKey) GetTimestamp() uint64

func (*SessionStructure_PendingPreKey) ProtoMessage

func (*SessionStructure_PendingPreKey) ProtoMessage()

func (*SessionStructure_PendingPreKey) ProtoReflect

func (*SessionStructure_PendingPreKey) Reset

func (x *SessionStructure_PendingPreKey) Reset()

func (*SessionStructure_PendingPreKey) String

type SignalMessage

type SignalMessage struct {
	RatchetKey      []byte  `protobuf:"bytes,1,opt,name=ratchet_key,json=ratchetKey" json:"ratchet_key,omitempty"`
	Counter         *uint32 `protobuf:"varint,2,opt,name=counter" json:"counter,omitempty"`
	PreviousCounter *uint32 `protobuf:"varint,3,opt,name=previous_counter,json=previousCounter" json:"previous_counter,omitempty"`
	Ciphertext      []byte  `protobuf:"bytes,4,opt,name=ciphertext" json:"ciphertext,omitempty"`
	PqRatchet       []byte  `protobuf:"bytes,5,opt,name=pq_ratchet,json=pqRatchet" json:"pq_ratchet,omitempty"`
	Addresses       []byte  `protobuf:"bytes,6,opt,name=addresses" json:"addresses,omitempty"`
	// contains filtered or unexported fields
}

func (*SignalMessage) Descriptor deprecated

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

Deprecated: Use SignalMessage.ProtoReflect.Descriptor instead.

func (*SignalMessage) GetAddresses

func (x *SignalMessage) GetAddresses() []byte

func (*SignalMessage) GetCiphertext

func (x *SignalMessage) GetCiphertext() []byte

func (*SignalMessage) GetCounter

func (x *SignalMessage) GetCounter() uint32

func (*SignalMessage) GetPqRatchet

func (x *SignalMessage) GetPqRatchet() []byte

func (*SignalMessage) GetPreviousCounter

func (x *SignalMessage) GetPreviousCounter() uint32

func (*SignalMessage) GetRatchetKey

func (x *SignalMessage) GetRatchetKey() []byte

func (*SignalMessage) ProtoMessage

func (*SignalMessage) ProtoMessage()

func (*SignalMessage) ProtoReflect

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

func (*SignalMessage) Reset

func (x *SignalMessage) Reset()

func (*SignalMessage) String

func (x *SignalMessage) String() string

type SignedPreKeyRecordStructure

type SignedPreKeyRecordStructure struct {
	Id         uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	PublicKey  []byte `protobuf:"bytes,2,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	PrivateKey []byte `protobuf:"bytes,3,opt,name=private_key,json=privateKey,proto3" json:"private_key,omitempty"`
	Signature  []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	Timestamp  uint64 `protobuf:"fixed64,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedPreKeyRecordStructure) Descriptor deprecated

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

Deprecated: Use SignedPreKeyRecordStructure.ProtoReflect.Descriptor instead.

func (*SignedPreKeyRecordStructure) GetId

func (*SignedPreKeyRecordStructure) GetPrivateKey

func (x *SignedPreKeyRecordStructure) GetPrivateKey() []byte

func (*SignedPreKeyRecordStructure) GetPublicKey

func (x *SignedPreKeyRecordStructure) GetPublicKey() []byte

func (*SignedPreKeyRecordStructure) GetSignature

func (x *SignedPreKeyRecordStructure) GetSignature() []byte

func (*SignedPreKeyRecordStructure) GetTimestamp

func (x *SignedPreKeyRecordStructure) GetTimestamp() uint64

func (*SignedPreKeyRecordStructure) ProtoMessage

func (*SignedPreKeyRecordStructure) ProtoMessage()

func (*SignedPreKeyRecordStructure) ProtoReflect

func (*SignedPreKeyRecordStructure) Reset

func (x *SignedPreKeyRecordStructure) Reset()

func (*SignedPreKeyRecordStructure) String

func (x *SignedPreKeyRecordStructure) String() string

type UnidentifiedSenderMessage

type UnidentifiedSenderMessage struct {
	EphemeralPublic  []byte `protobuf:"bytes,1,opt,name=ephemeralPublic" json:"ephemeralPublic,omitempty"`
	EncryptedStatic  []byte `protobuf:"bytes,2,opt,name=encryptedStatic" json:"encryptedStatic,omitempty"`
	EncryptedMessage []byte `protobuf:"bytes,3,opt,name=encryptedMessage" json:"encryptedMessage,omitempty"`
	// contains filtered or unexported fields
}

func (*UnidentifiedSenderMessage) Descriptor deprecated

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

Deprecated: Use UnidentifiedSenderMessage.ProtoReflect.Descriptor instead.

func (*UnidentifiedSenderMessage) GetEncryptedMessage

func (x *UnidentifiedSenderMessage) GetEncryptedMessage() []byte

func (*UnidentifiedSenderMessage) GetEncryptedStatic

func (x *UnidentifiedSenderMessage) GetEncryptedStatic() []byte

func (*UnidentifiedSenderMessage) GetEphemeralPublic

func (x *UnidentifiedSenderMessage) GetEphemeralPublic() []byte

func (*UnidentifiedSenderMessage) ProtoMessage

func (*UnidentifiedSenderMessage) ProtoMessage()

func (*UnidentifiedSenderMessage) ProtoReflect

func (*UnidentifiedSenderMessage) Reset

func (x *UnidentifiedSenderMessage) Reset()

func (*UnidentifiedSenderMessage) String

func (x *UnidentifiedSenderMessage) String() string

type UnidentifiedSenderMessage_Message

type UnidentifiedSenderMessage_Message struct {
	Type              *UnidentifiedSenderMessage_Message_Type        `` /* 126-byte string literal not displayed */
	SenderCertificate []byte                                         `protobuf:"bytes,2,opt,name=senderCertificate" json:"senderCertificate,omitempty"`
	Content           []byte                                         `protobuf:"bytes,3,opt,name=content" json:"content,omitempty"`
	ContentHint       *UnidentifiedSenderMessage_Message_ContentHint `` /* 147-byte string literal not displayed */
	GroupId           []byte                                         `protobuf:"bytes,5,opt,name=groupId" json:"groupId,omitempty"`
	// contains filtered or unexported fields
}

func (*UnidentifiedSenderMessage_Message) Descriptor deprecated

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

Deprecated: Use UnidentifiedSenderMessage_Message.ProtoReflect.Descriptor instead.

func (*UnidentifiedSenderMessage_Message) GetContent

func (x *UnidentifiedSenderMessage_Message) GetContent() []byte

func (*UnidentifiedSenderMessage_Message) GetContentHint

func (*UnidentifiedSenderMessage_Message) GetGroupId

func (x *UnidentifiedSenderMessage_Message) GetGroupId() []byte

func (*UnidentifiedSenderMessage_Message) GetSenderCertificate

func (x *UnidentifiedSenderMessage_Message) GetSenderCertificate() []byte

func (*UnidentifiedSenderMessage_Message) GetType

func (*UnidentifiedSenderMessage_Message) ProtoMessage

func (*UnidentifiedSenderMessage_Message) ProtoMessage()

func (*UnidentifiedSenderMessage_Message) ProtoReflect

func (*UnidentifiedSenderMessage_Message) Reset

func (*UnidentifiedSenderMessage_Message) String

type UnidentifiedSenderMessage_Message_ContentHint

type UnidentifiedSenderMessage_Message_ContentHint int32
const (
	UnidentifiedSenderMessage_Message_RESENDABLE UnidentifiedSenderMessage_Message_ContentHint = 1 // Sender will try to resend; delay any error UI if possible
	UnidentifiedSenderMessage_Message_IMPLICIT   UnidentifiedSenderMessage_Message_ContentHint = 2 // Don't show any error UI at all; this is something sent implicitly like a typing message or a receipt
)

func (UnidentifiedSenderMessage_Message_ContentHint) Descriptor

func (UnidentifiedSenderMessage_Message_ContentHint) Enum

func (UnidentifiedSenderMessage_Message_ContentHint) EnumDescriptor deprecated

func (UnidentifiedSenderMessage_Message_ContentHint) EnumDescriptor() ([]byte, []int)

Deprecated: Use UnidentifiedSenderMessage_Message_ContentHint.Descriptor instead.

func (UnidentifiedSenderMessage_Message_ContentHint) Number

func (UnidentifiedSenderMessage_Message_ContentHint) String

func (UnidentifiedSenderMessage_Message_ContentHint) Type

func (*UnidentifiedSenderMessage_Message_ContentHint) UnmarshalJSON deprecated

Deprecated: Do not use.

type UnidentifiedSenderMessage_Message_Type

type UnidentifiedSenderMessage_Message_Type int32
const (
	UnidentifiedSenderMessage_Message_PREKEY_MESSAGE    UnidentifiedSenderMessage_Message_Type = 1
	UnidentifiedSenderMessage_Message_MESSAGE           UnidentifiedSenderMessage_Message_Type = 2
	UnidentifiedSenderMessage_Message_SENDERKEY_MESSAGE UnidentifiedSenderMessage_Message_Type = 7
	UnidentifiedSenderMessage_Message_PLAINTEXT_CONTENT UnidentifiedSenderMessage_Message_Type = 8
)

func (UnidentifiedSenderMessage_Message_Type) Descriptor

func (UnidentifiedSenderMessage_Message_Type) Enum

func (UnidentifiedSenderMessage_Message_Type) EnumDescriptor deprecated

func (UnidentifiedSenderMessage_Message_Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use UnidentifiedSenderMessage_Message_Type.Descriptor instead.

func (UnidentifiedSenderMessage_Message_Type) Number

func (UnidentifiedSenderMessage_Message_Type) String

func (UnidentifiedSenderMessage_Message_Type) Type

func (*UnidentifiedSenderMessage_Message_Type) UnmarshalJSON deprecated

func (x *UnidentifiedSenderMessage_Message_Type) UnmarshalJSON(b []byte) error

Deprecated: Do not use.

type V1Msg

type V1Msg struct {
	Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Index uint32 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	// Types that are valid to be assigned to InnerMsg:
	//
	//	*V1Msg_Hdr
	//	*V1Msg_Ek
	//	*V1Msg_EkCt1Ack
	//	*V1Msg_Ct1Ack
	//	*V1Msg_Ct1
	//	*V1Msg_Ct2
	InnerMsg isV1Msg_InnerMsg `protobuf_oneof:"inner_msg"`
	// contains filtered or unexported fields
}

func (*V1Msg) Descriptor deprecated

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

Deprecated: Use V1Msg.ProtoReflect.Descriptor instead.

func (*V1Msg) GetCt1

func (x *V1Msg) GetCt1() *Chunk

func (*V1Msg) GetCt1Ack

func (x *V1Msg) GetCt1Ack() bool

func (*V1Msg) GetCt2

func (x *V1Msg) GetCt2() *Chunk

func (*V1Msg) GetEk

func (x *V1Msg) GetEk() *Chunk

func (*V1Msg) GetEkCt1Ack

func (x *V1Msg) GetEkCt1Ack() *Chunk

func (*V1Msg) GetEpoch

func (x *V1Msg) GetEpoch() uint64

func (*V1Msg) GetHdr

func (x *V1Msg) GetHdr() *Chunk

func (*V1Msg) GetIndex

func (x *V1Msg) GetIndex() uint32

func (*V1Msg) GetInnerMsg

func (x *V1Msg) GetInnerMsg() isV1Msg_InnerMsg

func (*V1Msg) ProtoMessage

func (*V1Msg) ProtoMessage()

func (*V1Msg) ProtoReflect

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

func (*V1Msg) Reset

func (x *V1Msg) Reset()

func (*V1Msg) String

func (x *V1Msg) String() string

type V1Msg_Ct1

type V1Msg_Ct1 struct {
	// send_ct
	Ct1 *Chunk `protobuf:"bytes,7,opt,name=ct1,proto3,oneof"`
}

type V1Msg_Ct1Ack

type V1Msg_Ct1Ack struct {
	Ct1Ack bool `protobuf:"varint,6,opt,name=ct1_ack,json=ct1Ack,proto3,oneof"`
}

type V1Msg_Ct2

type V1Msg_Ct2 struct {
	Ct2 *Chunk `protobuf:"bytes,8,opt,name=ct2,proto3,oneof"`
}

type V1Msg_Ek

type V1Msg_Ek struct {
	Ek *Chunk `protobuf:"bytes,4,opt,name=ek,proto3,oneof"`
}

type V1Msg_EkCt1Ack

type V1Msg_EkCt1Ack struct {
	EkCt1Ack *Chunk `protobuf:"bytes,5,opt,name=ek_ct1_ack,json=ekCt1Ack,proto3,oneof"`
}

type V1Msg_Hdr

type V1Msg_Hdr struct {
	// send_ek
	Hdr *Chunk `protobuf:"bytes,3,opt,name=hdr,proto3,oneof"`
}

type V1State

type V1State struct {

	// Types that are valid to be assigned to InnerState:
	//
	//	*V1State_KeysUnsampled
	//	*V1State_KeysSampled
	//	*V1State_HeaderSent
	//	*V1State_Ct1Received
	//	*V1State_EkSentCt1Received
	//	*V1State_NoHeaderReceived
	//	*V1State_HeaderReceived
	//	*V1State_Ct1Sampled
	//	*V1State_EkReceivedCt1Sampled
	//	*V1State_Ct1Acknowledged
	//	*V1State_Ct2Sampled
	InnerState isV1State_InnerState `protobuf_oneof:"inner_state"`
	// contains filtered or unexported fields
}

func (*V1State) Descriptor deprecated

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

Deprecated: Use V1State.ProtoReflect.Descriptor instead.

func (*V1State) GetCt1Acknowledged

func (x *V1State) GetCt1Acknowledged() *V1State_Chunked_Ct1Acknowledged

func (*V1State) GetCt1Received

func (x *V1State) GetCt1Received() *V1State_Chunked_Ct1Received

func (*V1State) GetCt1Sampled

func (x *V1State) GetCt1Sampled() *V1State_Chunked_Ct1Sampled

func (*V1State) GetCt2Sampled

func (x *V1State) GetCt2Sampled() *V1State_Chunked_Ct2Sampled

func (*V1State) GetEkReceivedCt1Sampled

func (x *V1State) GetEkReceivedCt1Sampled() *V1State_Chunked_EkReceivedCt1Sampled

func (*V1State) GetEkSentCt1Received

func (x *V1State) GetEkSentCt1Received() *V1State_Chunked_EkSentCt1Received

func (*V1State) GetHeaderReceived

func (x *V1State) GetHeaderReceived() *V1State_Chunked_HeaderReceived

func (*V1State) GetHeaderSent

func (x *V1State) GetHeaderSent() *V1State_Chunked_HeaderSent

func (*V1State) GetInnerState

func (x *V1State) GetInnerState() isV1State_InnerState

func (*V1State) GetKeysSampled

func (x *V1State) GetKeysSampled() *V1State_Chunked_KeysSampled

func (*V1State) GetKeysUnsampled

func (x *V1State) GetKeysUnsampled() *V1State_Chunked_KeysUnsampled

func (*V1State) GetNoHeaderReceived

func (x *V1State) GetNoHeaderReceived() *V1State_Chunked_NoHeaderReceived

func (*V1State) ProtoMessage

func (*V1State) ProtoMessage()

func (*V1State) ProtoReflect

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

func (*V1State) Reset

func (x *V1State) Reset()

func (*V1State) String

func (x *V1State) String() string

type V1State_Chunked

type V1State_Chunked struct {
	// contains filtered or unexported fields
}

func (*V1State_Chunked) Descriptor deprecated

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

Deprecated: Use V1State_Chunked.ProtoReflect.Descriptor instead.

func (*V1State_Chunked) ProtoMessage

func (*V1State_Chunked) ProtoMessage()

func (*V1State_Chunked) ProtoReflect

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

func (*V1State_Chunked) Reset

func (x *V1State_Chunked) Reset()

func (*V1State_Chunked) String

func (x *V1State_Chunked) String() string

type V1State_Chunked_Ct1Acknowledged

type V1State_Chunked_Ct1Acknowledged struct {
	Uc          *V1State_Unchunked_Ct1Sent `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	ReceivingEk *PolynomialDecoder         `protobuf:"bytes,2,opt,name=receiving_ek,json=receivingEk,proto3" json:"receiving_ek,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_Ct1Acknowledged) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_Ct1Acknowledged.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_Ct1Acknowledged) GetReceivingEk

func (*V1State_Chunked_Ct1Acknowledged) GetUc

func (*V1State_Chunked_Ct1Acknowledged) ProtoMessage

func (*V1State_Chunked_Ct1Acknowledged) ProtoMessage()

func (*V1State_Chunked_Ct1Acknowledged) ProtoReflect

func (*V1State_Chunked_Ct1Acknowledged) Reset

func (*V1State_Chunked_Ct1Acknowledged) String

type V1State_Chunked_Ct1Received

type V1State_Chunked_Ct1Received struct {
	Uc        *V1State_Unchunked_EkSentCt1Received `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingEk *PolynomialEncoder                   `protobuf:"bytes,2,opt,name=sending_ek,json=sendingEk,proto3" json:"sending_ek,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_Ct1Received) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_Ct1Received.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_Ct1Received) GetSendingEk

func (*V1State_Chunked_Ct1Received) GetUc

func (*V1State_Chunked_Ct1Received) ProtoMessage

func (*V1State_Chunked_Ct1Received) ProtoMessage()

func (*V1State_Chunked_Ct1Received) ProtoReflect

func (*V1State_Chunked_Ct1Received) Reset

func (x *V1State_Chunked_Ct1Received) Reset()

func (*V1State_Chunked_Ct1Received) String

func (x *V1State_Chunked_Ct1Received) String() string

type V1State_Chunked_Ct1Sampled

type V1State_Chunked_Ct1Sampled struct {
	Uc          *V1State_Unchunked_Ct1Sent `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingCt1  *PolynomialEncoder         `protobuf:"bytes,2,opt,name=sending_ct1,json=sendingCt1,proto3" json:"sending_ct1,omitempty"`
	ReceivingEk *PolynomialDecoder         `protobuf:"bytes,3,opt,name=receiving_ek,json=receivingEk,proto3" json:"receiving_ek,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_Ct1Sampled) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_Ct1Sampled.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_Ct1Sampled) GetReceivingEk

func (x *V1State_Chunked_Ct1Sampled) GetReceivingEk() *PolynomialDecoder

func (*V1State_Chunked_Ct1Sampled) GetSendingCt1

func (x *V1State_Chunked_Ct1Sampled) GetSendingCt1() *PolynomialEncoder

func (*V1State_Chunked_Ct1Sampled) GetUc

func (*V1State_Chunked_Ct1Sampled) ProtoMessage

func (*V1State_Chunked_Ct1Sampled) ProtoMessage()

func (*V1State_Chunked_Ct1Sampled) ProtoReflect

func (*V1State_Chunked_Ct1Sampled) Reset

func (x *V1State_Chunked_Ct1Sampled) Reset()

func (*V1State_Chunked_Ct1Sampled) String

func (x *V1State_Chunked_Ct1Sampled) String() string

type V1State_Chunked_Ct2Sampled

type V1State_Chunked_Ct2Sampled struct {
	Uc         *V1State_Unchunked_Ct2Sent `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingCt2 *PolynomialEncoder         `protobuf:"bytes,2,opt,name=sending_ct2,json=sendingCt2,proto3" json:"sending_ct2,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_Ct2Sampled) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_Ct2Sampled.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_Ct2Sampled) GetSendingCt2

func (x *V1State_Chunked_Ct2Sampled) GetSendingCt2() *PolynomialEncoder

func (*V1State_Chunked_Ct2Sampled) GetUc

func (*V1State_Chunked_Ct2Sampled) ProtoMessage

func (*V1State_Chunked_Ct2Sampled) ProtoMessage()

func (*V1State_Chunked_Ct2Sampled) ProtoReflect

func (*V1State_Chunked_Ct2Sampled) Reset

func (x *V1State_Chunked_Ct2Sampled) Reset()

func (*V1State_Chunked_Ct2Sampled) String

func (x *V1State_Chunked_Ct2Sampled) String() string

type V1State_Chunked_EkReceivedCt1Sampled

type V1State_Chunked_EkReceivedCt1Sampled struct {
	Uc         *V1State_Unchunked_Ct1SentEkReceived `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingCt1 *PolynomialEncoder                   `protobuf:"bytes,2,opt,name=sending_ct1,json=sendingCt1,proto3" json:"sending_ct1,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_EkReceivedCt1Sampled) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_EkReceivedCt1Sampled.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_EkReceivedCt1Sampled) GetSendingCt1

func (*V1State_Chunked_EkReceivedCt1Sampled) GetUc

func (*V1State_Chunked_EkReceivedCt1Sampled) ProtoMessage

func (*V1State_Chunked_EkReceivedCt1Sampled) ProtoMessage()

func (*V1State_Chunked_EkReceivedCt1Sampled) ProtoReflect

func (*V1State_Chunked_EkReceivedCt1Sampled) Reset

func (*V1State_Chunked_EkReceivedCt1Sampled) String

type V1State_Chunked_EkSentCt1Received

type V1State_Chunked_EkSentCt1Received struct {
	Uc           *V1State_Unchunked_EkSentCt1Received `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	ReceivingCt2 *PolynomialDecoder                   `protobuf:"bytes,3,opt,name=receiving_ct2,json=receivingCt2,proto3" json:"receiving_ct2,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_EkSentCt1Received) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_EkSentCt1Received.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_EkSentCt1Received) GetReceivingCt2

func (*V1State_Chunked_EkSentCt1Received) GetUc

func (*V1State_Chunked_EkSentCt1Received) ProtoMessage

func (*V1State_Chunked_EkSentCt1Received) ProtoMessage()

func (*V1State_Chunked_EkSentCt1Received) ProtoReflect

func (*V1State_Chunked_EkSentCt1Received) Reset

func (*V1State_Chunked_EkSentCt1Received) String

type V1State_Chunked_HeaderReceived

type V1State_Chunked_HeaderReceived struct {
	Uc          *V1State_Unchunked_HeaderReceived `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	ReceivingEk *PolynomialDecoder                `protobuf:"bytes,2,opt,name=receiving_ek,json=receivingEk,proto3" json:"receiving_ek,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_HeaderReceived) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_HeaderReceived.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_HeaderReceived) GetReceivingEk

func (*V1State_Chunked_HeaderReceived) GetUc

func (*V1State_Chunked_HeaderReceived) ProtoMessage

func (*V1State_Chunked_HeaderReceived) ProtoMessage()

func (*V1State_Chunked_HeaderReceived) ProtoReflect

func (*V1State_Chunked_HeaderReceived) Reset

func (x *V1State_Chunked_HeaderReceived) Reset()

func (*V1State_Chunked_HeaderReceived) String

type V1State_Chunked_HeaderSent

type V1State_Chunked_HeaderSent struct {
	Uc           *V1State_Unchunked_EkSent `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingEk    *PolynomialEncoder        `protobuf:"bytes,2,opt,name=sending_ek,json=sendingEk,proto3" json:"sending_ek,omitempty"`
	ReceivingCt1 *PolynomialDecoder        `protobuf:"bytes,3,opt,name=receiving_ct1,json=receivingCt1,proto3" json:"receiving_ct1,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_HeaderSent) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_HeaderSent.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_HeaderSent) GetReceivingCt1

func (x *V1State_Chunked_HeaderSent) GetReceivingCt1() *PolynomialDecoder

func (*V1State_Chunked_HeaderSent) GetSendingEk

func (x *V1State_Chunked_HeaderSent) GetSendingEk() *PolynomialEncoder

func (*V1State_Chunked_HeaderSent) GetUc

func (*V1State_Chunked_HeaderSent) ProtoMessage

func (*V1State_Chunked_HeaderSent) ProtoMessage()

func (*V1State_Chunked_HeaderSent) ProtoReflect

func (*V1State_Chunked_HeaderSent) Reset

func (x *V1State_Chunked_HeaderSent) Reset()

func (*V1State_Chunked_HeaderSent) String

func (x *V1State_Chunked_HeaderSent) String() string

type V1State_Chunked_KeysSampled

type V1State_Chunked_KeysSampled struct {
	Uc         *V1State_Unchunked_HeaderSent `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	SendingHdr *PolynomialEncoder            `protobuf:"bytes,2,opt,name=sending_hdr,json=sendingHdr,proto3" json:"sending_hdr,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Chunked_KeysSampled) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_KeysSampled.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_KeysSampled) GetSendingHdr

func (x *V1State_Chunked_KeysSampled) GetSendingHdr() *PolynomialEncoder

func (*V1State_Chunked_KeysSampled) GetUc

func (*V1State_Chunked_KeysSampled) ProtoMessage

func (*V1State_Chunked_KeysSampled) ProtoMessage()

func (*V1State_Chunked_KeysSampled) ProtoReflect

func (*V1State_Chunked_KeysSampled) Reset

func (x *V1State_Chunked_KeysSampled) Reset()

func (*V1State_Chunked_KeysSampled) String

func (x *V1State_Chunked_KeysSampled) String() string

type V1State_Chunked_KeysUnsampled

type V1State_Chunked_KeysUnsampled struct {
	Uc *V1State_Unchunked_KeysUnsampled `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	// contains filtered or unexported fields
}

// send_ek ////

func (*V1State_Chunked_KeysUnsampled) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_KeysUnsampled.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_KeysUnsampled) GetUc

func (*V1State_Chunked_KeysUnsampled) ProtoMessage

func (*V1State_Chunked_KeysUnsampled) ProtoMessage()

func (*V1State_Chunked_KeysUnsampled) ProtoReflect

func (*V1State_Chunked_KeysUnsampled) Reset

func (x *V1State_Chunked_KeysUnsampled) Reset()

func (*V1State_Chunked_KeysUnsampled) String

type V1State_Chunked_NoHeaderReceived

type V1State_Chunked_NoHeaderReceived struct {
	Uc           *V1State_Unchunked_NoHeaderReceived `protobuf:"bytes,1,opt,name=uc,proto3" json:"uc,omitempty"`
	ReceivingHdr *PolynomialDecoder                  `protobuf:"bytes,2,opt,name=receiving_hdr,json=receivingHdr,proto3" json:"receiving_hdr,omitempty"`
	// contains filtered or unexported fields
}

// send_ct ////

func (*V1State_Chunked_NoHeaderReceived) Descriptor deprecated

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

Deprecated: Use V1State_Chunked_NoHeaderReceived.ProtoReflect.Descriptor instead.

func (*V1State_Chunked_NoHeaderReceived) GetReceivingHdr

func (*V1State_Chunked_NoHeaderReceived) GetUc

func (*V1State_Chunked_NoHeaderReceived) ProtoMessage

func (*V1State_Chunked_NoHeaderReceived) ProtoMessage()

func (*V1State_Chunked_NoHeaderReceived) ProtoReflect

func (*V1State_Chunked_NoHeaderReceived) Reset

func (*V1State_Chunked_NoHeaderReceived) String

type V1State_Ct1Acknowledged

type V1State_Ct1Acknowledged struct {
	Ct1Acknowledged *V1State_Chunked_Ct1Acknowledged `protobuf:"bytes,10,opt,name=ct1_acknowledged,json=ct1Acknowledged,proto3,oneof"`
}

type V1State_Ct1Received

type V1State_Ct1Received struct {
	Ct1Received *V1State_Chunked_Ct1Received `protobuf:"bytes,4,opt,name=ct1_received,json=ct1Received,proto3,oneof"`
}

type V1State_Ct1Sampled

type V1State_Ct1Sampled struct {
	Ct1Sampled *V1State_Chunked_Ct1Sampled `protobuf:"bytes,8,opt,name=ct1_sampled,json=ct1Sampled,proto3,oneof"`
}

type V1State_Ct2Sampled

type V1State_Ct2Sampled struct {
	Ct2Sampled *V1State_Chunked_Ct2Sampled `protobuf:"bytes,11,opt,name=ct2_sampled,json=ct2Sampled,proto3,oneof"`
}

type V1State_EkReceivedCt1Sampled

type V1State_EkReceivedCt1Sampled struct {
	EkReceivedCt1Sampled *V1State_Chunked_EkReceivedCt1Sampled `protobuf:"bytes,9,opt,name=ek_received_ct1_sampled,json=ekReceivedCt1Sampled,proto3,oneof"`
}

type V1State_EkSentCt1Received

type V1State_EkSentCt1Received struct {
	EkSentCt1Received *V1State_Chunked_EkSentCt1Received `protobuf:"bytes,5,opt,name=ek_sent_ct1_received,json=ekSentCt1Received,proto3,oneof"`
}

type V1State_HeaderReceived

type V1State_HeaderReceived struct {
	HeaderReceived *V1State_Chunked_HeaderReceived `protobuf:"bytes,7,opt,name=header_received,json=headerReceived,proto3,oneof"`
}

type V1State_HeaderSent

type V1State_HeaderSent struct {
	HeaderSent *V1State_Chunked_HeaderSent `protobuf:"bytes,3,opt,name=header_sent,json=headerSent,proto3,oneof"`
}

type V1State_KeysSampled

type V1State_KeysSampled struct {
	KeysSampled *V1State_Chunked_KeysSampled `protobuf:"bytes,2,opt,name=keys_sampled,json=keysSampled,proto3,oneof"`
}

type V1State_KeysUnsampled

type V1State_KeysUnsampled struct {
	// // send_ek ////
	KeysUnsampled *V1State_Chunked_KeysUnsampled `protobuf:"bytes,1,opt,name=keys_unsampled,json=keysUnsampled,proto3,oneof"`
}

type V1State_NoHeaderReceived

type V1State_NoHeaderReceived struct {
	// // send_ct ////
	NoHeaderReceived *V1State_Chunked_NoHeaderReceived `protobuf:"bytes,6,opt,name=no_header_received,json=noHeaderReceived,proto3,oneof"`
}

type V1State_Unchunked

type V1State_Unchunked struct {
	// contains filtered or unexported fields
}

func (*V1State_Unchunked) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked) ProtoMessage

func (*V1State_Unchunked) ProtoMessage()

func (*V1State_Unchunked) ProtoReflect

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

func (*V1State_Unchunked) Reset

func (x *V1State_Unchunked) Reset()

func (*V1State_Unchunked) String

func (x *V1State_Unchunked) String() string

type V1State_Unchunked_Ct1Sent

type V1State_Unchunked_Ct1Sent struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Hdr   []byte         `protobuf:"bytes,3,opt,name=hdr,proto3" json:"hdr,omitempty"`
	Es    []byte         `protobuf:"bytes,4,opt,name=es,proto3" json:"es,omitempty"`
	Ct1   []byte         `protobuf:"bytes,5,opt,name=ct1,proto3" json:"ct1,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_Ct1Sent) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_Ct1Sent.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_Ct1Sent) GetAuth

func (*V1State_Unchunked_Ct1Sent) GetCt1

func (x *V1State_Unchunked_Ct1Sent) GetCt1() []byte

func (*V1State_Unchunked_Ct1Sent) GetEpoch

func (x *V1State_Unchunked_Ct1Sent) GetEpoch() uint64

func (*V1State_Unchunked_Ct1Sent) GetEs

func (x *V1State_Unchunked_Ct1Sent) GetEs() []byte

func (*V1State_Unchunked_Ct1Sent) GetHdr

func (x *V1State_Unchunked_Ct1Sent) GetHdr() []byte

func (*V1State_Unchunked_Ct1Sent) ProtoMessage

func (*V1State_Unchunked_Ct1Sent) ProtoMessage()

func (*V1State_Unchunked_Ct1Sent) ProtoReflect

func (*V1State_Unchunked_Ct1Sent) Reset

func (x *V1State_Unchunked_Ct1Sent) Reset()

func (*V1State_Unchunked_Ct1Sent) String

func (x *V1State_Unchunked_Ct1Sent) String() string

type V1State_Unchunked_Ct1SentEkReceived

type V1State_Unchunked_Ct1SentEkReceived struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Es    []byte         `protobuf:"bytes,3,opt,name=es,proto3" json:"es,omitempty"`
	Ek    []byte         `protobuf:"bytes,4,opt,name=ek,proto3" json:"ek,omitempty"`
	Ct1   []byte         `protobuf:"bytes,5,opt,name=ct1,proto3" json:"ct1,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_Ct1SentEkReceived) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_Ct1SentEkReceived.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_Ct1SentEkReceived) GetAuth

func (*V1State_Unchunked_Ct1SentEkReceived) GetCt1

func (*V1State_Unchunked_Ct1SentEkReceived) GetEk

func (*V1State_Unchunked_Ct1SentEkReceived) GetEpoch

func (*V1State_Unchunked_Ct1SentEkReceived) GetEs

func (*V1State_Unchunked_Ct1SentEkReceived) ProtoMessage

func (*V1State_Unchunked_Ct1SentEkReceived) ProtoMessage()

func (*V1State_Unchunked_Ct1SentEkReceived) ProtoReflect

func (*V1State_Unchunked_Ct1SentEkReceived) Reset

func (*V1State_Unchunked_Ct1SentEkReceived) String

type V1State_Unchunked_Ct2Sent

type V1State_Unchunked_Ct2Sent struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_Ct2Sent) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_Ct2Sent.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_Ct2Sent) GetAuth

func (*V1State_Unchunked_Ct2Sent) GetEpoch

func (x *V1State_Unchunked_Ct2Sent) GetEpoch() uint64

func (*V1State_Unchunked_Ct2Sent) ProtoMessage

func (*V1State_Unchunked_Ct2Sent) ProtoMessage()

func (*V1State_Unchunked_Ct2Sent) ProtoReflect

func (*V1State_Unchunked_Ct2Sent) Reset

func (x *V1State_Unchunked_Ct2Sent) Reset()

func (*V1State_Unchunked_Ct2Sent) String

func (x *V1State_Unchunked_Ct2Sent) String() string

type V1State_Unchunked_EkReceived

type V1State_Unchunked_EkReceived struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Hdr   []byte         `protobuf:"bytes,3,opt,name=hdr,proto3" json:"hdr,omitempty"`
	Ek    []byte         `protobuf:"bytes,4,opt,name=ek,proto3" json:"ek,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_EkReceived) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_EkReceived.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_EkReceived) GetAuth

func (*V1State_Unchunked_EkReceived) GetEk

func (x *V1State_Unchunked_EkReceived) GetEk() []byte

func (*V1State_Unchunked_EkReceived) GetEpoch

func (x *V1State_Unchunked_EkReceived) GetEpoch() uint64

func (*V1State_Unchunked_EkReceived) GetHdr

func (x *V1State_Unchunked_EkReceived) GetHdr() []byte

func (*V1State_Unchunked_EkReceived) ProtoMessage

func (*V1State_Unchunked_EkReceived) ProtoMessage()

func (*V1State_Unchunked_EkReceived) ProtoReflect

func (*V1State_Unchunked_EkReceived) Reset

func (x *V1State_Unchunked_EkReceived) Reset()

func (*V1State_Unchunked_EkReceived) String

type V1State_Unchunked_EkSent

type V1State_Unchunked_EkSent struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Dk    []byte         `protobuf:"bytes,3,opt,name=dk,proto3" json:"dk,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_EkSent) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_EkSent.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_EkSent) GetAuth

func (*V1State_Unchunked_EkSent) GetDk

func (x *V1State_Unchunked_EkSent) GetDk() []byte

func (*V1State_Unchunked_EkSent) GetEpoch

func (x *V1State_Unchunked_EkSent) GetEpoch() uint64

func (*V1State_Unchunked_EkSent) ProtoMessage

func (*V1State_Unchunked_EkSent) ProtoMessage()

func (*V1State_Unchunked_EkSent) ProtoReflect

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

func (*V1State_Unchunked_EkSent) Reset

func (x *V1State_Unchunked_EkSent) Reset()

func (*V1State_Unchunked_EkSent) String

func (x *V1State_Unchunked_EkSent) String() string

type V1State_Unchunked_EkSentCt1Received

type V1State_Unchunked_EkSentCt1Received struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Dk    []byte         `protobuf:"bytes,3,opt,name=dk,proto3" json:"dk,omitempty"`
	Ct1   []byte         `protobuf:"bytes,4,opt,name=ct1,proto3" json:"ct1,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_EkSentCt1Received) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_EkSentCt1Received.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_EkSentCt1Received) GetAuth

func (*V1State_Unchunked_EkSentCt1Received) GetCt1

func (*V1State_Unchunked_EkSentCt1Received) GetDk

func (*V1State_Unchunked_EkSentCt1Received) GetEpoch

func (*V1State_Unchunked_EkSentCt1Received) ProtoMessage

func (*V1State_Unchunked_EkSentCt1Received) ProtoMessage()

func (*V1State_Unchunked_EkSentCt1Received) ProtoReflect

func (*V1State_Unchunked_EkSentCt1Received) Reset

func (*V1State_Unchunked_EkSentCt1Received) String

type V1State_Unchunked_HeaderReceived

type V1State_Unchunked_HeaderReceived struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Hdr   []byte         `protobuf:"bytes,3,opt,name=hdr,proto3" json:"hdr,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_HeaderReceived) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_HeaderReceived.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_HeaderReceived) GetAuth

func (*V1State_Unchunked_HeaderReceived) GetEpoch

func (*V1State_Unchunked_HeaderReceived) GetHdr

func (x *V1State_Unchunked_HeaderReceived) GetHdr() []byte

func (*V1State_Unchunked_HeaderReceived) ProtoMessage

func (*V1State_Unchunked_HeaderReceived) ProtoMessage()

func (*V1State_Unchunked_HeaderReceived) ProtoReflect

func (*V1State_Unchunked_HeaderReceived) Reset

func (*V1State_Unchunked_HeaderReceived) String

type V1State_Unchunked_HeaderSent

type V1State_Unchunked_HeaderSent struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	Ek    []byte         `protobuf:"bytes,3,opt,name=ek,proto3" json:"ek,omitempty"`
	Dk    []byte         `protobuf:"bytes,4,opt,name=dk,proto3" json:"dk,omitempty"`
	// contains filtered or unexported fields
}

func (*V1State_Unchunked_HeaderSent) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_HeaderSent.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_HeaderSent) GetAuth

func (*V1State_Unchunked_HeaderSent) GetDk

func (x *V1State_Unchunked_HeaderSent) GetDk() []byte

func (*V1State_Unchunked_HeaderSent) GetEk

func (x *V1State_Unchunked_HeaderSent) GetEk() []byte

func (*V1State_Unchunked_HeaderSent) GetEpoch

func (x *V1State_Unchunked_HeaderSent) GetEpoch() uint64

func (*V1State_Unchunked_HeaderSent) ProtoMessage

func (*V1State_Unchunked_HeaderSent) ProtoMessage()

func (*V1State_Unchunked_HeaderSent) ProtoReflect

func (*V1State_Unchunked_HeaderSent) Reset

func (x *V1State_Unchunked_HeaderSent) Reset()

func (*V1State_Unchunked_HeaderSent) String

type V1State_Unchunked_KeysUnsampled

type V1State_Unchunked_KeysUnsampled struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

// send_ek ////

func (*V1State_Unchunked_KeysUnsampled) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_KeysUnsampled.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_KeysUnsampled) GetAuth

func (*V1State_Unchunked_KeysUnsampled) GetEpoch

func (*V1State_Unchunked_KeysUnsampled) ProtoMessage

func (*V1State_Unchunked_KeysUnsampled) ProtoMessage()

func (*V1State_Unchunked_KeysUnsampled) ProtoReflect

func (*V1State_Unchunked_KeysUnsampled) Reset

func (*V1State_Unchunked_KeysUnsampled) String

type V1State_Unchunked_NoHeaderReceived

type V1State_Unchunked_NoHeaderReceived struct {
	Epoch uint64         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Auth  *Authenticator `protobuf:"bytes,2,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

// send_ct ////

func (*V1State_Unchunked_NoHeaderReceived) Descriptor deprecated

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

Deprecated: Use V1State_Unchunked_NoHeaderReceived.ProtoReflect.Descriptor instead.

func (*V1State_Unchunked_NoHeaderReceived) GetAuth

func (*V1State_Unchunked_NoHeaderReceived) GetEpoch

func (*V1State_Unchunked_NoHeaderReceived) ProtoMessage

func (*V1State_Unchunked_NoHeaderReceived) ProtoMessage()

func (*V1State_Unchunked_NoHeaderReceived) ProtoReflect

func (*V1State_Unchunked_NoHeaderReceived) Reset

func (*V1State_Unchunked_NoHeaderReceived) String

type Version

type Version int32
const (
	Version_V_0 Version = 0 // disabled
	Version_V_1 Version = 1
)

func (Version) Descriptor

func (Version) Descriptor() protoreflect.EnumDescriptor

func (Version) Enum

func (x Version) Enum() *Version

func (Version) EnumDescriptor deprecated

func (Version) EnumDescriptor() ([]byte, []int)

Deprecated: Use Version.Descriptor instead.

func (Version) Number

func (x Version) Number() protoreflect.EnumNumber

func (Version) String

func (x Version) String() string

func (Version) Type

func (Version) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

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