Networks, devices, and sensors · GraphQL type

X509Name type

Name represents an X.509 distinguished name. This only includes the common elements of a DN. Note that Name is only an approximation of the X.509 structure.

Fields

Field Name Description
country - [String!] Country names, represented as two-letter country codes (e.g., 'US', 'GB')
organization - [String!] Organization names (e.g., company names)
organizationalUnit - [String!] Organizational unit names within the organization (e.g., department names)
locality - [String!] City or locality names
province - [String!] State or province names
streetAddress - [String!] Street addresses of the organization
postalCode - [String!] Postal codes or ZIP codes
serialNumber - String Certificate serial number as a string
commonName - String Common name (CN) of the certificate subject (e.g., domain name for SSL certificates)

Used by

  • TLSCertificate type: Information describing an SSL (Secure Sockets Layer) certificate.

Example

Example

{
  "country": ["abc123"],
  "organization": ["xyz789"],
  "organizationalUnit": ["xyz789"],
  "locality": ["xyz789"],
  "province": ["xyz789"],
  "streetAddress": ["xyz789"],
  "postalCode": ["xyz789"],
  "serialNumber": "xyz789",
  "commonName": "abc123"
}