Re: XML Signature verification in PHP
| From: | Christian Stocker | Date: | Thu, 04 Nov 2004 07:26:27 +0000 |
| Subject: | Re: XML Signature verification in PHP | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-201130@lists.php.net to get a copy of this message | ||
On Wed, 3 Nov 2004 22:51:53 -0800 (PST), Rajesh Batchu
<rajmessages@yahoo.com> wrote:
> HI All,
>
> I am getting a xml document from my customer which is signed with XML Signature.
>
> Customer is Signing the document with xmlsec library ( parser is libxml2).
>
> I have to verify the signature on my side and do the rest of the processing.
>
> I saw sevaral examples on the http://www.aleksey.com/xmlsec
> site for signing
> and verification. But the problem is all of those examples are in C language.
>
> Is there any way, I can do this verification in PHP ?
> I could not find any API or Sample code in PHP.
There's no extension or interface for xmlsec, AFAIK, for PHP. Maybe
you do it with commandline tools
Or even better, write an extension based on the xmlsec library,
shouldn't be an impossible task, since that is also based on libxml2
chregu
> Regards,
> Rajesh B.
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
--
christian stocker | Bitflux GmbH | schoeneggstrasse 5 | ch-8004 zurich
phone +41 1 240 56 70 | mobile +41 76 561 88 60 | fax +41 1 240 56 71
http://www.bitflux.ch | chregu@bitflux.ch | gnupg-keyid
0x5CE1DECB