Documentation
¶
Index ¶
- Variables
- type ZRegisterMsg
- func (*ZRegisterMsg) Descriptor() ([]byte, []int)deprecated
- func (x *ZRegisterMsg) GetOnBoardKey() stringdeprecated
- func (x *ZRegisterMsg) GetPemCert() []byte
- func (x *ZRegisterMsg) GetSerial() string
- func (x *ZRegisterMsg) GetSoftSerial() string
- func (*ZRegisterMsg) ProtoMessage()
- func (x *ZRegisterMsg) ProtoReflect() protoreflect.Message
- func (x *ZRegisterMsg) Reset()
- func (x *ZRegisterMsg) String() string
Constants ¶
This section is empty.
Variables ¶
View Source
var File_register_register_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ZRegisterMsg ¶
type ZRegisterMsg struct {
// Deprecated onboarding key field, kept for backward compatibility only
//
// Deprecated: Marked as deprecated in register/register.proto.
OnBoardKey string `protobuf:"bytes,1,opt,name=onBoardKey,proto3" json:"onBoardKey,omitempty"`
// PEM-encoded device certificate (required for device authentication)
// Must contain a valid X.509 certificate in PEM format
// Used to establish device identity and trust relationship with controller
PemCert []byte `protobuf:"bytes,2,opt,name=pemCert,proto3" json:"pemCert,omitempty"`
// Hardware serial number (required for device identification),
// must be unique identifier from device hardware,
// combined with onboard certificate to ensure device uniqueness
Serial string `protobuf:"bytes,3,opt,name=serial,proto3" json:"serial,omitempty"`
// Software serial number (optional additional device identifier),
// provides supplementary identification when available
SoftSerial string `protobuf:"bytes,4,opt,name=softSerial,proto3" json:"softSerial,omitempty"`
// contains filtered or unexported fields
}
This is the request payload for POST /api/v2/edgeDevice/register ZRegisterMsg carries the pem-encoded device certificate plus additional identifying information such as device serial number(s). The message is assumed to be protected by a TLS session bound to the onboarding certificate.
func (*ZRegisterMsg) Descriptor
deprecated
func (*ZRegisterMsg) Descriptor() ([]byte, []int)
Deprecated: Use ZRegisterMsg.ProtoReflect.Descriptor instead.
func (*ZRegisterMsg) GetOnBoardKey
deprecated
func (x *ZRegisterMsg) GetOnBoardKey() string
Deprecated: Marked as deprecated in register/register.proto.
func (*ZRegisterMsg) GetPemCert ¶
func (x *ZRegisterMsg) GetPemCert() []byte
func (*ZRegisterMsg) GetSerial ¶
func (x *ZRegisterMsg) GetSerial() string
func (*ZRegisterMsg) GetSoftSerial ¶
func (x *ZRegisterMsg) GetSoftSerial() string
func (*ZRegisterMsg) ProtoMessage ¶
func (*ZRegisterMsg) ProtoMessage()
func (*ZRegisterMsg) ProtoReflect ¶
func (x *ZRegisterMsg) ProtoReflect() protoreflect.Message
func (*ZRegisterMsg) Reset ¶
func (x *ZRegisterMsg) Reset()
func (*ZRegisterMsg) String ¶
func (x *ZRegisterMsg) String() string
Click to show internal directories.
Click to hide internal directories.