📄Document Methods
Sign hash
POST /api/Document/Sign/{processId} HTTP/1.1
Host:
Accept: */*
Success
No content
Sign hash (JSON request)
POST /api/Document/Sign/{processId}/json HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 38
{
"hashAlgorithm": "text",
"hash": "text"
}
Success
No content
Validate document (PDF report)
Validate document (PDF report)
POST
/api/Document/Validate/Pdf/{processId}
This method verifies the uploaded file in accordance with EIDAS guidelines. Verifies certification path and the signature. Generates a PDF report. The contents of file should be sent as a binary octet stream (https://www.iana.org/assignments/media-types/application/octet-stream)
Path Parameters
processId*
Integer
Request Body
<binary-octet-stream>
<binary-octet-stream>
Example response:
<Base64 report pdf data>
Validate document (XML report)
Validate document (XML report)
POST
/api/Document/Validate/Pdf/{processId}
This method verifies the uploaded file in accordance with EIDAS guidelines. Verifies certification path and the signature. Generates a XML report. The contents of file should be sent as a binary octet stream (https://www.iana.org/assignments/media-types/application/octet-stream)
Path Parameters
processId*
Integer
Request Body
<binary-octet-stream>
<binary-octet-stream>
Example response:
<XMLreport>
Last updated