Repository folder

The repository folder is located in the "esign-home/repository" physical path. This is the folder where documents, signatures, certificate revocation lists (CRLs) and statistics are stored when using the file system based repository.

Repository folder structure

Artifacts

This folder will contain a sub folder for each created document with their names corresponding to the corresponding documents' id. Within each of these folders three files are expected to be produced:

  1. Artifact file - containing the actual pdf.

  2. Data file - containing the data associated to the pdf such as input fields, variables, etc.

  3. Shrinked file - the shrank pdf file

Signatures

If a document is created with the artifact variable "STORE_SIGN" set to true signatures will be temporarily stored in the "esign-home/repository/signatures" path while the document is not submitted. Similarly to how the artifacts folder is organized, for each signature there will be a folder with the name corresponding to {document’s id} - {signature field’s id}. The folder is expected to contain two files:

  1. Artifact file - contains the signature’s corresponding byte data.

  2. Data file - contains all the information associated to a signature, i.e. the provider, the type of signature, the signing method, its associated document and its last modification date.

Statistics

The statistics folder "esign-home/repository/statistics" contains two files, the sign file containing signature related statistics and the tsa file containing the timestamp related statistics.