2017 © Pedro Peláez
 

library xml-signer

XML Signer allows you to sign XML documents

image

martinusso/xml-signer

XML Signer allows you to sign XML documents

  • Friday, October 20, 2017
  • by martinusso
  • Repository
  • 1 Watchers
  • 0 Stars
  • 17 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 55 % Grown

The README.md

xml-signer

Build Status Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Latest Unstable Version composer.lock License, (*1)

XML Signer allows you to sign XML documents using X.509 digital certificates., (*2)

Installation

You can install the xml-signer in 2 different ways:, (*3)

Install it via Composer, (*4)

$ composer require martinusso/xml-signer, (*5)

Or, clone the Git repository (https://github.com/martinusso/xml-signer)., (*6)

How to use it

Instantiating a certificate object with PFX file

$password = '.pfx password here!';
$pfx = file_get_contents('path/to/certificate.pfx');
$certificate = Certificate::readPfx($pfx, $password);

signing a xml

$signer = new Signer($certificate);
$xmlSigned = $signer->xml($XmlContent, $tagName);

Contribute

Please refer to CONTRIBUTING.md for information on how to contribute to XmlSigner, (*7)

License

This library is released under the MIT license., (*8)

The Versions

20/10 2017

dev-master

9999999-dev https://github.com/martinusso/xml-signer

XML Signer allows you to sign XML documents

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0
  • ext-dom *
  • ext-openssl *

 

The Development Requires

xml certificate signer

17/10 2017

1.0.0

1.0.0.0 https://github.com/martinusso/xml-signer

XML Signer allows you to sign XML documents

  Sources   Download

MIT

The Requires

  • php ^5.6 || ^7.0
  • ext-dom *
  • ext-openssl *

 

The Development Requires

xml certificate signer