This application is a web client written in DotNetCore 7. It is a microservice for connection to EuroCert Signature Cloud.
Configuration is available through the application.json file.
"EuroCert": {
"CertificateFilePath": "C:/certificate.crt",
"Address": "https://ecqss.eurocert.pl/api/rsa/sign"
},
TaskId and ApiKey should be provided in the request message.
There is only one route action [POST]http://localhost:5097/EuroCertSigner and it accepts Form input:
{
"EuroCertApiKey":"****",
"EuroCertTaskId":"*",
"SignatureFieldName":"test_signature",
"Appearance":{
"PageNumber":1,
"X":53.25,
"Y":104.0,
"Width":125.0,
"Height":25.0,
"Reason":"",
"Location":""
}
}
The response is the signed file stream. If EuroCert returns with error, InternalServerError is returned by this service.
This software uses IText Core Library, and therefore the whole repository is available as open source under the same, AGPLv3 license.