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

End date, represented as number of milliseconds, from the validity period of the certificate.

integer As int64 As int64
not_before
Optional

Start date, represented as number of milliseconds, from the validity period of the certificate.

string
signature
Optional

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

integer As int32 As int32
version
Optional

Version number from the certificate.

string
issuer_dn
Optional

The issuer distinguished name of the certificate.

string
subject_dn
Optional

The sSubject distinguished name of the certificate.

string
sig_alg_name
Optional

Gets the signature algorithm name for the certificate signature algorithm.

string
sig_alg_oid
Optional

Signature algorithm OID string from the certificate. An OID is represented by a set of nonnegative 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

Issuer unique ID.

array of boolean
subject_unique_id
Optional

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.