Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDeviceRequest ¶
type CreateDeviceRequest struct { DeviceID string `json:"id" validate:"required"` Alias string `json:"alias"` Description string `json:"description"` Tags []string `json:"tags"` IconName string `json:"icon_name"` IconColor string `json:"icon_color"` DmsId string `json:"dms_id" validate:"required"` }
type CurrentCertificate ¶
type DMSCertHistory ¶
type DMSLastIssued ¶
type Device ¶
type Device struct { Id string `json:"id"` Alias string `json:"alias"` Description string `json:"description"` Tags []string `json:"tags"` IconName string `json:"icon_name"` IconColor string `json:"icon_color"` Status string `json:"status,omitempty"` DmsId string `json:"dms_id"` KeyMetadata PrivateKeyMetadataWithStregth `json:"key_metadata,omitempty"` Subject Subject `json:"subject,omitempty"` CreationTimestamp string `json:"creation_timestamp,omitempty"` ModificationTimestamp string `json:"modification_timestamp,omitempty"` CurrentCertificate CurrentCertificate `json:"current_certificate,omitempty"` }
type DeviceCert ¶
type DeviceCertHistory ¶
type Enroll ¶
type Enroll struct { Cert *x509.Certificate `json:"crt"` CaCert *x509.Certificate `json:"cacrt"` }
type GetDevicesResponse ¶
type ServerKeyGen ¶
type ServerKeyGen struct { Cert *x509.Certificate `json:"crt"` CaCert *x509.Certificate `json:"cacrt"` Key []byte `json:"key"` }
type Subject ¶
type Subject struct { CommonName string `json:"common_name,omitempty"` Organization string `json:"organization,omitempty"` OrganizationUnit string `json:"organization_unit,omitempty"` Country string `json:"country,omitempty"` State string `json:"state,omitempty"` Locality string `json:"locality,omitempty"` }
Click to show internal directories.
Click to hide internal directories.