Skip to content

MwSpaceLLC/namirial-php

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

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

About

A PHP package for work with namirial sws

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages