Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Device ¶
type Device struct {
ID uint64 `yaml:"id" json:"id"`
AttestPub string `yaml:"att-pub" json:"att_pub"`
EKCert string `yaml:"ek-cert" json:"ek_cert"`
EventLog []byte `yaml:"event-log" json:"event_log"`
HashAlgoId uint32 `yaml:"hash-algo" json:"hash_algo"`
Model string `yaml:"model" json:"model"`
Serial string `yaml:"serial" json:"serial"`
SigningPub string `yaml:"signing-pub" json:"signing_pub"`
entities.KeyValueEntity `yaml:"-" json:"-"`
}
func (*Device) SetEntityID ¶
type DeviceProfile ¶
type DeviceProfile struct {
ID uint64 `yaml:"id" json:"id"`
Model string `yaml:"model" json:"model"`
EventLog []byte `yaml:"eventLog" json:"eventLog"`
}
func (*DeviceProfile) EntityID ¶
func (dp *DeviceProfile) EntityID() uint64
func (*DeviceProfile) SetEntityID ¶
func (dp *DeviceProfile) SetEntityID(id uint64)
Click to show internal directories.
Click to hide internal directories.