Skip to content
A PHP package for work with namirial sws
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
composer.json
readme.md

readme.md

Appliance Library

Small PHP library for Namirial SWS services.

PHP Version Status Require
PHP 7.2 In Dev Composer

Install Library:

composer require appliance/namirial-php

Free Use (Verify Only)

Start Appliance Object & Retrive content of CAdES, XAdES & PAdES:

$namirial = new Appliance\Namirial\Service;
$namirial->verify('path/to/file.p7m')->dump()
// or 
$namirial->verify('path/to/file.xml')->dump()

🤑 The class will connect via http protocol to Namirial WSDL & check the file signature.

Commercial Use

Start Appliance Object:

$namirial = new Appliance\Namirial\Service('ip address of sws');

$namirial->setAgent('username', 'password');

💻 The class will connect via http protocol to your Web Service and load the functions from the WSDL

Sign File (CAdES,XAdES,PAdES)

$namirial->sign('path/to/file/ALB1666197.xml'); 

🚀 The appliance will discover the file format automatically by choosing the most appropriate format for you

Verify File (CAdES,XAdES,PAdES)

$namirial->verify('path/to/file/ALB1666197.p7m'); 

🎂 The appliance will verify the signature of the file if it is trusted or not

Save File (CAdES,XAdES,PAdES)

$namirial->save('path/to/file/ALB1666197_signed.xml'); 

👻 The appliance will save the file in a directory by creating it if necessary

You can’t perform that action at this time.