API Documentation
docs.signius.eu
SEAL
SEAL
  • ๐ŸฆญSIGNIUS SEAL API Documentation
  • Server Methods
    • ๐ŸŽ’Batch Methods
    • ๐Ÿ“„Document Methods
    • ๐Ÿ“ˆProcess Methods
    • ๐Ÿ”ขStats Method
    • ๐Ÿฅ”TSA Methods
  • Client Methods
    • ๐Ÿ“ฒDocument Methods
Powered by GitBook
On this page
  1. Server Methods

Document Methods

PreviousBatch MethodsNextProcess Methods

Last updated 8 months ago

Sign hash

Sign hash (JSON request)

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

Name
Type
Description

processId*

Integer

Request Body

Name
Type
Description

<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

Name
Type
Description

processId*

Integer

Request Body

Name
Type
Description

<binary-octet-stream>

<binary-octet-stream>

Example response:

<XMLreport>

๐Ÿ“„
post
Path parameters
processIdinteger ยท int32Required
Query parameters
HashAlgorithmstringOptional
HashstringOptional
Header parameters
API-KEYstringOptional
Responses
200
Success
post
POST /api/Document/Sign/{processId} HTTP/1.1
Host: 
Accept: */*
200

Success

No content

  • Sign hash
  • POST/api/Document/Sign/{processId}
  • Sign hash (JSON request)
  • POST/api/Document/Sign/{processId}/json
  • Validate document (PDF report)
  • Validate document (PDF report)
  • Validate document (XML report)
  • Validate document (XML report)
post
Path parameters
processIdinteger ยท int32Required
Header parameters
API-KEYstringOptional
Body
hashAlgorithmstring | nullableOptional
hashstring | nullableOptional
Responses
200
Success
post
POST /api/Document/Sign/{processId}/json HTTP/1.1
Host: 
Content-Type: application/json
Accept: */*
Content-Length: 38

{
  "hashAlgorithm": "text",
  "hash": "text"
}
200

Success

No content