pb

package
v0.0.0-...-cf5a519 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Default_GcmDeviceInfo_NotificationEnabled           = bool(true)
	Default_GcmDeviceInfo_Counter                       = int64(0)
	Default_GcmDeviceInfo_DeviceType                    = DeviceType_ANDROID
	Default_GcmDeviceInfo_UsingSecureScreenlock         = bool(false)
	Default_GcmDeviceInfo_AutoUnlockScreenlockSupported = bool(false)
	Default_GcmDeviceInfo_AutoUnlockScreenlockEnabled   = bool(false)
	Default_GcmDeviceInfo_BluetoothRadioSupported       = bool(false)
	Default_GcmDeviceInfo_BluetoothRadioEnabled         = bool(false)
	Default_GcmDeviceInfo_MobileDataSupported           = bool(false)
	Default_GcmDeviceInfo_TetheringSupported            = bool(false)
	Default_GcmDeviceInfo_BleRadioSupported             = bool(false)
	Default_GcmDeviceInfo_PixelExperience               = bool(false)
	Default_GcmDeviceInfo_ArcPlusPlus                   = bool(false)
	Default_GcmDeviceInfo_IsScreenlockStateFlaky        = bool(false)
)

Default values for GcmDeviceInfo fields.

View Source
const (
	Default_GcmMetadata_Version = int32(0)
)

Default values for GcmMetadata fields.

View Source
const (
	Default_Header_AssociatedDataLength = uint32(0)
)

Default values for Header fields.

View Source
const (
	Default_InitiatorHello_ProtocolVersion = int32(0)
)

Default values for InitiatorHello fields.

View Source
const (
	Default_ResponderHello_ProtocolVersion = int32(0)
)

Default values for ResponderHello fields.

View Source
const (
	Default_SimpleRsaPublicKey_E = int32(65537)
)

Default values for SimpleRsaPublicKey fields.

Variables

View Source
var (
	Curve_name = map[int32]string{
		1: "ED_25519",
	}
	Curve_value = map[string]int32{
		"ED_25519": 1,
	}
)

Enum value maps for Curve.

View Source
var (
	AppleDeviceDiagonalMils_name = map[int32]string{
		4000: "APPLE_PHONE",
		7900: "APPLE_PAD",
	}
	AppleDeviceDiagonalMils_value = map[string]int32{
		"APPLE_PHONE": 4000,
		"APPLE_PAD":   7900,
	}
)

Enum value maps for AppleDeviceDiagonalMils.

View Source
var (
	DeviceType_name = map[int32]string{
		0: "UNKNOWN",
		1: "ANDROID",
		2: "CHROME",
		3: "IOS",
		4: "BROWSER",
		5: "OSX",
	}
	DeviceType_value = map[string]int32{
		"UNKNOWN": 0,
		"ANDROID": 1,
		"CHROME":  2,
		"IOS":     3,
		"BROWSER": 4,
		"OSX":     5,
	}
)

Enum value maps for DeviceType.

View Source
var (
	SoftwareFeature_name = map[int32]string{
		0: "UNKNOWN_FEATURE",
		1: "BETTER_TOGETHER_HOST",
		2: "BETTER_TOGETHER_CLIENT",
		3: "EASY_UNLOCK_HOST",
		4: "EASY_UNLOCK_CLIENT",
		5: "MAGIC_TETHER_HOST",
		6: "MAGIC_TETHER_CLIENT",
		7: "SMS_CONNECT_HOST",
		8: "SMS_CONNECT_CLIENT",
	}
	SoftwareFeature_value = map[string]int32{
		"UNKNOWN_FEATURE":        0,
		"BETTER_TOGETHER_HOST":   1,
		"BETTER_TOGETHER_CLIENT": 2,
		"EASY_UNLOCK_HOST":       3,
		"EASY_UNLOCK_CLIENT":     4,
		"MAGIC_TETHER_HOST":      5,
		"MAGIC_TETHER_CLIENT":    6,
		"SMS_CONNECT_HOST":       7,
		"SMS_CONNECT_CLIENT":     8,
	}
)

Enum value maps for SoftwareFeature.

View Source
var (
	InvocationReason_name = map[int32]string{
		0:  "REASON_UNKNOWN",
		1:  "REASON_INITIALIZATION",
		2:  "REASON_PERIODIC",
		3:  "REASON_SLOW_PERIODIC",
		4:  "REASON_FAST_PERIODIC",
		5:  "REASON_EXPIRATION",
		6:  "REASON_FAILURE_RECOVERY",
		7:  "REASON_NEW_ACCOUNT",
		8:  "REASON_CHANGED_ACCOUNT",
		9:  "REASON_FEATURE_TOGGLED",
		10: "REASON_SERVER_INITIATED",
		11: "REASON_ADDRESS_CHANGE",
		12: "REASON_SOFTWARE_UPDATE",
		13: "REASON_MANUAL",
		14: "REASON_CUSTOM_KEY_INVALIDATION",
		15: "REASON_PROXIMITY_PERIODIC",
	}
	InvocationReason_value = map[string]int32{
		"REASON_UNKNOWN":                 0,
		"REASON_INITIALIZATION":          1,
		"REASON_PERIODIC":                2,
		"REASON_SLOW_PERIODIC":           3,
		"REASON_FAST_PERIODIC":           4,
		"REASON_EXPIRATION":              5,
		"REASON_FAILURE_RECOVERY":        6,
		"REASON_NEW_ACCOUNT":             7,
		"REASON_CHANGED_ACCOUNT":         8,
		"REASON_FEATURE_TOGGLED":         9,
		"REASON_SERVER_INITIATED":        10,
		"REASON_ADDRESS_CHANGE":          11,
		"REASON_SOFTWARE_UPDATE":         12,
		"REASON_MANUAL":                  13,
		"REASON_CUSTOM_KEY_INVALIDATION": 14,
		"REASON_PROXIMITY_PERIODIC":      15,
	}
)

Enum value maps for InvocationReason.

View Source
var (
	Type_name = map[int32]string{
		0:   "ENROLLMENT",
		1:   "TICKLE",
		2:   "TX_REQUEST",
		3:   "TX_REPLY",
		4:   "TX_SYNC_REQUEST",
		5:   "TX_SYNC_RESPONSE",
		6:   "TX_PING",
		7:   "DEVICE_INFO_UPDATE",
		8:   "TX_CANCEL_REQUEST",
		10:  "PROXIMITYAUTH_PAIRING",
		11:  "GCMV1_IDENTITY_ASSERTION",
		12:  "DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD",
		13:  "DEVICE_TO_DEVICE_MESSAGE",
		14:  "DEVICE_PROXIMITY_CALLBACK",
		15:  "UNLOCK_KEY_SIGNED_CHALLENGE",
		101: "LOGIN_NOTIFICATION",
	}
	Type_value = map[string]int32{
		"ENROLLMENT":               0,
		"TICKLE":                   1,
		"TX_REQUEST":               2,
		"TX_REPLY":                 3,
		"TX_SYNC_REQUEST":          4,
		"TX_SYNC_RESPONSE":         5,
		"TX_PING":                  6,
		"DEVICE_INFO_UPDATE":       7,
		"TX_CANCEL_REQUEST":        8,
		"PROXIMITYAUTH_PAIRING":    10,
		"GCMV1_IDENTITY_ASSERTION": 11,
		"DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD": 12,
		"DEVICE_TO_DEVICE_MESSAGE":                 13,
		"DEVICE_PROXIMITY_CALLBACK":                14,
		"UNLOCK_KEY_SIGNED_CHALLENGE":              15,
		"LOGIN_NOTIFICATION":                       101,
	}
)

Enum value maps for Type.

View Source
var (
	SigScheme_name = map[int32]string{
		1: "HMAC_SHA256",
		2: "ECDSA_P256_SHA256",
		3: "RSA2048_SHA256",
	}
	SigScheme_value = map[string]int32{
		"HMAC_SHA256":       1,
		"ECDSA_P256_SHA256": 2,
		"RSA2048_SHA256":    3,
	}
)

Enum value maps for SigScheme.

View Source
var (
	EncScheme_name = map[int32]string{
		1: "NONE",
		2: "AES_256_CBC",
	}
	EncScheme_value = map[string]int32{
		"NONE":        1,
		"AES_256_CBC": 2,
	}
)

Enum value maps for EncScheme.

View Source
var (
	PublicKeyType_name = map[int32]string{
		1: "EC_P256",
		2: "RSA2048",
		3: "DH2048_MODP",
	}
	PublicKeyType_value = map[string]int32{
		"EC_P256":     1,
		"RSA2048":     2,
		"DH2048_MODP": 3,
	}
)

