Documentation ¶
Overview ¶
Device Owner Transfer Method https://github.com/openconnectivityfoundation/security/blob/master/swagger2.0/oic.sec.doxm.swagger.json
Index ¶
Constants ¶
View Source
const ( ResourceType = "oic.r.doxm" ResourceURI = "/oic/sec/doxm" )
View Source
const ( JustWorks = OwnerTransferMethod(0) ManufacturerCertificate = OwnerTransferMethod(2) Self = OwnerTransferMethod(4) )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Doxm ¶
type Doxm struct { ResourceOwner string `json:"rowneruuid"` SupportedOwnerTransferMethods []OwnerTransferMethod `json:"oxms"` OwnerID string `json:"devowneruuid"` DeviceID string `json:"deviceuuid"` Owned bool `json:"owned"` Name string `json:"n"` InstanceID string `json:"id"` SupportedCredentialTypes credential.CredentialType `json:"sct"` SelectedOwnerTransferMethod OwnerTransferMethod `json:"oxmsel"` Interfaces []string `json:"if"` ResourceTypes []string `json:"rt"` }
type DoxmUpdate ¶
type DoxmUpdate struct { ResourceOwner *string `json:"rowneruuid,omitempty"` OwnerID *string `json:"devowneruuid,omitempty"` DeviceID *string `json:"deviceuuid,omitempty"` Owned *bool `json:"owned,omitempty"` SelectOwnerTransferMethod *OwnerTransferMethod `json:"oxmsel,omitempty"` }
type OwnerTransferMethod ¶
type OwnerTransferMethod int
func (OwnerTransferMethod) String ¶
func (o OwnerTransferMethod) String() string
Click to show internal directories.
Click to hide internal directories.