waAdv

package
v1.0.17 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 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" json:"rawID,omitempty"`
	Timestamp   *uint64            `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	KeyIndex    *uint32            `protobuf:"varint,3,opt,name=keyIndex" json:"keyIndex,omitempty"`
	AccountType *ADVEncryptionType `protobuf:"varint,4,opt,name=accountType,enum=WAAdv.ADVEncryptionType" json:"accountType,omitempty"`
	DeviceType  *ADVEncryptionType `protobuf:"varint,5,opt,name=deviceType,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

func (*ADVEncryptionType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type ADVKeyIndexList

type ADVKeyIndexList struct {
	RawID        *uint32            `protobuf:"varint,1,opt,name=rawID" json:"rawID,omitempty"`
	Timestamp    *uint64            `protobuf:"varint,2,opt,name=timestamp" json:"timestamp,omitempty"`
	CurrentIndex *uint32            `protobuf:"varint,3,opt,name=currentIndex" json:"currentIndex,omitempty"`
	ValidIndexes []uint32           `protobuf:"varint,4,rep,packed,name=validIndexes" json:"validIndexes,omitempty"`
	AccountType  *ADVEncryptionType `protobuf:"varint,5,opt,name=accountType,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" json:"details,omitempty"`
	AccountSignatureKey []byte `protobuf:"bytes,2,opt,name=accountSignatureKey" json:"accountSignatureKey,omitempty"`
	AccountSignature    []byte `protobuf:"bytes,3,opt,name=accountSignature" json:"accountSignature,omitempty"`
	DeviceSignature     []byte `protobuf:"bytes,4,opt,name=deviceSignature" 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" json:"details,omitempty"`
	HMAC        []byte             `protobuf:"bytes,2,opt,name=HMAC" json:"HMAC,omitempty"`
	AccountType *ADVEncryptionType `protobuf:"varint,3,opt,name=accountType,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" json:"details,omitempty"`
	AccountSignature    []byte `protobuf:"bytes,2,opt,name=accountSignature" json:"accountSignature,omitempty"`
	AccountSignatureKey []byte `protobuf:"bytes,3,opt,name=accountSignatureKey" 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