# Informações do certificado

<mark style="color:blue;">`GET`</mark> `https://cess.endpoint/certificate-service`

#### Path Parameters

| Name   | Type   | Description |
| ------ | ------ | ----------- |
| format | string | pem         |

#### Headers

| Name                                            | Type   | Description                              |
| ----------------------------------------------- | ------ | ---------------------------------------- |
| Authorization<mark style="color:red;">\*</mark> | string | Bearer \<token recebido na autenticação> |

{% tabs %}
{% tab title="200 " %}

```
{
    "alias": "CERTIFICADO TESTE VAULTID:65415708090",
    "detail": {
        "date": {
            "status": true,
            "code": 1187,
            "message": "Date of certificate is valid"
        },
        "crl": {
            "status": true,
            "code": 1191,
            "message": "CRL is valid"
        },
        "trust": {
            "status": true,
            "code": 1189,
            "chain": "Chain of certificate is trusted"
        }
    },
    "certificate": {
        "version": "v3",
        "dn": "C=BR, O=ICP-Brasil, OU=Autoridade Certificadora Raiz Brasileira v2, OU=AC SOLUTI, OU=AC SOLUTI Multipla, OU=Certificado PF A3, CN=CERTIFICADO TESTE VAULTID:65415708090",
        "cn": "CERTIFICADO TESTE VAULTID:65415708090",
        "basicConstraints": {
            "cA": false
        },
        "validity": {
            "notBefore": "2019-03-25T17:37:07+0000",
            "notAfter": "2024-02-04T19:00:57+0000"
        },
        "keyIdentifier": "ZfVk4ScGlLkqNPchRgprbbCQ4qY=",
        "fingerprint": "862bd2c296707f3627746d21f9c02b1c2d105fa9",
        "keyUsage": [
            "keyEncipherment",
            "nonRepudiation",
            "digitalSignature"
        ],
        "extKeyUsage": [
            "id-kp-clientAuth",
            "id-kp-emailProtection"
        ],
        "serialNumberHex": "350119032553858d",
        "algorithm": "sha256WithRSAEncryption",
        "policy": {
            "oid": "2.16.76.1.2.3.37",
            "dpc": "https://ccd.acsoluti.com.br/docs/dpc-ac-soluti-multipla.pdf",
            "name": "A3",
            "type": "PF"
        },
        "signature": "AHFKUsOHe+yfoUDjQOpnV/f8pl7m7RvicP0DCn+/C7huxB6lCzbphVIxHcGtuEqO3Sby3UgrFIJej9iGXwwbKFESg/zE30NsECfK34YthwcR5lLym1N9YVvB0B1tuDifoO0qQs7Pgr1py59G4YE/37I7QoSnsKyvvKGxendT+sisQ2JHnPTU3iqHGZUbiqqLkT1ticg9yVoea73ZJrr01B5yCLa6qLQqajCPik5/19ZCDzsn3dGUUFJNNLoFJAFBZ9DCU03rZuhaePHWB4PCU6wgr57Kiv03mIW+BqoUfG3Ipjk07ZCdiMJZthQ8kC4Y6LArbiKuRzU0XCJaLAkNweRe1Zrag8d0bjAZyczfTEFyjjPDtjLx5IN9Q6QFc9ZJZR3tCzJiUBogCHkI0viz+m6Dhmv7QdBVykfenUf397bwMd1V+GPxFm2aNxxS5334uea/rqIQgBPqHnczAhxKr1fK67y7kFzTjgdrZF+yQB8/vxGSq2w8b1evE7ElfAevyRfuMPQQyQ8Mk2WOcWCF/MvE+yuLYNw2rzrD/PISqV544/bvVHXXY7kTp1gR278aw4YIjDy+aOYHbnBJIMHP7cqtQuuYTaO5vBym1l0uVi52xtCnCiPM0EsQutnXDsjynEhfhiSyABZUbh4+H1O7vc3QTCJG9HXw8ENo+Tb9GjAp",
        "publicKey": {
            "algorithm": "rsaEncryption",
            "bits": 2048,
            "pem": "-----BEGIN PUBLIC KEY-----\r\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAzvHqcctVCG2kQ31nmu5l\r\neC5w4+HLW78dUMiX/g20nmX6PFUXDT6Vik5Jh0BQLeOqEKfGMtqXTaAlLwRUJjQg\r\nv3zqHsLYfK3Isa+P9QOr8x5vVc/ZCxaxaBYoW1C6ROZ9KsR+WXrLCQeDBS9osP+d\r\nvgVP30k2R1BR6Z6awOmp2f8LqhsQpvhwuvVsa4AE2io7JHvAEovRPajj22XWN0+c\r\nPzN9GsrN8i6SPvM7ZBk70MuNx2hpoEUKo91emX7n/+KmNHnelPUPywLmRzTNkcq5\r\nEn1CdHjLY2YF0WawikzaBMnqkfg1xDg9CufPil4IBu4+iOcdHtg9RzIXvTwjadAF\r\nDQIDAQAB\r\n-----END PUBLIC KEY-----"
        },
        "issuer": {
            "crl": [
                "http://ccd2.acsoluti.com.br/testes/ac-soluti-multipla-teste-v2.crl"
            ],
            "dn": "C=BR, O=ICP-Brasil, OU=AC RAIZ teste v2, OU=AC SOLUTI teste v2, CN=AC SOLUTI Multipla teste v2",
            "cn": "AC SOLUTI Multipla teste v2",
            "aia": "http://ccd2.acsoluti.com.br/testes/ac-soluti-multipla-teste-v2.p7b",
            "keyIdentifier": "O1YgGOwCLQaltG0siHreNXk9SHI=",
            "fingerprint": "200886b0587646b3706363ef74b31de426bad1c7"
        },
        "subject": {
            "email": "email@soluti.com.br",
            "dataNascimento": "1990-05-20",
            "cpf": "00000000000",
            "nis": "00000000000",
            "rg": {
                "numero": "000000000000000",
                "emissor": ""
            },
            "cei": "000000000000",
            "tituloEleitor": {
                "numero": "000000000000",
                "zona": "000",
                "secao": "0000",
                "municipio": ""
            }
        }
    }
}
```

{% endtab %}
{% endtabs %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.vaultid.com.br/workspace/cess/api/informacoes-do-certificado.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
