X509Certificate

X509Certificate
X509Certificate

The certificate in X509 format.

JSON Example
{
    "serial_number": "string",
    "not_after": 0,
    "not_before": 0,
    "signature": "string",
    "version": 3,
    "issuer_dn": "C=US, OU=DR Division, O=\"VMware, Inc.\", CN=\"VMware, Inc.\"",
    "subject_dn": "C=US, OU=DR Division, O=\"VMware, Inc.\", CN=\"VMware, Inc.\"",
    "sig_alg_name": "SHA256withRSA",
    "sig_alg_oid": "1.2.840.10040.4.3",
    "public_key": "string",
    "public_key_format": "X.509",
    "public_key_algorithm": "RSA",
    "thumbprint": "string",
    "certificate": "string",
    "issuer_unique_id": [
        {}
    ],
    "subject_unique_id": [
        {}
    ],
    "key_usage": [
        {}
    ],
    "issuer_alternative_names": [
        {}
    ],
    "subject_alternative_names": [
        {}
    ],
    "extended_key_usage": [
        {}
    ]
}
string
serial_number
Optional

The serial number of the certificate, represented as string. The serial number is a number assigned by the certification authority to each certificate. It must be unique for each certificate issued by a given CA (i.e., the issuer name and serial number identify a unique certificate).

integer As int64 As int64
not_after
Optional

The end date from the validity period of the certificate, as milliseconds.

integer As int64 As int64
not_before
Optional

The start date from the validity period of the certificate, as milliseconds.

string
signature
Optional

The signature value as Base64 encoded string (with ISO-8859-1 charset) from the certificate.

integer As int32 As int32
version
Optional

The version number of the certificate.

string
issuer_dn
Optional

The issuer distinguished name of the certificate.

string
subject_dn
Optional

The subject distinguished name of the certificate.

string
sig_alg_name
Optional

The name of the signature algorithm for the certificate.

string
sig_alg_oid
Optional

The signature algorithm OID string from the certificate. An OID is represented by a set of non-negative whole numbers separated by periods.

string
public_key
Optional

The public key of the certificate.

string
public_key_format
Optional

The public key format of the certificate.

string
public_key_algorithm
Optional

The public key algorithm of the certificate.

string
thumbprint
Optional

The thumbprint of the certificate.

string
certificate
Optional

The certificate in PEM format.

array of boolean
issuer_unique_id
Optional

The ID of the certificate issuer.

array of boolean
subject_unique_id
Optional

The subject unique ID.

array of boolean
key_usage
Optional

Boolean array representing bits of the KeyUsage extension, (OID = 2.5.29.15). The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate. The ASN.1 definition for this is:

KeyUsage ::= BIT STRING {
     digitalSignature        (0),
     nonRepudiation          (1),
     keyEncipherment         (2),
     dataEncipherment        (3),
     keyAgreement            (4),
     keyCertSign             (5),
     cRLSign                 (6),
     encipherOnly            (7),
     decipherOnly            (8) }
array of string
issuer_alternative_names
Optional

The issuer alternative names.

array of string
subject_alternative_names
Optional

The subject alternative names.

array of string
extended_key_usage
Optional

Indicates one or more purposes for which the certified public key may be used, in addition to or in place of the basic purposes indicated in the key usage extension field.