Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

A simple HTTP server that verifies XML signatures and provides the signing certificate in the response headers.

Notifications You must be signed in to change notification settings

k15g/service-xmldsig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

XML Signature Service

A simple HTTP server that verifies XML signatures and provides the signing certificate in the response headers.

May suit your needs if you want to verify XML signatures in an application written in a programming language that does not have a suitable library for XML signature verification.

Using the service

The server will start and listen for incoming HTTP requests on port 8080.

You can send requests to the server with the target URI specified as query parameters, for example:

curl -i "http://localhost:8080/?uri=http://example.com"

You may also provide a local document for verification:

curl -i -X POST "http://localhost:8080/" --data-binary '@example.xml'

The certificate used for signing is available as "X-Signing-Certificate" in the response headers. When signature validation fails or is not available will the service return a 500 status code.

Environment variables

PORT (default: 8080) : The port on which the server will listen for incoming requests.

About

A simple HTTP server that verifies XML signatures and provides the signing certificate in the response headers.

Topics

Resources

Stars

Watchers

Forks

Packages