Enum value maps for PublicKeyType.

View Source
var (
	Ukey2HandshakeCipher_name = map[int32]string{
		0:   "RESERVED",
		100: "P256_SHA512",
		200: "CURVE25519_SHA512",
	}
	Ukey2HandshakeCipher_value = map[string]int32{
		"RESERVED":          0,
		"P256_SHA512":       100,
		"CURVE25519_SHA512": 200,
	}
)

Enum value maps for Ukey2HandshakeCipher.

View Source
var (
	Ukey2Message_Type_name = map[int32]string{
		0: "UNKNOWN_DO_NOT_USE",
		1: "ALERT",
		2: "CLIENT_INIT",
		3: "SERVER_INIT",
		4: "CLIENT_FINISH",
	}
	Ukey2Message_Type_value = map[string]int32{
		"UNKNOWN_DO_NOT_USE": 0,
		"ALERT":              1,
		"CLIENT_INIT":        2,
		"SERVER_INIT":        3,
		"CLIENT_FINISH":      4,
	}
)

Enum value maps for Ukey2Message_Type.

View Source
var (
	Ukey2Alert_AlertType_name = map[int32]string{
		1:   "BAD_MESSAGE",
		2:   "BAD_MESSAGE_TYPE",
		3:   "INCORRECT_MESSAGE",
		4:   "BAD_MESSAGE_DATA",
		100: "BAD_VERSION",
		101: "BAD_RANDOM",
		102: "BAD_HANDSHAKE_CIPHER",
		103: "BAD_NEXT_PROTOCOL",
		104: "BAD_PUBLIC_KEY",
		200: "INTERNAL_ERROR",
	}
	Ukey2Alert_AlertType_value = map[string]int32{
		"BAD_MESSAGE":          1,
		"BAD_MESSAGE_TYPE":     2,
		"INCORRECT_MESSAGE":    3,
		"BAD_MESSAGE_DATA":     4,
		"BAD_VERSION":          100,
		"BAD_RANDOM":           101,
		"BAD_HANDSHAKE_CIPHER": 102,
		"BAD_NEXT_PROTOCOL":    103,
		"BAD_PUBLIC_KEY":       104,
		"INTERNAL_ERROR":       200,
	}
)

Enum value maps for Ukey2Alert_AlertType.

View Source
var File_proto_device_to_device_messages_proto protoreflect.FileDescriptor
View Source
var File_proto_securegcm_proto protoreflect.FileDescriptor
View Source
var File_proto_securemessage_proto protoreflect.FileDescriptor
View Source
var File_proto_ukey_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AppleDeviceDiagonalMils

type AppleDeviceDiagonalMils int32

This enum is used by iOS devices as values for device_display_diagonal_mils in GcmDeviceInfo. There is no good way to calculate it on those devices.

const (
	// This is the mils diagonal on an iPhone 5.
	AppleDeviceDiagonalMils_APPLE_PHONE AppleDeviceDiagonalMils = 4000
	// This is the mils diagonal on an iPad mini.
	AppleDeviceDiagonalMils_APPLE_PAD AppleDeviceDiagonalMils = 7900
)

func (AppleDeviceDiagonalMils) Descriptor

func (AppleDeviceDiagonalMils) Enum

func (AppleDeviceDiagonalMils) EnumDescriptor deprecated

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

Deprecated: Use AppleDeviceDiagonalMils.Descriptor instead.

func (AppleDeviceDiagonalMils) Number

func (AppleDeviceDiagonalMils) String

func (x AppleDeviceDiagonalMils) String() string

func (AppleDeviceDiagonalMils) Type

func (*AppleDeviceDiagonalMils) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Curve

type Curve int32

Type of curve

const (
	Curve_ED_25519 Curve = 1
)

func (Curve) Descriptor

func (Curve) Descriptor() protoreflect.EnumDescriptor

func (Curve) Enum

func (x Curve) Enum() *Curve

func (Curve) EnumDescriptor deprecated

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

Deprecated: Use Curve.Descriptor instead.

func (Curve) Number

func (x Curve) Number() protoreflect.EnumNumber

func (Curve) String

func (x Curve) String() string

func (Curve) Type

func (Curve) Type() protoreflect.EnumType

func (*Curve) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type DeviceToDeviceMessage

type DeviceToDeviceMessage struct {

	// the payload of the message
	Message []byte `protobuf:"bytes,1,opt,name=message" json:"message,omitempty"`
	// the sequence number of the message - must be increasing.
	SequenceNumber *int32 `protobuf:"varint,2,opt,name=sequence_number,json=sequenceNumber" json:"sequence_number,omitempty"`
	// contains filtered or unexported fields
}

Used by protocols between devices

func (*DeviceToDeviceMessage) Descriptor deprecated

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

Deprecated: Use DeviceToDeviceMessage.ProtoReflect.Descriptor instead.

func (*DeviceToDeviceMessage) GetMessage

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

func (*DeviceToDeviceMessage) GetSequenceNumber

func (x *DeviceToDeviceMessage) GetSequenceNumber() int32

func (*DeviceToDeviceMessage) ProtoMessage

func (*DeviceToDeviceMessage) ProtoMessage()

func (*DeviceToDeviceMessage) ProtoReflect

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

func (*DeviceToDeviceMessage) Reset

func (x *DeviceToDeviceMessage) Reset()

func (*DeviceToDeviceMessage) String

func (x *DeviceToDeviceMessage) String() string

type DeviceType

type DeviceType int32

This should be kept in sync with DeviceType in: java/com/google/security/cryptauth/backend/services/common/common_enums.proto

const (
	DeviceType_UNKNOWN DeviceType = 0
	DeviceType_ANDROID DeviceType = 1
	DeviceType_CHROME  DeviceType = 2
	DeviceType_IOS     DeviceType = 3
	DeviceType_BROWSER DeviceType = 4
	DeviceType_OSX     DeviceType = 5
)

func (DeviceType) Descriptor

func (DeviceType) Descriptor() protoreflect.EnumDescriptor

func (DeviceType) Enum

func (x DeviceType) Enum() *DeviceType

func (DeviceType) EnumDescriptor deprecated

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

Deprecated: Use DeviceType.Descriptor instead.

func (DeviceType) Number

func (x DeviceType) Number() protoreflect.EnumNumber

func (DeviceType) String

func (x DeviceType) String() string

func (DeviceType) Type

