universalmessage

package
v0.0.0-...-81a5b18 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Domain_name = map[int32]string{
		0: "DOMAIN_BROADCAST",
		2: "DOMAIN_VEHICLE_SECURITY",
		3: "DOMAIN_INFOTAINMENT",
	}
	Domain_value = map[string]int32{
		"DOMAIN_BROADCAST":        0,
		"DOMAIN_VEHICLE_SECURITY": 2,
		"DOMAIN_INFOTAINMENT":     3,
	}
)

Enum value maps for Domain.

View Source
var (
	OperationStatus_E_name = map[int32]string{
		0: "OPERATIONSTATUS_OK",
		1: "OPERATIONSTATUS_WAIT",
		2: "OPERATIONSTATUS_ERROR",
	}
	OperationStatus_E_value = map[string]int32{
		"OPERATIONSTATUS_OK":    0,
		"OPERATIONSTATUS_WAIT":  1,
		"OPERATIONSTATUS_ERROR": 2,
	}
)

Enum value maps for OperationStatus_E.

View Source
var (
	MessageFault_E_name = map[int32]string{
		0:  "MESSAGEFAULT_ERROR_NONE",
		1:  "MESSAGEFAULT_ERROR_BUSY",
		2:  "MESSAGEFAULT_ERROR_TIMEOUT",
		3:  "MESSAGEFAULT_ERROR_UNKNOWN_KEY_ID",
		4:  "MESSAGEFAULT_ERROR_INACTIVE_KEY",
		5:  "MESSAGEFAULT_ERROR_INVALID_SIGNATURE",
		6:  "MESSAGEFAULT_ERROR_INVALID_TOKEN_OR_COUNTER",
		7:  "MESSAGEFAULT_ERROR_INSUFFICIENT_PRIVILEGES",
		8:  "MESSAGEFAULT_ERROR_INVALID_DOMAINS",
		9:  "MESSAGEFAULT_ERROR_INVALID_COMMAND",
		10: "MESSAGEFAULT_ERROR_DECODING",
		11: "MESSAGEFAULT_ERROR_INTERNAL",
		12: "MESSAGEFAULT_ERROR_WRONG_PERSONALIZATION",
		13: "MESSAGEFAULT_ERROR_BAD_PARAMETER",
		14: "MESSAGEFAULT_ERROR_KEYCHAIN_IS_FULL",
		15: "MESSAGEFAULT_ERROR_INCORRECT_EPOCH",
		16: "MESSAGEFAULT_ERROR_IV_INCORRECT_LENGTH",
		17: "MESSAGEFAULT_ERROR_TIME_EXPIRED",
		18: "MESSAGEFAULT_ERROR_NOT_PROVISIONED_WITH_IDENTITY",
		19: "MESSAGEFAULT_ERROR_COULD_NOT_HASH_METADATA",
		20: "MESSAGEFAULT_ERROR_TIME_TO_LIVE_TOO_LONG",
		21: "MESSAGEFAULT_ERROR_REMOTE_ACCESS_DISABLED",
		22: "MESSAGEFAULT_ERROR_REMOTE_SERVICE_ACCESS_DISABLED",
		23: "MESSAGEFAULT_ERROR_COMMAND_REQUIRES_ACCOUNT_CREDENTIALS",
	}
	MessageFault_E_value = map[string]int32{
		"MESSAGEFAULT_ERROR_NONE":                                 0,
		"MESSAGEFAULT_ERROR_BUSY":                                 1,
		"MESSAGEFAULT_ERROR_TIMEOUT":                              2,
		"MESSAGEFAULT_ERROR_UNKNOWN_KEY_ID":                       3,
		"MESSAGEFAULT_ERROR_INACTIVE_KEY":                         4,
		"MESSAGEFAULT_ERROR_INVALID_SIGNATURE":                    5,
		"MESSAGEFAULT_ERROR_INVALID_TOKEN_OR_COUNTER":             6,
		"MESSAGEFAULT_ERROR_INSUFFICIENT_PRIVILEGES":              7,
		"MESSAGEFAULT_ERROR_INVALID_DOMAINS":                      8,
		"MESSAGEFAULT_ERROR_INVALID_COMMAND":                      9,
		"MESSAGEFAULT_ERROR_DECODING":                             10,
		"MESSAGEFAULT_ERROR_INTERNAL":                             11,
		"MESSAGEFAULT_ERROR_WRONG_PERSONALIZATION":                12,
		"MESSAGEFAULT_ERROR_BAD_PARAMETER":                        13,
		"MESSAGEFAULT_ERROR_KEYCHAIN_IS_FULL":                     14,
		"MESSAGEFAULT_ERROR_INCORRECT_EPOCH":                      15,
		"MESSAGEFAULT_ERROR_IV_INCORRECT_LENGTH":                  16,
		"MESSAGEFAULT_ERROR_TIME_EXPIRED":                         17,
		"MESSAGEFAULT_ERROR_NOT_PROVISIONED_WITH_IDENTITY":        18,
		"MESSAGEFAULT_ERROR_COULD_NOT_HASH_METADATA":              19,
		"MESSAGEFAULT_ERROR_TIME_TO_LIVE_TOO_LONG":                20,
		"MESSAGEFAULT_ERROR_REMOTE_ACCESS_DISABLED":               21,
		"MESSAGEFAULT_ERROR_REMOTE_SERVICE_ACCESS_DISABLED":       22,
		"MESSAGEFAULT_ERROR_COMMAND_REQUIRES_ACCOUNT_CREDENTIALS": 23,
	}
)

Enum value maps for MessageFault_E.

View Source
var (
	Flags_name = map[int32]string{
		0: "FLAG_USER_COMMAND",
	}
	Flags_value = map[string]int32{
		"FLAG_USER_COMMAND": 0,
	}
)

Enum value maps for Flags.

View Source
var File_universal_message_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Destination

type Destination struct {

	// Types that are assignable to SubDestination:
	//	*Destination_Domain
	//	*Destination_RoutingAddress
	SubDestination isDestination_SubDestination `protobuf_oneof:"sub_destination"`
	// contains filtered or unexported fields
}

func (*Destination) Descriptor deprecated

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

Deprecated: Use Destination.ProtoReflect.Descriptor instead.

func (*Destination) GetDomain

func (x *Destination) GetDomain() Domain

func (*Destination) GetRoutingAddress

func (x *Destination) GetRoutingAddress() []byte

func (*Destination) GetSubDestination

func (m *Destination) GetSubDestination() isDestination_SubDestination

func (*Destination) ProtoMessage

func (*Destination) ProtoMessage()

func (*Destination) ProtoReflect

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

func (*Destination) Reset

func (x *Destination) Reset()

func (*Destination) String

func (x *Destination) String() string

type Destination_Domain

type Destination_Domain struct {
	Domain Domain `protobuf:"varint,1,opt,name=domain,proto3,enum=UniversalMessage.Domain,oneof"`
}

type Destination_RoutingAddress

type Destination_RoutingAddress struct {
	RoutingAddress []byte `protobuf:"bytes,2,opt,name=routing_address,json=routingAddress,proto3,oneof"`
}

type Domain

type Domain int32
const (
	Domain_DOMAIN_BROADCAST        Domain = 0
	Domain_DOMAIN_VEHICLE_SECURITY Domain = 2
	Domain_DOMAIN_INFOTAINMENT     Domain = 3
)

func (Domain) Descriptor

func (Domain) Descriptor() protoreflect.EnumDescriptor

func (Domain) Enum

func (x Domain) Enum() *Domain

func (Domain) EnumDescriptor deprecated

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

Deprecated: Use Domain.Descriptor instead.

func (Domain) Number

func (x Domain) Number() protoreflect.EnumNumber

func (Domain) String

func (x Domain) String() string

func (Domain) Type

func (Domain) Type() protoreflect.EnumType

type Flags

type Flags int32
const (
	Flags_FLAG_USER_COMMAND Flags = 0
)

func (Flags) Descriptor

func (Flags) Descriptor() protoreflect.EnumDescriptor

func (Flags) Enum

func (x Flags) Enum() *Flags

func (Flags) EnumDescriptor deprecated

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

Deprecated: Use Flags.Descriptor instead.

func (Flags) Number

func (x Flags) Number() protoreflect.EnumNumber

func (Flags) String

func (x Flags) String() string

func (Flags) Type

func (Flags) Type() protoreflect.EnumType

type MessageFault_E

