感知/catcert

此包的最新版本(dev-master)没有可用的许可信息。

提供了一种面向对象的解决方案,使用PSIS对CatCert下的文档进行认证。

dev-master 2012-05-17 13:55 UTC

This package is not auto-updated.

Last update: 2024-09-22 03:07:17 UTC


README

此库允许PHP开发者通过面向对象解决方案对CatCert平台上的文档进行认证。

使用示例

获取文档的哈希值

:::php <?php

$catcert = new CatCert(); $hash = $catcert->doHash($documentUsuallyInXml);

封印文档

:::php <?php

$catcert = new CatCert(); $result = $catcert->doSeal($documentUsuallyInXml);