PHP sample application for signing on web applications with the ID-card and Mobiil-ID
This library enables using DigiDocService from PHP applications without sending datafile contents to the Service. DDOC/BDOC container is transformed to hashcode format before sending it to the service. Read more about DigiDocService hashcode format in DigiDocService specification chapter Hashcode
The new library is downloadable here (ver 1.1.3)
Sample application you can see here
The download package includes documentation and sample application of the PHP hashcode library. It is created to demonstrate the ability of DigiDocService to add signature (with ID-card and Mobiil-ID), remove signature, add datafile, remove datafile and do verification of a document without actual datafiles. For configuring details, please read example /_README.txt file in the download package.
|1.1.0||27.03.2015||hwcrypto.js component is used instead of old idCard.js. Now signing with smart card works also Chrome 42 and newer versions.|
|0.9.1||07.11.2014||First public beta release|
The online signing hwcrypto.js componenthas been used in the sample application.
More information regarding the sample application can be found at TEST-DigiDocService usage instructions.
In order to test the sample application, the signature certificate of a real ID-card, digi-ID or a test ID-card should be registered in the TEST service database. To do this the certificate should first be saved from the ID-card (digi-ID) to your computer with the help of the ID-card Utility and then uploaded to the testing environment in the .pem format.
Also possible to use with live Mobile-ID. In order to do so you need to upload your mobile-ID certificates to TEST service database.