func (*DeviceType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type DhPublicKey

type DhPublicKey struct {

	// Big-endian two's complement encoded group element
	Y []byte `protobuf:"bytes,1,req,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

A convenience proto for encoding Diffie-Hellman public keys, for use only when Elliptic Curve based key exchanges are not possible. (Note that the group parameters must be specified separately)

func (*DhPublicKey) Descriptor deprecated

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

Deprecated: Use DhPublicKey.ProtoReflect.Descriptor instead.

func (*DhPublicKey) GetY

func (x *DhPublicKey) GetY() []byte

func (*DhPublicKey) ProtoMessage

func (*DhPublicKey) ProtoMessage()

func (*DhPublicKey) ProtoReflect

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

func (*DhPublicKey) Reset

func (x *DhPublicKey) Reset()

func (*DhPublicKey) String

func (x *DhPublicKey) String() string

type EcP256PublicKey

type EcP256PublicKey struct {

	// x and y are encoded in big-endian two's complement (slightly wasteful)
	// Client MUST verify (x,y) is a valid point on NIST P256
	X []byte `protobuf:"bytes,1,req,name=x" json:"x,omitempty"`
	Y []byte `protobuf:"bytes,2,req,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

A convenience proto for encoding NIST P-256 elliptic curve public keys

func (*EcP256PublicKey) Descriptor deprecated

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

Deprecated: Use EcP256PublicKey.ProtoReflect.Descriptor instead.

func (*EcP256PublicKey) GetX

func (x *EcP256PublicKey) GetX() []byte

func (*EcP256PublicKey) GetY

func (x *EcP256PublicKey) GetY() []byte

func (*EcP256PublicKey) ProtoMessage

func (*EcP256PublicKey) ProtoMessage()

func (*EcP256PublicKey) ProtoReflect

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

func (*EcP256PublicKey) Reset

func (x *EcP256PublicKey) Reset()

func (*EcP256PublicKey) String

func (x *EcP256PublicKey) String() string

type EcPoint

type EcPoint struct {
	Curve *Curve `protobuf:"varint,1,req,name=curve,enum=securegcm.Curve" json:"curve,omitempty"`
	// x and y are encoded in big-endian two's complement
	// client MUST verify (x,y) is a valid point on the specified curve
	X []byte `protobuf:"bytes,2,req,name=x" json:"x,omitempty"`
	Y []byte `protobuf:"bytes,3,req,name=y" json:"y,omitempty"`
	// contains filtered or unexported fields
}

A convenience proto for encoding curve points in affine representation

func (*EcPoint) Descriptor deprecated

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

Deprecated: Use EcPoint.ProtoReflect.Descriptor instead.

func (*EcPoint) GetCurve

func (x *EcPoint) GetCurve() Curve

func (*EcPoint) GetX

func (x *EcPoint) GetX() []byte

func (*EcPoint) GetY

func (x *EcPoint) GetY() []byte

func (*EcPoint) ProtoMessage

func (*EcPoint) ProtoMessage()

func (*EcPoint) ProtoReflect

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

func (*EcPoint) Reset

func (x *EcPoint) Reset()

func (*EcPoint) String

func (x *EcPoint) String() string

type EncScheme

type EncScheme int32

Supported encryption schemes

const (
	// No encryption
	EncScheme_NONE        EncScheme = 1
	EncScheme_AES_256_CBC EncScheme = 2
)

func (EncScheme) Descriptor

func (EncScheme) Descriptor() protoreflect.EnumDescriptor

func (EncScheme) Enum

func (x EncScheme) Enum() *EncScheme

func (EncScheme) EnumDescriptor deprecated

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

Deprecated: Use EncScheme.Descriptor instead.

func (EncScheme) Number

func (x EncScheme) Number() protoreflect.EnumNumber

func (EncScheme) String

func (x EncScheme) String() string

func (EncScheme) Type

func (*EncScheme) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type GcmDeviceInfo

type GcmDeviceInfo struct {

	// This field's name does not match the one in DeviceInfo for legacy reasons.
	// Consider using long_device_id and device_type instead when enrolling
	// non-android devices.
	AndroidDeviceId *uint64 `protobuf:"fixed64,1,opt,name=android_device_id,json=androidDeviceId" json:"android_device_id,omitempty"`
	// Used for device_address of DeviceInfo field 2, but for GCM capable devices.
	GcmRegistrationId []byte `protobuf:"bytes,102,opt,name=gcm_registration_id,json=gcmRegistrationId" json:"gcm_registration_id,omitempty"`
	// Used for device_address of DeviceInfo field 2, but for iOS devices.
	ApnRegistrationId []byte `protobuf:"bytes,202,opt,name=apn_registration_id,json=apnRegistrationId" json:"apn_registration_id,omitempty"`
	// Does the user have notifications enabled for the given device address.
	NotificationEnabled *bool `protobuf:"varint,203,opt,name=notification_enabled,json=notificationEnabled,def=1" json:"notification_enabled,omitempty"`
	// Used for device_address of DeviceInfo field 2, a Bluetooth Mac address for
	// the device (e.g., to be used with EasyUnlock)
	BluetoothMacAddress *string `protobuf:"bytes,302,opt,name=bluetooth_mac_address,json=bluetoothMacAddress" json:"bluetooth_mac_address,omitempty"`
	// SHA-256 hash of the device master key (from the key exchange).
	// Differs from DeviceInfo field 3, which contains the actual master key.
	DeviceMasterKeyHash []byte `protobuf:"bytes,103,opt,name=device_master_key_hash,json=deviceMasterKeyHash" json:"device_master_key_hash,omitempty"`
	// A SecureMessage.EcP256PublicKey
	UserPublicKey []byte `protobuf:"bytes,4,req,name=user_public_key,json=userPublicKey" json:"user_public_key,omitempty"`
	// device's model name
	// (e.g., an android.os.Build.MODEL or UIDevice.model)
	DeviceModel *string `protobuf:"bytes,7,opt,name=device_model,json=deviceModel" json:"device_model,omitempty"`
	// device's locale
	Locale *string `protobuf:"bytes,8,opt,name=locale" json:"locale,omitempty"`
	// The handle for user_public_key (and implicitly, a master key)
	KeyHandle []byte `protobuf:"bytes,9,opt,name=key_handle,json=keyHandle" json:"key_handle,omitempty"`
	// The initial counter value for the device, sent by the device
	Counter *int64 `protobuf:"varint,12,opt,name=counter,def=0" json:"counter,omitempty"`
	// The Operating System version on the device
	// (e.g., an android.os.Build.DISPLAY or UIDevice.systemVersion)
	DeviceOsVersion *string `protobuf:"bytes,13,opt,name=device_os_version,json=deviceOsVersion" json:"device_os_version,omitempty"`
	// The Operating System version number on the device
	// (e.g., an android.os.Build.VERSION.SDK_INT)
	DeviceOsVersionCode *int64 `protobuf:"varint,14,opt,name=device_os_version_code,json=deviceOsVersionCode" json:"device_os_version_code,omitempty"`
	// The Operating System release on the device
	// (e.g., an android.os.Build.VERSION.RELEASE)
	DeviceOsRelease *string `protobuf:"bytes,15,opt,name=device_os_release,json=deviceOsRelease" json:"device_os_release,omitempty"`
	// The Operating System codename on the device
	// (e.g., an android.os.Build.VERSION.CODENAME or UIDevice.systemName)
	DeviceOsCodename *string `protobuf:"bytes,16,opt,name=device_os_codename,json=deviceOsCodename" json:"device_os_codename,omitempty"`
	// The software version running on the device
	// (e.g., Authenticator app version string)
	DeviceSoftwareVersion *string `protobuf:"bytes,17,opt,name=device_software_version,json=deviceSoftwareVersion" json:"device_software_version,omitempty"`
	// The software version number running on the device
	// (e.g., Authenticator app version code)
	DeviceSoftwareVersionCode *int64 `` /* 135-byte string literal not displayed */
	// Software package information if applicable
	// (e.g., com.google.android.apps.authenticator2)
	DeviceSoftwarePackage *string `protobuf:"bytes,19,opt,name=device_software_package,json=deviceSoftwarePackage" json:"device_software_package,omitempty"`
	// Size of the display in thousandths of an inch (e.g., 7000 mils = 7 in)
	DeviceDisplayDiagonalMils *int32 `` /* 135-byte string literal not displayed */
	// For Authzen capable devices, their Authzen protocol version
	DeviceAuthzenVersion *int32 `protobuf:"varint,24,opt,name=device_authzen_version,json=deviceAuthzenVersion" json:"device_authzen_version,omitempty"`
	// Not all devices have device identifiers that fit in 64 bits.
	LongDeviceId []byte `protobuf:"bytes,29,opt,name=long_device_id,json=longDeviceId" json:"long_device_id,omitempty"`
	// The device manufacturer name
	// (e.g., android.os.Build.MANUFACTURER)
	DeviceManufacturer *string `protobuf:"bytes,31,opt,name=device_manufacturer,json=deviceManufacturer" json:"device_manufacturer,omitempty"`
	// Used to indicate which type of device this is.
	DeviceType *DeviceType `protobuf:"varint,32,opt,name=device_type,json=deviceType,enum=securegcm.DeviceType,def=1" json:"device_type,omitempty"`
	// Is this device using  a secure screenlock (e.g., pattern or pin unlock)
	UsingSecureScreenlock *bool `` /* 128-byte string literal not displayed */
	// Is auto-unlocking the screenlock (e.g., when at "home") supported?
	AutoUnlockScreenlockSupported *bool `` /* 154-byte string literal not displayed */
	// Is auto-unlocking the screenlock (e.g., when at "home") enabled?
	AutoUnlockScreenlockEnabled *bool `` /* 148-byte string literal not displayed */
	// Does the device have a Bluetooth (classic) radio?
	BluetoothRadioSupported *bool `` /* 134-byte string literal not displayed */
	// Is the Bluetooth (classic) radio on?
	BluetoothRadioEnabled *bool `` /* 128-byte string literal not displayed */
	// Does the device hardware support a mobile data connection?
	MobileDataSupported *bool `protobuf:"varint,405,opt,name=mobile_data_supported,json=mobileDataSupported,def=0" json:"mobile_data_supported,omitempty"`
	// Does the device support tethering?
	TetheringSupported *bool `protobuf:"varint,406,opt,name=tethering_supported,json=tetheringSupported,def=0" json:"tethering_supported,omitempty"`
	// Does the device have a BLE radio?
	BleRadioSupported *bool `protobuf:"varint,407,opt,name=ble_radio_supported,json=bleRadioSupported,def=0" json:"ble_radio_supported,omitempty"`
	// Is the device a "Pixel Experience" Android device?
	PixelExperience *bool `protobuf:"varint,408,opt,name=pixel_experience,json=pixelExperience,def=0" json:"pixel_experience,omitempty"`
	// Is the device running in the ARC++ container on a chromebook?
	ArcPlusPlus *bool `protobuf:"varint,409,opt,name=arc_plus_plus,json=arcPlusPlus,def=0" json:"arc_plus_plus,omitempty"`
	// Is the value set in |using_secure_screenlock| reliable? On some Android
	// devices, the platform API to get the screenlock state is not trustworthy.
	// See b/32212161.
	IsScreenlockStateFlaky *bool `` /* 133-byte string literal not displayed */
	// A list of multi-device software features supported by the device.
	SupportedSoftwareFeatures []SoftwareFeature `` /* 165-byte string literal not displayed */
	// A list of multi-device software features currently enabled (active) on the
	// device.
	EnabledSoftwareFeatures []SoftwareFeature `` /* 159-byte string literal not displayed */
	// The enrollment session id this is sent with
	EnrollmentSessionId []byte `protobuf:"bytes,1000,opt,name=enrollment_session_id,json=enrollmentSessionId" json:"enrollment_session_id,omitempty"`
	// A copy of the user's OAuth token
	OauthToken *string `protobuf:"bytes,1001,opt,name=oauth_token,json=oauthToken" json:"oauth_token,omitempty"`
	// contains filtered or unexported fields
}

Message used only during enrollment Field numbers should be kept in sync with DeviceInfo in:

java/com/google/security/cryptauth/backend/services/common/common.proto

func (*GcmDeviceInfo) Descriptor deprecated

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

Deprecated: Use GcmDeviceInfo.ProtoReflect.Descriptor instead.

func (*GcmDeviceInfo) GetAndroidDeviceId

func (x *GcmDeviceInfo) GetAndroidDeviceId() uint64

func (*GcmDeviceInfo) GetApnRegistrationId

func (x *GcmDeviceInfo) GetApnRegistrationId() []byte

func (*GcmDeviceInfo) GetArcPlusPlus

func (x *GcmDeviceInfo) GetArcPlusPlus() bool

func (*GcmDeviceInfo) GetAutoUnlockScreenlockEnabled

func (x *GcmDeviceInfo) GetAutoUnlockScreenlockEnabled() bool

func (*GcmDeviceInfo) GetAutoUnlockScreenlockSupported

func (x *GcmDeviceInfo) GetAutoUnlockScreenlockSupported() bool

func (*GcmDeviceInfo) GetBleRadioSupported

func (x *GcmDeviceInfo) GetBleRadioSupported() bool

func (*GcmDeviceInfo) GetBluetoothMacAddress

func (x *GcmDeviceInfo) GetBluetoothMacAddress() string

func (*GcmDeviceInfo) GetBluetoothRadioEnabled

func (x *GcmDeviceInfo) GetBluetoothRadioEnabled() bool

func (*GcmDeviceInfo) GetBluetoothRadioSupported

func (x *GcmDeviceInfo) GetBluetoothRadioSupported() bool

func (*GcmDeviceInfo) GetCounter

func (x *GcmDeviceInfo) GetCounter() int64

func (*GcmDeviceInfo) GetDeviceAuthzenVersion

func (x *GcmDeviceInfo) GetDeviceAuthzenVersion() int32

func (*GcmDeviceInfo) GetDeviceDisplayDiagonalMils

func (x *GcmDeviceInfo) GetDeviceDisplayDiagonalMils() int32

func (*GcmDeviceInfo) GetDeviceManufacturer

func (x *GcmDeviceInfo) GetDeviceManufacturer() string

func (*GcmDeviceInfo) GetDeviceMasterKeyHash

func (x *GcmDeviceInfo) GetDeviceMasterKeyHash() []byte

func (*GcmDeviceInfo) GetDeviceModel

func (x *GcmDeviceInfo) GetDeviceModel() string

func (*GcmDeviceInfo) GetDeviceOsCodename

func (x *GcmDeviceInfo) GetDeviceOsCodename() string

func (*GcmDeviceInfo) GetDeviceOsRelease

func (x *GcmDeviceInfo) GetDeviceOsRelease() string

func (*GcmDeviceInfo) GetDeviceOsVersion

func (x *GcmDeviceInfo) GetDeviceOsVersion() string

func (*GcmDeviceInfo) GetDeviceOsVersionCode

func (x *GcmDeviceInfo) GetDeviceOsVersionCode() int64

func (*GcmDeviceInfo) GetDeviceSoftwarePackage

func (x *GcmDeviceInfo) GetDeviceSoftwarePackage() string

func (*GcmDeviceInfo) GetDeviceSoftwareVersion

func (x *GcmDeviceInfo) GetDeviceSoftwareVersion() string

func (*GcmDeviceInfo) GetDeviceSoftwareVersionCode

func (x *GcmDeviceInfo) GetDeviceSoftwareVersionCode() int64

func (*GcmDeviceInfo) GetDeviceType

func (x *GcmDeviceInfo) GetDeviceType() DeviceType

func (*GcmDeviceInfo) GetEnabledSoftwareFeatures

func (x *GcmDeviceInfo) GetEnabledSoftwareFeatures() []SoftwareFeature

func (*GcmDeviceInfo) GetEnrollmentSessionId

func (x *GcmDeviceInfo) GetEnrollmentSessionId() []byte

func (*GcmDeviceInfo) GetGcmRegistrationId

func (x *GcmDeviceInfo) GetGcmRegistrationId() []byte

func (*GcmDeviceInfo) GetIsScreenlockStateFlaky

func (x *GcmDeviceInfo) GetIsScreenlockStateFlaky() bool

func (*GcmDeviceInfo) GetKeyHandle

func (x *GcmDeviceInfo) GetKeyHandle() []byte

func (*GcmDeviceInfo) GetLocale

func (x *GcmDeviceInfo) GetLocale() string

func (*GcmDeviceInfo) GetLongDeviceId

func (x *GcmDeviceInfo) GetLongDeviceId() []byte

func (*GcmDeviceInfo) GetMobileDataSupported

func (x *GcmDeviceInfo) GetMobileDataSupported() bool

func (*GcmDeviceInfo) GetNotificationEnabled

func (x *GcmDeviceInfo) GetNotificationEnabled() bool

func (*GcmDeviceInfo) GetOauthToken

func (x *GcmDeviceInfo) GetOauthToken() string

func (*GcmDeviceInfo) GetPixelExperience

func (x *GcmDeviceInfo) GetPixelExperience() bool

func (*GcmDeviceInfo) GetSupportedSoftwareFeatures

func (x *GcmDeviceInfo) GetSupportedSoftwareFeatures() []SoftwareFeature

func (*GcmDeviceInfo) GetTetheringSupported

func (x *GcmDeviceInfo) GetTetheringSupported() bool

func (*GcmDeviceInfo) GetUserPublicKey

func (x *GcmDeviceInfo) GetUserPublicKey() []byte

func (*GcmDeviceInfo) GetUsingSecureScreenlock

func (x *GcmDeviceInfo) GetUsingSecureScreenlock() bool

func (*GcmDeviceInfo) ProtoMessage

func (*GcmDeviceInfo) ProtoMessage()

func (*GcmDeviceInfo) ProtoReflect

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

func (*GcmDeviceInfo) Reset

func (x *GcmDeviceInfo) Reset()

func (*GcmDeviceInfo) String

func (x *GcmDeviceInfo) String() string

type GcmMetadata

type GcmMetadata struct {
	Type    *Type  `protobuf:"varint,1,req,name=type,enum=securegcm.Type" json:"type,omitempty"`
	Version *int32 `protobuf:"varint,2,opt,name=version,def=0" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*GcmMetadata) Descriptor deprecated

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

Deprecated: Use GcmMetadata.ProtoReflect.Descriptor instead.

func (*GcmMetadata) GetType

func (x *GcmMetadata) GetType() Type

func (*GcmMetadata) GetVersion

func (x *GcmMetadata) GetVersion() int32

func (*GcmMetadata) ProtoMessage

func (*GcmMetadata) ProtoMessage()

func (*GcmMetadata) ProtoReflect

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

func (*GcmMetadata) Reset

func (x *GcmMetadata) Reset()

func (*GcmMetadata) String

func (x *GcmMetadata) String() string

type GenericPublicKey

type GenericPublicKey struct {
	Type             *PublicKeyType      `protobuf:"varint,1,req,name=type,enum=securemessage.PublicKeyType" json:"type,omitempty"`
	EcP256PublicKey  *EcP256PublicKey    `protobuf:"bytes,2,opt,name=ec_p256_public_key,json=ecP256PublicKey" json:"ec_p256_public_key,omitempty"`
	Rsa2048PublicKey *SimpleRsaPublicKey `protobuf:"bytes,3,opt,name=rsa2048_public_key,json=rsa2048PublicKey" json:"rsa2048_public_key,omitempty"`
	// Use only as a last resort
	Dh2048PublicKey *DhPublicKey `protobuf:"bytes,4,opt,name=dh2048_public_key,json=dh2048PublicKey" json:"dh2048_public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*GenericPublicKey) Descriptor deprecated

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

Deprecated: Use GenericPublicKey.ProtoReflect.Descriptor instead.

func (*GenericPublicKey) GetDh2048PublicKey

func (x *GenericPublicKey) GetDh2048PublicKey() *DhPublicKey

func (*GenericPublicKey) GetEcP256PublicKey

func (x *GenericPublicKey) GetEcP256PublicKey() *EcP256PublicKey

func (*GenericPublicKey) GetRsa2048PublicKey

func (x *GenericPublicKey) GetRsa2048PublicKey() *SimpleRsaPublicKey

func (*GenericPublicKey) GetType

func (x *GenericPublicKey) GetType() PublicKeyType

func (*GenericPublicKey) ProtoMessage

func (*GenericPublicKey) ProtoMessage()

func (*GenericPublicKey) ProtoReflect

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

func (*GenericPublicKey) Reset

func (x *GenericPublicKey) Reset()

func (*GenericPublicKey) String

func (x *GenericPublicKey) String() string
type Header struct {
	SignatureScheme  *SigScheme `` /* 129-byte string literal not displayed */
	EncryptionScheme *EncScheme `` /* 132-byte string literal not displayed */
	// Identifies the verification key
	VerificationKeyId []byte `protobuf:"bytes,3,opt,name=verification_key_id,json=verificationKeyId" json:"verification_key_id,omitempty"`
	// Identifies the decryption key
	DecryptionKeyId []byte `protobuf:"bytes,4,opt,name=decryption_key_id,json=decryptionKeyId" json:"decryption_key_id,omitempty"`
	// Encryption may use an IV
	Iv []byte `protobuf:"bytes,5,opt,name=iv" json:"iv,omitempty"`
	// Arbitrary per-protocol public data, to be sent with the plain-text header
	PublicMetadata []byte `protobuf:"bytes,6,opt,name=public_metadata,json=publicMetadata" json:"public_metadata,omitempty"`
	// The length of some associated data this is not sent in this SecureMessage,
	// but which will be bound to the signature.
	AssociatedDataLength *uint32 `protobuf:"varint,7,opt,name=associated_data_length,json=associatedDataLength,def=0" json:"associated_data_length,omitempty"`
	// contains filtered or unexported fields
}

func (*Header) Descriptor deprecated

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

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAssociatedDataLength

func (x *Header) GetAssociatedDataLength() uint32

func (*Header) GetDecryptionKeyId

func (x *Header) GetDecryptionKeyId() []byte

func (*Header) GetEncryptionScheme

func (x *Header) GetEncryptionScheme() EncScheme

func (*Header) GetIv

func (x *Header) GetIv() []byte

func (*Header) GetPublicMetadata

func (x *Header) GetPublicMetadata() []byte

func (*Header) GetSignatureScheme

func (x *Header) GetSignatureScheme() SigScheme

func (*Header) GetVerificationKeyId

func (x *Header) GetVerificationKeyId() []byte

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) ProtoReflect

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

func (*Header) Reset

func (x *Header) Reset()

func (*Header) String

func (x *Header) String() string

type HeaderAndBody

type HeaderAndBody struct {

	// Public data about this message (to be bound in the signature)
	Header *Header `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
	// Payload data
	Body []byte `protobuf:"bytes,2,req,name=body" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*HeaderAndBody) Descriptor deprecated

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

Deprecated: Use HeaderAndBody.ProtoReflect.Descriptor instead.

func (*HeaderAndBody) GetBody

func (x *HeaderAndBody) GetBody() []byte

func (*HeaderAndBody) GetHeader

func (x *HeaderAndBody) GetHeader() *Header

func (*HeaderAndBody) ProtoMessage

func (*HeaderAndBody) ProtoMessage()

func (*HeaderAndBody) ProtoReflect

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

func (*HeaderAndBody) Reset

func (x *HeaderAndBody) Reset()

func (*HeaderAndBody) String

func (x *HeaderAndBody) String() string

type HeaderAndBodyInternal

type HeaderAndBodyInternal struct {

	// A raw (wire-format) byte encoding of a Header, suitable for hashing
	Header []byte `protobuf:"bytes,1,req,name=header" json:"header,omitempty"`
	// Payload data
	Body []byte `protobuf:"bytes,2,req,name=body" json:"body,omitempty"`
	// contains filtered or unexported fields
}

Must be kept wire-format compatible with HeaderAndBody. Provides the SecureMessage code with a consistent wire-format representation that remains stable irrespective of protobuf implementation choices. This low-level representation of a HeaderAndBody should not be used by any code outside of the SecureMessage library implementation/tests.

func (*HeaderAndBodyInternal) Descriptor deprecated

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

Deprecated: Use HeaderAndBodyInternal.ProtoReflect.Descriptor instead.

func (*HeaderAndBodyInternal) GetBody

func (x *HeaderAndBodyInternal) GetBody() []byte

func (*HeaderAndBodyInternal) GetHeader

func (x *HeaderAndBodyInternal) GetHeader() []byte

func (*HeaderAndBodyInternal) ProtoMessage

func (*HeaderAndBodyInternal) ProtoMessage()

func (*HeaderAndBodyInternal) ProtoReflect

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

func (*HeaderAndBodyInternal) Reset

func (x *HeaderAndBodyInternal) Reset()

func (*HeaderAndBodyInternal) String

func (x *HeaderAndBodyInternal) String() string

type InitiatorHello

type InitiatorHello struct {

	// The session public key to send to the responder
	PublicDhKey *GenericPublicKey `protobuf:"bytes,1,opt,name=public_dh_key,json=publicDhKey" json:"public_dh_key,omitempty"`
	// The protocol version
	ProtocolVersion *int32 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,def=0" json:"protocol_version,omitempty"`
	// contains filtered or unexported fields
}

sent as the first message from initiator to responder in an unauthenticated Diffie-Hellman Key Exchange

func (*InitiatorHello) Descriptor deprecated

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

Deprecated: Use InitiatorHello.ProtoReflect.Descriptor instead.

func (*InitiatorHello) GetProtocolVersion

func (x *InitiatorHello) GetProtocolVersion() int32

func (*InitiatorHello) GetPublicDhKey

func (x *InitiatorHello) GetPublicDhKey() *GenericPublicKey

func (*InitiatorHello) ProtoMessage

func (*InitiatorHello) ProtoMessage()

func (*InitiatorHello) ProtoReflect

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

func (*InitiatorHello) Reset

func (x *InitiatorHello) Reset()

func (*InitiatorHello) String

func (x *InitiatorHello) String() string

type InvocationReason

type InvocationReason int32

A list of "reasons" that can be provided for calling server-side APIs. This is particularly important for calls that can be triggered by different kinds of events. Please try to keep reasons as generic as possible, so that codes can be re-used by various callers in a sensible fashion.

const (
	InvocationReason_REASON_UNKNOWN InvocationReason = 0
	// First run of the software package invoking this call
	InvocationReason_REASON_INITIALIZATION InvocationReason = 1
	// Ordinary periodic actions (e.g. monthly master key rotation)
	InvocationReason_REASON_PERIODIC InvocationReason = 2
	// Slow-cycle periodic action (e.g. yearly keypair rotation???)
	InvocationReason_REASON_SLOW_PERIODIC InvocationReason = 3
	// Fast-cycle periodic action (e.g. daily sync for Smart Lock users)
	InvocationReason_REASON_FAST_PERIODIC InvocationReason = 4
	// Expired state (e.g. expired credentials, or cached entries) was detected
	InvocationReason_REASON_EXPIRATION InvocationReason = 5
	// An unexpected protocol failure occurred (so attempting to repair state)
	InvocationReason_REASON_FAILURE_RECOVERY InvocationReason = 6
	// A new account has been added to the device
	InvocationReason_REASON_NEW_ACCOUNT InvocationReason = 7
	// An existing account on the device has been changed
	InvocationReason_REASON_CHANGED_ACCOUNT InvocationReason = 8
	// The user toggled the state of a feature (e.g. Smart Lock enabled via BT)
	InvocationReason_REASON_FEATURE_TOGGLED InvocationReason = 9
	// A "push" from the server caused this action (e.g. a sync tickle)
	InvocationReason_REASON_SERVER_INITIATED InvocationReason = 10
	// A local address change triggered this (e.g. GCM registration id changed)
	InvocationReason_REASON_ADDRESS_CHANGE InvocationReason = 11
	// A software update has triggered this
	InvocationReason_REASON_SOFTWARE_UPDATE InvocationReason = 12
	// A manual action by the user triggered this (e.g. commands sent via adb)
	InvocationReason_REASON_MANUAL InvocationReason = 13
	// A custom key has been invalidated on the device (e.g. screen lock is
	// disabled).
	InvocationReason_REASON_CUSTOM_KEY_INVALIDATION InvocationReason = 14
	// Periodic action triggered by auth_proximity
	InvocationReason_REASON_PROXIMITY_PERIODIC InvocationReason = 15
)

func (InvocationReason) Descriptor

func (InvocationReason) Enum

func (InvocationReason) EnumDescriptor deprecated

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

Deprecated: Use InvocationReason.Descriptor instead.

func (InvocationReason) Number

func (InvocationReason) String

func (x InvocationReason) String() string

func (InvocationReason) Type

func (*InvocationReason) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type LoginNotificationInfo

type LoginNotificationInfo struct {

	// Time at which the server received the login notification request.
	CreationTime *uint64 `protobuf:"fixed64,2,opt,name=creation_time,json=creationTime" json:"creation_time,omitempty"`
	// Must correspond to user_id in LoginNotificationRequest, if set.
	Email *string `protobuf:"bytes,3,opt,name=email" json:"email,omitempty"`
	// Host where the user's credentials were used to login, if meaningful.
	Host *string `protobuf:"bytes,4,opt,name=host" json:"host,omitempty"`
	// Location from where the user's credentials were used, if meaningful.
	Source *string `protobuf:"bytes,5,opt,name=source" json:"source,omitempty"`
	// Type of login, e.g. ssh, gnome-screensaver, or web.
	EventType *string `protobuf:"bytes,6,opt,name=event_type,json=eventType" json:"event_type,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginNotificationInfo) Descriptor deprecated

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

Deprecated: Use LoginNotificationInfo.ProtoReflect.Descriptor instead.

func (*LoginNotificationInfo) GetCreationTime

func (x *LoginNotificationInfo) GetCreationTime() uint64

func (*LoginNotificationInfo) GetEmail

func (x *LoginNotificationInfo) GetEmail() string

func (*LoginNotificationInfo) GetEventType

func (x *LoginNotificationInfo) GetEventType() string

func (*LoginNotificationInfo) GetHost

func (x *LoginNotificationInfo) GetHost() string

func (*LoginNotificationInfo) GetSource

func (x *LoginNotificationInfo) GetSource() string

func (*LoginNotificationInfo) ProtoMessage

func (*LoginNotificationInfo) ProtoMessage()

func (*LoginNotificationInfo) ProtoReflect

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

func (*LoginNotificationInfo) Reset

func (x *LoginNotificationInfo) Reset()

func (*LoginNotificationInfo) String

func (x *LoginNotificationInfo) String() string

type PublicKeyType

type PublicKeyType int32

A list of supported public key types

const (
	PublicKeyType_EC_P256 PublicKeyType = 1
	PublicKeyType_RSA2048 PublicKeyType = 2
	// 2048-bit MODP group 14, from RFC 3526
	PublicKeyType_DH2048_MODP PublicKeyType = 3
)

func (PublicKeyType) Descriptor

func (PublicKeyType) Enum

func (x PublicKeyType) Enum() *PublicKeyType

func (PublicKeyType) EnumDescriptor deprecated

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

Deprecated: Use PublicKeyType.Descriptor instead.

func (PublicKeyType) Number

func (PublicKeyType) String

func (x PublicKeyType) String() string

func (PublicKeyType) Type

func (*PublicKeyType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type ResponderHello

type ResponderHello struct {

	// The session public key to send to the initiator
	PublicDhKey *GenericPublicKey `protobuf:"bytes,1,opt,name=public_dh_key,json=publicDhKey" json:"public_dh_key,omitempty"`
	// The protocol version
	ProtocolVersion *int32 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,def=0" json:"protocol_version,omitempty"`
	// contains filtered or unexported fields
}

sent inside the header of the first message from the responder to the initiator in an unauthenticated Diffie-Hellman Key Exchange

func (*ResponderHello) Descriptor deprecated

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

Deprecated: Use ResponderHello.ProtoReflect.Descriptor instead.

func (*ResponderHello) GetProtocolVersion

func (x *ResponderHello) GetProtocolVersion() int32

func (*ResponderHello) GetPublicDhKey

func (x *ResponderHello) GetPublicDhKey() *GenericPublicKey

func (*ResponderHello) ProtoMessage

func (*ResponderHello) ProtoMessage()

func (*ResponderHello) ProtoReflect

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

func (*ResponderHello) Reset

func (x *ResponderHello) Reset()

func (*ResponderHello) String

func (x *ResponderHello) String() string

type SecureMessage

type SecureMessage struct {

	// Must contain a HeaderAndBody message
	HeaderAndBody []byte `protobuf:"bytes,1,req,name=header_and_body,json=headerAndBody" json:"header_and_body,omitempty"`
	// Signature of header_and_body
	Signature []byte `protobuf:"bytes,2,req,name=signature" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SecureMessage) Descriptor deprecated

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

Deprecated: Use SecureMessage.ProtoReflect.Descriptor instead.

func (*SecureMessage) GetHeaderAndBody

func (x *SecureMessage) GetHeaderAndBody() []byte

func (*SecureMessage) GetSignature

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

func (*SecureMessage) ProtoMessage

func (*SecureMessage) ProtoMessage()

func (*SecureMessage) ProtoReflect

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

func (*SecureMessage) Reset

func (x *SecureMessage) Reset()

func (*SecureMessage) String

func (x *SecureMessage) String() string

type SigScheme

type SigScheme int32

Supported "signature" schemes (both symmetric key and public key based)

const (
	SigScheme_HMAC_SHA256       SigScheme = 1
	SigScheme_ECDSA_P256_SHA256 SigScheme = 2
	// Not recommended -- use ECDSA_P256_SHA256 instead
	SigScheme_RSA2048_SHA256 SigScheme = 3
)

func (SigScheme) Descriptor

func (SigScheme) Descriptor() protoreflect.EnumDescriptor

func (SigScheme) Enum

func (x SigScheme) Enum() *SigScheme

func (SigScheme) EnumDescriptor deprecated

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

Deprecated: Use SigScheme.Descriptor instead.

func (SigScheme) Number

func (x SigScheme) Number() protoreflect.EnumNumber

func (SigScheme) String

func (x SigScheme) String() string

func (SigScheme) Type

func (*SigScheme) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type SimpleRsaPublicKey

type SimpleRsaPublicKey struct {

	// Encoded in big-endian two's complement
	N []byte `protobuf:"bytes,1,req,name=n" json:"n,omitempty"`
	E *int32 `protobuf:"varint,2,opt,name=e,def=65537" json:"e,omitempty"`
	// contains filtered or unexported fields
}

A convenience proto for encoding RSA public keys with small exponents

func (*SimpleRsaPublicKey) Descriptor deprecated

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

Deprecated: Use SimpleRsaPublicKey.ProtoReflect.Descriptor instead.

func (*SimpleRsaPublicKey) GetE

func (x *SimpleRsaPublicKey) GetE() int32

func (*SimpleRsaPublicKey) GetN

func (x *SimpleRsaPublicKey) GetN() []byte

func (*SimpleRsaPublicKey) ProtoMessage

func (*SimpleRsaPublicKey) ProtoMessage()

func (*SimpleRsaPublicKey) ProtoReflect

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

func (*SimpleRsaPublicKey) Reset

func (x *SimpleRsaPublicKey) Reset()

func (*SimpleRsaPublicKey) String

func (x *SimpleRsaPublicKey) String() string

type SoftwareFeature

type SoftwareFeature int32

MultiDevice features which may be supported and enabled on a device. See

const (
	SoftwareFeature_UNKNOWN_FEATURE        SoftwareFeature = 0
	SoftwareFeature_BETTER_TOGETHER_HOST   SoftwareFeature = 1
	SoftwareFeature_BETTER_TOGETHER_CLIENT SoftwareFeature = 2
	SoftwareFeature_EASY_UNLOCK_HOST       SoftwareFeature = 3
	SoftwareFeature_EASY_UNLOCK_CLIENT     SoftwareFeature = 4
	SoftwareFeature_MAGIC_TETHER_HOST      SoftwareFeature = 5
	SoftwareFeature_MAGIC_TETHER_CLIENT    SoftwareFeature = 6
	SoftwareFeature_SMS_CONNECT_HOST       SoftwareFeature = 7
	SoftwareFeature_SMS_CONNECT_CLIENT     SoftwareFeature = 8
)

func (SoftwareFeature) Descriptor

func (SoftwareFeature) Enum

func (x SoftwareFeature) Enum() *SoftwareFeature

func (SoftwareFeature) EnumDescriptor deprecated

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

Deprecated: Use SoftwareFeature.Descriptor instead.

func (SoftwareFeature) Number

func (SoftwareFeature) String

func (x SoftwareFeature) String() string

func (SoftwareFeature) Type

func (*SoftwareFeature) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type SpakeHandshakeMessage

type SpakeHandshakeMessage struct {

	// Each flow in the protocol bumps this counter
	FlowNumber *int32 `protobuf:"varint,1,opt,name=flow_number,json=flowNumber" json:"flow_number,omitempty"`
	// Some (but not all) SPAKE flows send a point on an elliptic curve
	EcPoint *EcPoint `protobuf:"bytes,2,opt,name=ec_point,json=ecPoint" json:"ec_point,omitempty"`
	// Some (but not all) SPAKE flows send a hash value
	HashValue []byte `protobuf:"bytes,3,opt,name=hash_value,json=hashValue" json:"hash_value,omitempty"`
	// The last flow of a SPAKE protocol can send an optional payload,
	// since the key exchange is already complete on the sender's side.
	Payload []byte `protobuf:"bytes,4,opt,name=payload" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*SpakeHandshakeMessage) Descriptor deprecated

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

Deprecated: Use SpakeHandshakeMessage.ProtoReflect.Descriptor instead.

func (*SpakeHandshakeMessage) GetEcPoint

func (x *SpakeHandshakeMessage) GetEcPoint() *EcPoint

func (*SpakeHandshakeMessage) GetFlowNumber

func (x *SpakeHandshakeMessage) GetFlowNumber() int32

func (*SpakeHandshakeMessage) GetHashValue

func (x *SpakeHandshakeMessage) GetHashValue() []byte

func (*SpakeHandshakeMessage) GetPayload

func (x *SpakeHandshakeMessage) GetPayload() []byte

func (*SpakeHandshakeMessage) ProtoMessage

func (*SpakeHandshakeMessage) ProtoMessage()

func (*SpakeHandshakeMessage) ProtoReflect

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

func (*SpakeHandshakeMessage) Reset

func (x *SpakeHandshakeMessage) Reset()

func (*SpakeHandshakeMessage) String

func (x *SpakeHandshakeMessage) String() string

type Tickle

type Tickle struct {

	// Time after which this tickle should expire
	ExpiryTime *uint64 `protobuf:"fixed64,1,opt,name=expiry_time,json=expiryTime" json:"expiry_time,omitempty"`
	// contains filtered or unexported fields
}

func (*Tickle) Descriptor deprecated

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

Deprecated: Use Tickle.ProtoReflect.Descriptor instead.

func (*Tickle) GetExpiryTime

func (x *Tickle) GetExpiryTime() uint64

func (*Tickle) ProtoMessage

func (*Tickle) ProtoMessage()

func (*Tickle) ProtoReflect

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

func (*Tickle) Reset

func (x *Tickle) Reset()

func (*Tickle) String

func (x *Tickle) String() string

type Type

type Type int32
const (
	Type_ENROLLMENT         Type = 0
	Type_TICKLE             Type = 1
	Type_TX_REQUEST         Type = 2
	Type_TX_REPLY           Type = 3
	Type_TX_SYNC_REQUEST    Type = 4
	Type_TX_SYNC_RESPONSE   Type = 5
	Type_TX_PING            Type = 6
	Type_DEVICE_INFO_UPDATE Type = 7
	Type_TX_CANCEL_REQUEST  Type = 8
	// DEPRECATED (can be re-used after Aug 2015)
	Type_PROXIMITYAUTH_PAIRING Type = 10
	// The kind of identity assertion generated by a "GCM V1" device (i.e.,
	// an Android phone that has registered with us a public and a symmetric
	// key)
	Type_GCMV1_IDENTITY_ASSERTION Type = 11
	// Device-to-device communications are protected by an unauthenticated
	// Diffie-Hellman exchange. The InitiatorHello message is simply the
	// initiator's public DH key, and is not encoded as a SecureMessage, so
	// it doesn't have a tag.
	// The ResponderHello message (which is sent by the responder
	// to the initiator), on the other hand, carries a payload that is protected
	// by the derived shared key. It also contains the responder's
	// public DH key. ResponderHelloAndPayload messages have the
	// DEVICE_TO_DEVICE_RESPONDER_HELLO tag.
	Type_DEVICE_TO_DEVICE_RESPONDER_HELLO_PAYLOAD Type = 12
	// Device-to-device communications are protected by an unauthenticated
	// Diffie-Hellman exchange. Once the initiator and responder
	// agree on a shared key (through Diffie-Hellman), they will use messages
	// tagged with DEVICE_TO_DEVICE_MESSAGE to exchange data.
	Type_DEVICE_TO_DEVICE_MESSAGE Type = 13
	// Notification to let a device know it should contact a nearby device.
	Type_DEVICE_PROXIMITY_CALLBACK Type = 14
	// Device-to-device communications are protected by an unauthenticated
	// Diffie-Hellman exchange. During device-to-device authentication, the first
	// message from initiator (the challenge) is signed and put into the payload
	// of the message sent back to the initiator.
	Type_UNLOCK_KEY_SIGNED_CHALLENGE Type = 15
	// Specialty (corp only) features
	Type_LOGIN_NOTIFICATION Type = 101
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

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

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

func (*Type) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Ukey2Alert

type Ukey2Alert struct {
	Type         *Ukey2Alert_AlertType `protobuf:"varint,1,opt,name=type,enum=securegcm.Ukey2Alert_AlertType" json:"type,omitempty"`
	ErrorMessage *string               `protobuf:"bytes,2,opt,name=error_message,json=errorMessage" json:"error_message,omitempty"`
	// contains filtered or unexported fields
}

func (*Ukey2Alert) Descriptor deprecated

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

Deprecated: Use Ukey2Alert.ProtoReflect.Descriptor instead.

func (*Ukey2Alert) GetErrorMessage

func (x *Ukey2Alert) GetErrorMessage() string

func (*Ukey2Alert) GetType

func (x *Ukey2Alert) GetType() Ukey2Alert_AlertType

func (*Ukey2Alert) ProtoMessage

func (*Ukey2Alert) ProtoMessage()

func (*Ukey2Alert) ProtoReflect

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

func (*Ukey2Alert) Reset

func (x *Ukey2Alert) Reset()

func (*Ukey2Alert) String

func (x *Ukey2Alert) String() string

type Ukey2Alert_AlertType

type Ukey2Alert_AlertType int32
const (
	// Framing errors
	Ukey2Alert_BAD_MESSAGE       Ukey2Alert_AlertType = 1 // The message could not be deserialized
	Ukey2Alert_BAD_MESSAGE_TYPE  Ukey2Alert_AlertType = 2 // message_type has an undefined value
	Ukey2Alert_INCORRECT_MESSAGE Ukey2Alert_AlertType = 3 // message_type received does not correspond to
	// expected type at this stage of the protocol
	Ukey2Alert_BAD_MESSAGE_DATA Ukey2Alert_AlertType = 4 // Could not deserialize message_data as per
	// ClientInit and ServerInit errors
	Ukey2Alert_BAD_VERSION Ukey2Alert_AlertType = 100 // version is invalid; server cannot find
	// suitable version to speak with client.
	Ukey2Alert_BAD_RANDOM Ukey2Alert_AlertType = 101 // Random data is missing or of incorrect
	// length
	Ukey2Alert_BAD_HANDSHAKE_CIPHER Ukey2Alert_AlertType = 102 // No suitable handshake ciphers were found
	Ukey2Alert_BAD_NEXT_PROTOCOL    Ukey2Alert_AlertType = 103 // The next protocol is missing, unknown, or
	// unsupported
	Ukey2Alert_BAD_PUBLIC_KEY Ukey2Alert_AlertType = 104 // The public key could not be parsed
	// Other errors
	Ukey2Alert_INTERNAL_ERROR Ukey2Alert_AlertType = 200 // An internal error has occurred. error_message
)

func (Ukey2Alert_AlertType) Descriptor

func (Ukey2Alert_AlertType) Enum

func (Ukey2Alert_AlertType) EnumDescriptor deprecated

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

Deprecated: Use Ukey2Alert_AlertType.Descriptor instead.

func (Ukey2Alert_AlertType) Number

func (Ukey2Alert_AlertType) String

func (x Ukey2Alert_AlertType) String() string

func (Ukey2Alert_AlertType) Type

func (*Ukey2Alert_AlertType) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Ukey2ClientFinished

type Ukey2ClientFinished struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey" json:"public_key,omitempty"` // public key matching selected handshake
	// contains filtered or unexported fields
}

func (*Ukey2ClientFinished) Descriptor deprecated

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

Deprecated: Use Ukey2ClientFinished.ProtoReflect.Descriptor instead.

func (*Ukey2ClientFinished) GetPublicKey

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

func (*Ukey2ClientFinished) ProtoMessage

func (*Ukey2ClientFinished) ProtoMessage()

func (*Ukey2ClientFinished) ProtoReflect

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

func (*Ukey2ClientFinished) Reset

func (x *Ukey2ClientFinished) Reset()

func (*Ukey2ClientFinished) String

func (x *Ukey2ClientFinished) String() string

type Ukey2ClientInit

type Ukey2ClientInit struct {
	Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` // highest supported version for rollback
	// protection
	Random            []byte                              `protobuf:"bytes,2,opt,name=random" json:"random,omitempty"` // random bytes for replay/reuse protection
	CipherCommitments []*Ukey2ClientInit_CipherCommitment `protobuf:"bytes,3,rep,name=cipher_commitments,json=cipherCommitments" json:"cipher_commitments,omitempty"`
	// Next protocol that the client wants to speak.
	NextProtocol *string `protobuf:"bytes,4,opt,name=next_protocol,json=nextProtocol" json:"next_protocol,omitempty"`
	// contains filtered or unexported fields
}

func (*Ukey2ClientInit) Descriptor deprecated

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

Deprecated: Use Ukey2ClientInit.ProtoReflect.Descriptor instead.

func (*Ukey2ClientInit) GetCipherCommitments

func (x *Ukey2ClientInit) GetCipherCommitments() []*Ukey2ClientInit_CipherCommitment

func (*Ukey2ClientInit) GetNextProtocol

func (x *Ukey2ClientInit) GetNextProtocol() string

func (*Ukey2ClientInit) GetRandom

func (x *Ukey2ClientInit) GetRandom() []byte

func (*Ukey2ClientInit) GetVersion

func (x *Ukey2ClientInit) GetVersion() int32

func (*Ukey2ClientInit) ProtoMessage

func (*Ukey2ClientInit) ProtoMessage()

func (*Ukey2ClientInit) ProtoReflect

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

func (*Ukey2ClientInit) Reset

func (x *Ukey2ClientInit) Reset()

func (*Ukey2ClientInit) String

func (x *Ukey2ClientInit) String() string

type Ukey2ClientInit_CipherCommitment

type Ukey2ClientInit_CipherCommitment struct {
	HandshakeCipher *Ukey2HandshakeCipher `` /* 136-byte string literal not displayed */
	Commitment      []byte                `protobuf:"bytes,2,opt,name=commitment" json:"commitment,omitempty"`
	// contains filtered or unexported fields
}

One commitment (hash of ClientFinished containing public key) per supported cipher

func (*Ukey2ClientInit_CipherCommitment) Descriptor deprecated

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

Deprecated: Use Ukey2ClientInit_CipherCommitment.ProtoReflect.Descriptor instead.

func (*Ukey2ClientInit_CipherCommitment) GetCommitment

func (x *Ukey2ClientInit_CipherCommitment) GetCommitment() []byte

func (*Ukey2ClientInit_CipherCommitment) GetHandshakeCipher

func (*Ukey2ClientInit_CipherCommitment) ProtoMessage

func (*Ukey2ClientInit_CipherCommitment) ProtoMessage()

func (*Ukey2ClientInit_CipherCommitment) ProtoReflect

func (*Ukey2ClientInit_CipherCommitment) Reset

func (*Ukey2ClientInit_CipherCommitment) String

type Ukey2HandshakeCipher

type Ukey2HandshakeCipher int32
const (
	Ukey2HandshakeCipher_RESERVED    Ukey2HandshakeCipher = 0
	Ukey2HandshakeCipher_P256_SHA512 Ukey2HandshakeCipher = 100 // NIST P-256 used for ECDH, SHA512 used for
	// commitment
	Ukey2HandshakeCipher_CURVE25519_SHA512 Ukey2HandshakeCipher = 200 // Curve 25519 used for ECDH, SHA512 used for
)

func (Ukey2HandshakeCipher) Descriptor

func (Ukey2HandshakeCipher) Enum

func (Ukey2HandshakeCipher) EnumDescriptor deprecated

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

Deprecated: Use Ukey2HandshakeCipher.Descriptor instead.

func (Ukey2HandshakeCipher) Number

func (Ukey2HandshakeCipher) String

func (x Ukey2HandshakeCipher) String() string

func (Ukey2HandshakeCipher) Type

func (*Ukey2HandshakeCipher) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Ukey2Message

type Ukey2Message struct {
	MessageType *Ukey2Message_Type `protobuf:"varint,1,opt,name=message_type,json=messageType,enum=securegcm.Ukey2Message_Type" json:"message_type,omitempty"` // Identifies message type
	MessageData []byte             `protobuf:"bytes,2,opt,name=message_data,json=messageData" json:"message_data,omitempty"`                                   // Actual message, to be parsed according to
	// contains filtered or unexported fields
}

func (*Ukey2Message) Descriptor deprecated

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

Deprecated: Use Ukey2Message.ProtoReflect.Descriptor instead.

func (*Ukey2Message) GetMessageData

func (x *Ukey2Message) GetMessageData() []byte

func (*Ukey2Message) GetMessageType

func (x *Ukey2Message) GetMessageType() Ukey2Message_Type

func (*Ukey2Message) ProtoMessage

func (*Ukey2Message) ProtoMessage()

func (*Ukey2Message) ProtoReflect

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

func (*Ukey2Message) Reset

func (x *Ukey2Message) Reset()

func (*Ukey2Message) String

func (x *Ukey2Message) String() string

type Ukey2Message_Type

type Ukey2Message_Type int32
const (
	Ukey2Message_UNKNOWN_DO_NOT_USE Ukey2Message_Type = 0
	Ukey2Message_ALERT              Ukey2Message_Type = 1
	Ukey2Message_CLIENT_INIT        Ukey2Message_Type = 2
	Ukey2Message_SERVER_INIT        Ukey2Message_Type = 3
	Ukey2Message_CLIENT_FINISH      Ukey2Message_Type = 4
)

func (Ukey2Message_Type) Descriptor

func (Ukey2Message_Type) Enum

func (Ukey2Message_Type) EnumDescriptor deprecated

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

Deprecated: Use Ukey2Message_Type.Descriptor instead.

func (Ukey2Message_Type) Number

func (Ukey2Message_Type) String

func (x Ukey2Message_Type) String() string

func (Ukey2Message_Type) Type

func (*Ukey2Message_Type) UnmarshalJSON deprecated

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

Deprecated: Do not use.

type Ukey2ServerInit

type Ukey2ServerInit struct {
	Version *int32 `protobuf:"varint,1,opt,name=version" json:"version,omitempty"` // highest supported version for rollback
	// protection
	Random []byte `protobuf:"bytes,2,opt,name=random" json:"random,omitempty"` // random bytes for replay/reuse protection
	// Selected Cipher and corresponding public key
	HandshakeCipher *Ukey2HandshakeCipher `` /* 136-byte string literal not displayed */
	PublicKey       []byte                `protobuf:"bytes,4,opt,name=public_key,json=publicKey" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

func (*Ukey2ServerInit) Descriptor deprecated

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

Deprecated: Use Ukey2ServerInit.ProtoReflect.Descriptor instead.

func (*Ukey2ServerInit) GetHandshakeCipher

func (x *Ukey2ServerInit) GetHandshakeCipher() Ukey2HandshakeCipher

func (*Ukey2ServerInit) GetPublicKey

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

func (*Ukey2ServerInit) GetRandom

func (x *Ukey2ServerInit) GetRandom() []byte

func (*Ukey2ServerInit) GetVersion

func (x *Ukey2ServerInit) GetVersion() int32

func (*Ukey2ServerInit) ProtoMessage

func (*Ukey2ServerInit) ProtoMessage()

func (*Ukey2ServerInit) ProtoReflect

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

func (*Ukey2ServerInit) Reset

func (x *Ukey2ServerInit) Reset()

func (*Ukey2ServerInit) String

func (x *Ukey2ServerInit) String() string

Jump to

Keyboard shortcuts

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