Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateOwnership ¶
ValidateOwnership validate ownership of a certificate on pantahub
Types ¶
type RegisterIDevIDReq ¶
type RegisterIDevIDReq struct { Cert string `json:"csr"` Name string `json:"name"` DeviceName string `json:"device-name"` }
RegisterIDevIDReq register device request payload
type RegisterIDevIDRes ¶
type RegisterIDevIDRes struct { Cert string `json:"crt"` Device *deviceAPI `json:"device"` }
RegisterIDevIDRes register device response payload
func RegisterIDevID ¶
func RegisterIDevID(cert *x509.CertificateRequest, iDevIDName, akName string) (*RegisterIDevIDRes, error)
RegisterIDevID register and new device on pantahub using the IDevID
Click to show internal directories.
Click to hide internal directories.