github.com/chnsz/golangsdk@v0.0.0-20240506093406-85a3fbfa605b/openstack/apigw/dedicated/v2/certificates/results.go (about) 1 package certificates 2 3 // Certificate is the structure that represents the APIG SSL certificate details. 4 type Certificate struct { 5 // The certificate ID. 6 ID string `json:"id"` 7 // The certificate name. 8 Name string `json:"name"` 9 // The certificate type. 10 Type string `json:"type"` 11 // The instance ID to which the certificate belongs. 12 // For global certificates, this value is not empty and "common" will be returned. 13 InstanceId string `json:"instance_id"` 14 // The project ID. 15 ProjectId string `json:"project_id"` 16 // The domain name. 17 CommonName string `json:"common_name"` 18 // The SAN domain list. 19 SANs []string `json:"san"` 20 // The expiration time. 21 NotAfter string `json:"not_after"` 22 // What signature algorithm the certificate uses. 23 SignatureAlgorithm string `json:"signature_algorithm"` 24 // The creation time of the certificate. 25 CreatedAt string `json:"create_time"` 26 // The update time of the certificate. 27 UpdatedAt string `json:"update_time"` 28 // Whether a trusted root certificate (CA) exists. 29 // The value is true if trusted_root_ca exists in the bound certificate. 30 // Defaults to false. 31 IsHasTrustedRootCA bool `json:"is_has_trusted_root_ca"` 32 // The certificate version 33 Version int `json:"version"` 34 // The Company or organization list to which the certificate belongs. 35 Organizations []string `json:"organization"` 36 // The department list. 37 OrganizationalUnits []string `json:"organizational_unit"` 38 // The city name. 39 Locality []string `json:"locality"` 40 // The state or province. 41 State []string `json:"state"` 42 // The country or region. 43 Country []string `json:"country"` 44 // The effective time 45 NotBefore string `json:"not_before"` 46 // The serial number. 47 SerialNumber string `json:"serial_number"` 48 // Issuer. 49 Issuer []string `json:"issuer"` 50 }