type MessageFault_E int32
const (
	MessageFault_E_MESSAGEFAULT_ERROR_NONE                                 MessageFault_E = 0
	MessageFault_E_MESSAGEFAULT_ERROR_BUSY                                 MessageFault_E = 1
	MessageFault_E_MESSAGEFAULT_ERROR_TIMEOUT                              MessageFault_E = 2
	MessageFault_E_MESSAGEFAULT_ERROR_UNKNOWN_KEY_ID                       MessageFault_E = 3
	MessageFault_E_MESSAGEFAULT_ERROR_INACTIVE_KEY                         MessageFault_E = 4
	MessageFault_E_MESSAGEFAULT_ERROR_INVALID_SIGNATURE                    MessageFault_E = 5
	MessageFault_E_MESSAGEFAULT_ERROR_INVALID_TOKEN_OR_COUNTER             MessageFault_E = 6
	MessageFault_E_MESSAGEFAULT_ERROR_INSUFFICIENT_PRIVILEGES              MessageFault_E = 7
	MessageFault_E_MESSAGEFAULT_ERROR_INVALID_DOMAINS                      MessageFault_E = 8
	MessageFault_E_MESSAGEFAULT_ERROR_INVALID_COMMAND                      MessageFault_E = 9
	MessageFault_E_MESSAGEFAULT_ERROR_DECODING                             MessageFault_E = 10
	MessageFault_E_MESSAGEFAULT_ERROR_INTERNAL                             MessageFault_E = 11
	MessageFault_E_MESSAGEFAULT_ERROR_WRONG_PERSONALIZATION                MessageFault_E = 12
	MessageFault_E_MESSAGEFAULT_ERROR_BAD_PARAMETER                        MessageFault_E = 13
	MessageFault_E_MESSAGEFAULT_ERROR_KEYCHAIN_IS_FULL                     MessageFault_E = 14
	MessageFault_E_MESSAGEFAULT_ERROR_INCORRECT_EPOCH                      MessageFault_E = 15
	MessageFault_E_MESSAGEFAULT_ERROR_IV_INCORRECT_LENGTH                  MessageFault_E = 16
	MessageFault_E_MESSAGEFAULT_ERROR_TIME_EXPIRED                         MessageFault_E = 17
	MessageFault_E_MESSAGEFAULT_ERROR_NOT_PROVISIONED_WITH_IDENTITY        MessageFault_E = 18
	MessageFault_E_MESSAGEFAULT_ERROR_COULD_NOT_HASH_METADATA              MessageFault_E = 19
	MessageFault_E_MESSAGEFAULT_ERROR_TIME_TO_LIVE_TOO_LONG                MessageFault_E = 20
	MessageFault_E_MESSAGEFAULT_ERROR_REMOTE_ACCESS_DISABLED               MessageFault_E = 21
	MessageFault_E_MESSAGEFAULT_ERROR_REMOTE_SERVICE_ACCESS_DISABLED       MessageFault_E = 22
	MessageFault_E_MESSAGEFAULT_ERROR_COMMAND_REQUIRES_ACCOUNT_CREDENTIALS MessageFault_E = 23
)

func (MessageFault_E) Descriptor

func (MessageFault_E) Enum

func (x MessageFault_E) Enum() *MessageFault_E

func (MessageFault_E) EnumDescriptor deprecated

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

Deprecated: Use MessageFault_E.Descriptor instead.

func (MessageFault_E) Number

func (MessageFault_E) String

func (x MessageFault_E) String() string

func (MessageFault_E) Type

type MessageStatus

