---
title: TLSCertificate type | Wartiva GraphQL API
description: Information describing an SSL (Secure Sockets Layer) certificate. Wartiva GraphQL API reference with arguments, fields, and examples.
url: https://wartiva.com/api-docs/types/tls-certificate.html
updated: 2026-10-07
---

Networks, devices, and sensors · GraphQL type

# `TLSCertificate` type

Information describing an SSL (Secure Sockets Layer) certificate.

## Fields

| Field Name | Description |
|---|---|
| `raw` - [`Binary!`](https://wartiva.com/api-docs/types/binary.html) | Complete ASN.1 DER content (certificate, signature algorithm and signature). |
| `subjectString` - [`String`](https://wartiva.com/api-docs/types/string.html) | Certificate subject value as a string e.g.: CN=[www.alarm.com,OU=Alarm.com,O=Alarm.com,L=America,ST=America,C=US](http://www.alarm.com,OU=Alarm.com,O=Alarm.com,L=America,ST=America,C=US). |
| `subject` - [`X509Name!`](https://wartiva.com/api-docs/types/x509-name.html) | The certificate subject. |
| `issuerString` - [`String`](https://wartiva.com/api-docs/types/string.html) | Certificate issuer value as a string e.g.: CN=[www.alarm.com,OU=Alarm.com,O=Alarm.com,L=America,ST=America,C=US](http://www.alarm.com,OU=Alarm.com,O=Alarm.com,L=America,ST=America,C=US). |
| `issuer` - [`X509Name!`](https://wartiva.com/api-docs/types/x509-name.html) | The certificate issuer. |
| `notBefore` - [`Time!`](https://wartiva.com/api-docs/types/time.html) | The date and time on which the certificate becomes valid. |
| `notAfter` - [`Time!`](https://wartiva.com/api-docs/types/time.html) | The date and time after which the certificate becomes invalid. |
| `signatureAlgorithm` - [`SSLSignatureAlgorithm!`](https://wartiva.com/api-docs/types/ssl-signature-algorithm.html) | Public key signing algorithm used by the certificate. |
| `publicKeyAlgorithm` - [`SSLPublicKeyAlgorithm!`](https://wartiva.com/api-docs/types/ssl-public-key-algorithm.html) | Public key algorithm used by the certificate. |

## Used by

- [`TLS`](https://wartiva.com/api-docs/types/tls.html) type: Reports on SSL (Secure Sockets Layer) and TLS (Transport Layer Security).

## Example

### Example

```json
{
  "raw": Binary,
  "subjectString": "abc123",
  "subject": X509Name,
  "issuerString": "abc123",
  "issuer": X509Name,
  "notBefore": "2021-10-07T18:23:25.829Z",
  "notAfter": "2021-10-07T18:23:25.829Z",
  "signatureAlgorithm": "MD2_RSA",
  "publicKeyAlgorithm": "UNKNOWN"
}

```

---

Wartiva is in early access. Request access: https://wartiva.com/early-access.html  
All pages: https://wartiva.com/llms.txt
