waFingerprint

package
v0.0.0-20241021161600-... Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for HostedState.

View Source
var File_waFingerprint_WAFingerprint_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CombinedFingerprint

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

func (*CombinedFingerprint) Descriptor deprecated

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

Deprecated: Use CombinedFingerprint.ProtoReflect.Descriptor instead.

func (*CombinedFingerprint) GetLocalFingerprint

func (x *CombinedFingerprint) GetLocalFingerprint() *FingerprintData

func (*CombinedFingerprint) GetRemoteFingerprint

func (x *CombinedFingerprint) GetRemoteFingerprint() *FingerprintData

func (*CombinedFingerprint) GetVersion

func (x *CombinedFingerprint) GetVersion() uint32

func (*CombinedFingerprint) ProtoMessage

func (*CombinedFingerprint) ProtoMessage()

func (*CombinedFingerprint) ProtoReflect

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

func (*CombinedFingerprint) Reset

func (x *CombinedFingerprint) Reset()

func (*CombinedFingerprint) String

func (x *CombinedFingerprint) String() string

type FingerprintData

type FingerprintData struct {
	PublicKey          []byte       `protobuf:"bytes,1,opt,name=publicKey" json:"publicKey,omitempty"`
	PnIdentifier       []byte       `protobuf:"bytes,2,opt,name=pnIdentifier" json:"pnIdentifier,omitempty"`
	LidIdentifier      []byte       `protobuf:"bytes,3,opt,name=lidIdentifier" json:"lidIdentifier,omitempty"`
	UsernameIdentifier []byte       `protobuf:"bytes,4,opt,name=usernameIdentifier" json:"usernameIdentifier,omitempty"`
	HostedState        *HostedState `protobuf:"varint,5,opt,name=hostedState,enum=WAFingerprint.HostedState" json:"hostedState,omitempty"`
	// contains filtered or unexported fields
}

func (*FingerprintData) Descriptor deprecated

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

Deprecated: Use FingerprintData.ProtoReflect.Descriptor instead.

func (*FingerprintData) GetHostedState

func (x *FingerprintData) GetHostedState() HostedState

func (*FingerprintData) GetLidIdentifier

func (x *FingerprintData) GetLidIdentifier() []byte

func (*FingerprintData) GetPnIdentifier

func (x *FingerprintData) GetPnIdentifier() []byte

func (*FingerprintData) GetPublicKey

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

func (*FingerprintData) GetUsernameIdentifier

func (x *FingerprintData) GetUsernameIdentifier() []byte

func (*FingerprintData) ProtoMessage

func (*FingerprintData) ProtoMessage()

func (*FingerprintData) ProtoReflect

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

func (*FingerprintData) Reset

func (x *FingerprintData) Reset()

func (*FingerprintData) String

func (x *FingerprintData) String() string

type HostedState

type HostedState int32
const (
	HostedState_E2EE   HostedState = 0
	HostedState_HOSTED HostedState = 1
)

func (HostedState) Descriptor

func (HostedState) Enum

func (x HostedState) Enum() *HostedState

func (HostedState) EnumDescriptor deprecated

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

Deprecated: Use HostedState.Descriptor instead.

func (HostedState) Number

func (x HostedState) Number() protoreflect.EnumNumber

func (HostedState) String

func (x HostedState) String() string

func (HostedState) Type

func (*HostedState) UnmarshalJSON deprecated

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

Deprecated: Do not use.

Jump to

Keyboard shortcuts

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