type MessageStatus struct {
	OperationStatus    OperationStatus_E `` /* 147-byte string literal not displayed */
	SignedMessageFault MessageFault_E    `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageStatus) Descriptor deprecated

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

Deprecated: Use MessageStatus.ProtoReflect.Descriptor instead.

func (*MessageStatus) GetOperationStatus

func (x *MessageStatus) GetOperationStatus() OperationStatus_E

func (*MessageStatus) GetSignedMessageFault

func (x *MessageStatus) GetSignedMessageFault() MessageFault_E

func (*MessageStatus) ProtoMessage

func (*MessageStatus) ProtoMessage()

func (*MessageStatus) ProtoReflect

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

func (*MessageStatus) Reset

func (x *MessageStatus) Reset()

func (*MessageStatus) String

func (x *MessageStatus) String() string

type OperationStatus_E

type OperationStatus_E int32
const (
	OperationStatus_E_OPERATIONSTATUS_OK    OperationStatus_E = 0
	OperationStatus_E_OPERATIONSTATUS_WAIT  OperationStatus_E = 1
	OperationStatus_E_OPERATIONSTATUS_ERROR OperationStatus_E = 2
)

func (OperationStatus_E) Descriptor

func (OperationStatus_E) Enum

func (OperationStatus_E) EnumDescriptor deprecated

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

Deprecated: Use OperationStatus_E.Descriptor instead.

func (OperationStatus_E) Number

func (OperationStatus_E) String

func (x OperationStatus_E) String() string

func (OperationStatus_E) Type

type RoutableMessage

type RoutableMessage struct {
	ToDestination   *Destination `protobuf:"bytes,6,opt,name=to_destination,json=toDestination,proto3" json:"to_destination,omitempty"`
	FromDestination *Destination `protobuf:"bytes,7,opt,name=from_destination,json=fromDestination,proto3" json:"from_destination,omitempty"`
	// Types that are assignable to Payload:
	//	*RoutableMessage_ProtobufMessageAsBytes
	//	*RoutableMessage_SessionInfoRequest
	//	*RoutableMessage_SessionInfo
	Payload isRoutableMessage_Payload `protobuf_oneof:"payload"`
	// Types that are assignable to SubSigData:
	//	*RoutableMessage_SignatureData
	SubSigData          isRoutableMessage_SubSigData `protobuf_oneof:"sub_sigData"`
	SignedMessageStatus *MessageStatus               `protobuf:"bytes,12,opt,name=signedMessageStatus,proto3" json:"signedMessageStatus,omitempty"`
	RequestUuid         []byte                       `protobuf:"bytes,50,opt,name=request_uuid,json=requestUuid,proto3" json:"request_uuid,omitempty"`
	Uuid                []byte                       `protobuf:"bytes,51,opt,name=uuid,proto3" json:"uuid,omitempty"`
	Flags               uint32                       `protobuf:"varint,52,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*RoutableMessage) Descriptor deprecated

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

Deprecated: Use RoutableMessage.ProtoReflect.Descriptor instead.

func (*RoutableMessage) GetFlags

func (x *RoutableMessage) GetFlags() uint32

func (*RoutableMessage) GetFromDestination

func (x *RoutableMessage) GetFromDestination() *Destination

func (*RoutableMessage) GetPayload

func (m *RoutableMessage) GetPayload() isRoutableMessage_Payload

func (*RoutableMessage) GetProtobufMessageAsBytes

func (x *RoutableMessage) GetProtobufMessageAsBytes() []byte

func (*RoutableMessage) GetRequestUuid

func (x *RoutableMessage) GetRequestUuid() []byte

func (*RoutableMessage) GetSessionInfo

func (x *RoutableMessage) GetSessionInfo() []byte

func (*RoutableMessage) GetSessionInfoRequest

func (x *RoutableMessage) GetSessionInfoRequest() *SessionInfoRequest

func (*RoutableMessage) GetSignatureData

func (x *RoutableMessage) GetSignatureData() *signatures.SignatureData

func (*RoutableMessage) GetSignedMessageStatus

func (x *RoutableMessage) GetSignedMessageStatus() *MessageStatus

func (*RoutableMessage) GetSubSigData

func (m *RoutableMessage) GetSubSigData() isRoutableMessage_SubSigData

func (*RoutableMessage) GetToDestination

func (x *RoutableMessage) GetToDestination() *Destination

func (*RoutableMessage) GetUuid

func (x *RoutableMessage) GetUuid() []byte

func (*RoutableMessage) ProtoMessage

func (*RoutableMessage) ProtoMessage()

func (*RoutableMessage) ProtoReflect

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

func (*RoutableMessage) Reset

func (x *RoutableMessage) Reset()

func (*RoutableMessage) String

func (x *RoutableMessage) String() string

type RoutableMessage_ProtobufMessageAsBytes

type RoutableMessage_ProtobufMessageAsBytes struct {
	ProtobufMessageAsBytes []byte `protobuf:"bytes,10,opt,name=protobuf_message_as_bytes,json=protobufMessageAsBytes,proto3,oneof"`
}

type RoutableMessage_SessionInfo

type RoutableMessage_SessionInfo struct {
	SessionInfo []byte `protobuf:"bytes,15,opt,name=session_info,json=sessionInfo,proto3,oneof"`
}

type RoutableMessage_SessionInfoRequest

type RoutableMessage_SessionInfoRequest struct {
	SessionInfoRequest *SessionInfoRequest `protobuf:"bytes,14,opt,name=session_info_request,json=sessionInfoRequest,proto3,oneof"`
}

type RoutableMessage_SignatureData

type RoutableMessage_SignatureData struct {
	SignatureData *signatures.SignatureData `protobuf:"bytes,13,opt,name=signature_data,json=signatureData,proto3,oneof"`
}

type SessionInfoRequest

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

func (*SessionInfoRequest) Descriptor deprecated

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

Deprecated: Use SessionInfoRequest.ProtoReflect.Descriptor instead.

func (*SessionInfoRequest) GetChallenge

func (x *SessionInfoRequest) GetChallenge() []byte

func (*SessionInfoRequest) GetPublicKey

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

func (*SessionInfoRequest) ProtoMessage

func (*SessionInfoRequest) ProtoMessage()

func (*SessionInfoRequest) ProtoReflect

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

func (*SessionInfoRequest) Reset

func (x *SessionInfoRequest) Reset()

func (*SessionInfoRequest) String

func (x *SessionInfoRequest) String() string

Jump to

Keyboard shortcuts

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