Documentation ¶
Index ¶
- type CreateDeviceRequest
- type CurrentCertificate
- type DMSCertHistory
- type DMSLastIssued
- type Device
- type DeviceCert
- type DeviceCertHistory
- type DeviceLog
- type Enroll
- type GetDevicesResponse
- type GetLastIssuedCertResponse
- type GetLogsResponse
- type PrivateKeyMetadataWithStregth
- type ServerKeyGen
- type Stats
- type Subject
- type UpdateDevicesByIdRequest
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 DeviceCertHistory struct { DeviceId string `json:"device_id"` SerialNumber string `json:"serial_number"` IsuuerName string `json:"issuer_name"` Status string `json:"status"` CreationTimestamp string `json:"creation_timestamp"` RevocationTimestamp string `json:"revocation_timestamp,omitempty"` }
type Enroll ¶
type Enroll struct { Cert *x509.Certificate `json:"crt"` CaCert *x509.Certificate `json:"cacrt"` }
type GetDevicesResponse ¶
type GetLastIssuedCertResponse ¶ added in v0.0.5
type GetLastIssuedCertResponse struct { TotalLastIssuedCert int `json:"total_last_issued_cert"` IssuedCert []DMSLastIssued `json:"dms_last_issued_cert,omitempty"` }
type GetLogsResponse ¶ added in v0.0.5
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.