GET
/
certificates
/
{type}
/
{id}
/
signature
curl --request GET \
  --url https://lab.trustos.telefonicatech.com/cert/v2/certificates/{type}/{id}/signature \
  --header 'Authorization: Bearer <token>'
"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?> <root> <badge> <name>Certificate</name> <description>Certificate description</description> <content> <key>val1213ue</key> </content> </badge> <issuedOn>1695286575991</issuedOn> <datetime>21-09-2023 10:56:15 GMT+02:00</datetime> <expires/> <ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\" Id=\"id-71309bda9649683e3717a459fd783ca2\"> </ds:Signature> </root>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

type
enum<string>
required

Type of the certificate identifier.

Available options:
certID,
externalId,
fileHash,
hash
id
string
required

Identifier of the certificate.

Example:

1

Query Parameters

pin
string

PIN of the certificate (if the certificate is private).

Example:

"1234"

Response

200
application/xml

Successful certificate signature retrieval.

XML file with the qualified certificate signature.

Example:

"<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?> <root> <badge> <name>Certificate</name> <description>Certificate description</description> <content> <key>val1213ue</key> </content> </badge> <issuedOn>1695286575991</issuedOn> <datetime>21-09-2023 10:56:15 GMT+02:00</datetime> <expires/> <ds:Signature xmlns:ds=\"http://www.w3.org/2000/09/xmldsig#\" Id=\"id-71309bda9649683e3717a459fd783ca2\"> </ds:Signature> </root>"