Skip to content

huberts/EuroCertClient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

EuroCertClient

This application is a web client written in DotNetCore 7. It is a microservice for connection to EuroCert Signature Cloud.

Configuration

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.

Usage

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.

License

This software uses IText Core Library, and therefore the whole repository is available as open source under the same, AGPLv3 license.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages