waAdv

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ADVEncryptionType_name = map[int32]string{
		0: "E2EE",
		1: "HOSTED",
	}
	ADVEncryptionType_value = map[string]int32{
		"E2EE":   0,
		"HOSTED": 1,
	}
)

Enum value maps for ADVEncryptionType.

View Source
var File_waAdv_WAAdv_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ADVDeviceIdentity

type ADVDeviceIdentity struct {
	RawID       uint32            `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"`
	Timestamp   uint64            `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	KeyIndex    uint32            `protobuf:"varint,3,opt,name=keyIndex,proto3" json:"keyIndex,omitempty"`
	AccountType ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
	DeviceType  ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,proto3,enum=WAAdv.ADVEncryptionType" json:"deviceType,omitempty"`
	// contains filtered or unexported fields
}

func (*ADVDeviceIdentity) Descriptor deprecated

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

Deprecated: Use ADVDeviceIdentity.ProtoReflect.Descriptor instead.

func (*ADVDeviceIdentity) GetAccountType

func (x *ADVDeviceIdentity) GetAccountType() ADVEncryptionType

func (*ADVDeviceIdentity) GetDeviceType

func (x *ADVDeviceIdentity) GetDeviceType() ADVEncryptionType

func (*ADVDeviceIdentity) GetKeyIndex

func (x *ADVDeviceIdentity) GetKeyIndex() uint32

func (*ADVDeviceIdentity) GetRawID

func (x *ADVDeviceIdentity) GetRawID() uint32

func (*ADVDeviceIdentity) GetTimestamp

func (x *ADVDeviceIdentity) GetTimestamp() uint64

func (*ADVDeviceIdentity) ProtoMessage

func (*ADVDeviceIdentity) ProtoMessage()

func (*ADVDeviceIdentity) ProtoReflect

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

func (*ADVDeviceIdentity) Reset

func (x *ADVDeviceIdentity) Reset()

func (*ADVDeviceIdentity) String

func (x *ADVDeviceIdentity) String() string

type ADVEncryptionType

type ADVEncryptionType int32
const (
	ADVEncryptionType_E2EE   ADVEncryptionType = 0
	ADVEncryptionType_HOSTED ADVEncryptionType = 1
)

func (ADVEncryptionType) Descriptor

func (ADVEncryptionType) Enum

func (ADVEncryptionType) EnumDescriptor deprecated

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

Deprecated: Use ADVEncryptionType.Descriptor instead.

func (ADVEncryptionType) Number

func (ADVEncryptionType) String

func (x ADVEncryptionType) String() string

func (ADVEncryptionType) Type

type ADVKeyIndexList

type ADVKeyIndexList struct {
	RawID        uint32            `protobuf:"varint,1,opt,name=rawID,proto3" json:"rawID,omitempty"`
	Timestamp    uint64            `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	CurrentIndex uint32            `protobuf:"varint,3,opt,name=currentIndex,proto3" json:"currentIndex,omitempty"`
	ValidIndexes []uint32          `protobuf:"varint,4,rep,packed,name=validIndexes,proto3" json:"validIndexes,omitempty"`
	AccountType  ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
	// contains filtered or unexported fields
}

func (*ADVKeyIndexList) Descriptor deprecated

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

Deprecated: Use ADVKeyIndexList.ProtoReflect.Descriptor instead.

func (*ADVKeyIndexList) GetAccountType

func (x *ADVKeyIndexList) GetAccountType() ADVEncryptionType

func (*ADVKeyIndexList) GetCurrentIndex

func (x *ADVKeyIndexList) GetCurrentIndex() uint32

func (*ADVKeyIndexList) GetRawID

func (x *ADVKeyIndexList) GetRawID() uint32

func (*ADVKeyIndexList) GetTimestamp

func (x *ADVKeyIndexList) GetTimestamp() uint64

func (*ADVKeyIndexList) GetValidIndexes

func (x *ADVKeyIndexList) GetValidIndexes() []uint32

func (*ADVKeyIndexList) ProtoMessage

func (*ADVKeyIndexList) ProtoMessage()

func (*ADVKeyIndexList) ProtoReflect

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

func (*ADVKeyIndexList) Reset

func (x *ADVKeyIndexList) Reset()

func (*ADVKeyIndexList) String

func (x *ADVKeyIndexList) String() string

type ADVSignedDeviceIdentity

type ADVSignedDeviceIdentity struct {
	Details             []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey,proto3" json:"accountSignatureKey,omitempty"`
	AccountSignature    []byte `protobuf:"bytes,3,opt,name=accountSignature,proto3" json:"accountSignature,omitempty"`
	DeviceSignature     []byte `protobuf:"bytes,4,opt,name=deviceSignature,proto3" json:"deviceSignature,omitempty"`
	// contains filtered or unexported fields
}

