Documentation ¶
Index ¶
- Variables
- func GeneratePlatformDeviceKeyNCert(deviceid string, accountid string, log maestroSpecs.Logger) (key string, cert string, err error)
- func GetPlatformVars(dict *templates.TemplateVarDictionary, log maestroSpecs.Logger) (err error)
- func WritePlatformDeviceKeyNCert(key string, cert string, log maestroSpecs.Logger) (err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var PlatformKeyWriter maestroSpecs.PlatformKeyWriter
PlatformKeyWriter is a required export for a platform key writing
View Source
var PlatformReader maestroSpecs.PlatformReader
PlatformReader is a required export for a platform module
Functions ¶
func GeneratePlatformDeviceKeyNCert ¶
func GeneratePlatformDeviceKeyNCert(deviceid string, accountid string, log maestroSpecs.Logger) (key string, cert string, err error)
GeneratePlatformDeviceKeyNCert generates the platforms key and certificate. Takes in the "device id" and "account id" which are two items which must be stored in the certificate
func GetPlatformVars ¶
func GetPlatformVars(dict *templates.TemplateVarDictionary, log maestroSpecs.Logger) (err error)
func WritePlatformDeviceKeyNCert ¶
func WritePlatformDeviceKeyNCert(key string, cert string, log maestroSpecs.Logger) (err error)
WritePlatformDeviceKeyNCert writes out the device key and cert to the eeprom
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.