This a service to download signed documents from Signere.no.
The service installs as a Windows Service and subscribes to document events.
- Download signed document files (SDOs and PAdES PDFs) with documentid or externalid (your id) as the filename.
- Download document metadata, such as the signers' name(s), sign time, social security number etc. The metadata can be downloaded as a json or XML file with the same file name as the SDO and the PAdES PDF files and appropriate extensions (either .xml or .json).
- Download structured form data (ie. inputs from form fields), either as json or XML files.
- A Signere.no account (contact salg@signere.no to get this)
- A Signere.no API ID and associated API keys (contact salg@signere.no to get this)
- A Signere.no event queue connection string (contact support@signere.no to get this)
- API-ID (Should be your Signere account ID)
- API-KEY (Should be your Signere secondary API key)
- EventQueueConnectionString (you'll get this from Signere.no support)
- DownloadPath (Path on the local machine to download and save the files to)
- FilenameFormat (SignereDocumentId, ExternalID (your id)) The format of the file that is downloaded.
- MetaDataFormat (either "xml", "json" or "none") The metadata for the signature/formdata (name, signtime, formdata)
- FilesToDownload (either "sdo", "pades" or "all") The signed document file.
Download or pull down the repo and compile the project for yourself.
Setup the .config file with the settings and then run the install.bat file, this will install the Signere downloader as a Windows service and start the service.
Run the uninstall.bat file, this will stop and uninstall the Windows service, but not delete any files.
The service uses Serilog for logging, and the default settings are log to file and console. For more settings see the Serilog wiki