func (*ADVSignedDeviceIdentity) Descriptor deprecated

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

Deprecated: Use ADVSignedDeviceIdentity.ProtoReflect.Descriptor instead.

func (*ADVSignedDeviceIdentity) GetAccountSignature

func (x *ADVSignedDeviceIdentity) GetAccountSignature() []byte

func (*ADVSignedDeviceIdentity) GetAccountSignatureKey

func (x *ADVSignedDeviceIdentity) GetAccountSignatureKey() []byte

func (*ADVSignedDeviceIdentity) GetDetails

func (x *ADVSignedDeviceIdentity) GetDetails() []byte

func (*ADVSignedDeviceIdentity) GetDeviceSignature

func (x *ADVSignedDeviceIdentity) GetDeviceSignature() []byte

func (*ADVSignedDeviceIdentity) ProtoMessage

func (*ADVSignedDeviceIdentity) ProtoMessage()

func (*ADVSignedDeviceIdentity) ProtoReflect

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

func (*ADVSignedDeviceIdentity) Reset

func (x *ADVSignedDeviceIdentity) Reset()

func (*ADVSignedDeviceIdentity) String

func (x *ADVSignedDeviceIdentity) String() string

type ADVSignedDeviceIdentityHMAC

type ADVSignedDeviceIdentityHMAC struct {
	Details     []byte            `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	HMAC        []byte            `protobuf:"bytes,2,opt,name=HMAC,proto3" json:"HMAC,omitempty"`
	AccountType ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,proto3,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
	// contains filtered or unexported fields
}

func (*ADVSignedDeviceIdentityHMAC) Descriptor deprecated

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

Deprecated: Use ADVSignedDeviceIdentityHMAC.ProtoReflect.Descriptor instead.

func (*ADVSignedDeviceIdentityHMAC) GetAccountType

func (x *ADVSignedDeviceIdentityHMAC) GetAccountType() ADVEncryptionType

func (*ADVSignedDeviceIdentityHMAC) GetDetails

func (x *ADVSignedDeviceIdentityHMAC) GetDetails() []byte

func (*ADVSignedDeviceIdentityHMAC) GetHMAC

func (x *ADVSignedDeviceIdentityHMAC) GetHMAC() []byte

func (*ADVSignedDeviceIdentityHMAC) ProtoMessage

func (*ADVSignedDeviceIdentityHMAC) ProtoMessage()

func (*ADVSignedDeviceIdentityHMAC) ProtoReflect

func (*ADVSignedDeviceIdentityHMAC) Reset

func (x *ADVSignedDeviceIdentityHMAC) Reset()

func (*ADVSignedDeviceIdentityHMAC) String

func (x *ADVSignedDeviceIdentityHMAC) String() string

type ADVSignedKeyIndexList

type ADVSignedKeyIndexList struct {
	Details             []byte `protobuf:"bytes,1,opt,name=details,proto3" json:"details,omitempty"`
	AccountSignature    []byte `protobuf:"bytes,2,opt,name=accountSignature,proto3" json:"accountSignature,omitempty"`
	AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey,proto3" json:"accountSignatureKey,omitempty"`
	// contains filtered or unexported fields
}

func (*ADVSignedKeyIndexList) Descriptor deprecated

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

Deprecated: Use ADVSignedKeyIndexList.ProtoReflect.Descriptor instead.

func (*ADVSignedKeyIndexList) GetAccountSignature

func (x *ADVSignedKeyIndexList) GetAccountSignature() []byte

func (*ADVSignedKeyIndexList) GetAccountSignatureKey

func (x *ADVSignedKeyIndexList) GetAccountSignatureKey() []byte

func (*ADVSignedKeyIndexList) GetDetails

func (x *ADVSignedKeyIndexList) GetDetails() []byte

func (*ADVSignedKeyIndexList) ProtoMessage

func (*ADVSignedKeyIndexList) ProtoMessage()

func (*ADVSignedKeyIndexList) ProtoReflect

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

func (*ADVSignedKeyIndexList) Reset

func (x *ADVSignedKeyIndexList) Reset()

func (*ADVSignedKeyIndexList) String

func (x *ADVSignedKeyIndexList) String() string

Jump to

Keyboard shortcuts

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