[xmlsec] signing namespace tag

2008-11-26 Thread Alexandre Kalendarev
Hello Aleksey, I have some problem with signing by xmlsec1. I sign line 4 from attached xml. If I have tag without namespace, the signing is OK : Action Id=actioni-OTM/SubscriberInquiryForPrePaid/Action command line is: --sign --trusted-pem Base64Certif.cer --hmackey hmac.key --id-attr:Id

Re: [xmlsec] WS-Security question

2008-06-04 Thread Alexandre Kalendarev
Hi Frank, I have some written at c-functions at create WS-Security envelope and validating a document. If Alexey will count necessary to include them in the library I can to add the function in the repository. I had idea create separate ws-security lib (libwsec) over libxmlsec, but my

[xmlsec] Re: XMLSec with PHP

2007-09-11 Thread Alexandre Kalendarev
Hi David, I regret, that the link http://edocs.phpclub.net/xmlsec/ is Russian only. But You can to load the source of extention (http://edocs.phpclub.net/xmlsec/xmlsec.zip). The source is the candidat to PECL. At the near future I will to reconstruction my site and You can to see English

Re: Re: [xmlsec] generate Signature subtree with dsig prefix

2007-04-06 Thread Alexandre Kalendarev
I develope the new functions for support namespasing. This functions are testing and I hope that of the end of at month I finish it. Alexandre ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

Re: [xmlsec] the ws security templates

2007-03-14 Thread Alexandre Kalendarev
Thanks for attention of my source, I make refactoring the ws-security template code. I hope, then I finish the refactoring at begin April. Mark, if You have proposal and ideas of improving ws-security template code, I will glad find the here. Alexandre -Original Message- From:

[xmlsec] path to libxmlsec

2007-02-11 Thread Alexandre Kalendarev
Hi all, RobAlso if you make sure that your template code is good, you should Robprobably submit the patches to him as well (that code really doesnt Robbelong in the PHP extension but rather within the xmlsec lib itself). I and Rob Richardson make patch for template.c. The new php_xmlsec

[xmlsec] the ws security templates

2007-01-16 Thread Alexandre Kalendarev
as part libxmlsec. Alexandre. /** * Creating signature and encryption templates. * * This is free software; see Copyright file in the source * distribution for preciese wording. * * Copyright (C) 2002-2003 Aleksey Sanin [EMAIL PROTECTED] * (C) 2006 Alexandre Kalendarev [EMAIL

[xmlsec] error in Reference URI

2006-09-04 Thread Alexandre Kalendarev
Hi Aleksey, I have error of signing document. If I use code dsig1 from examples and templates sign1-tmpl.xml result is Ok. But, if I move data tag to end of template and change the URI attribute of the Reference element, I have errors:

[xmlsec] PHP extention of libxmlsec

2006-08-31 Thread Alexandre Kalendarev
API for new version. Please comment by email or forum http://phpclub.ru/talk/showthread.php?s=postid=645069 (You can write by english) thanks Alexandre Kalendarev ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo

[xmlsec] How redirect errors from stderr to memory string.

2006-05-04 Thread Alexandre Kalendarev
Aleksey, For analyze errors of php_xmlsec I must reduce the stderr for cryptolibrary functions and store it to memory. How I can to redirect errors of cryptolibrary from stdout to memory string? How I can to reduce the stderr for cryptolibrary functions and get for analyze into string?

[xmlsec] php_xmlsec Some problems in AES encryption - I find errors ( may be ? )

2006-05-03 Thread Alexandre Kalendarev
Hmm, I find errors in code: switch( keyType ){ case XMLSEC_DES: /* --- in this must be XMLSEC_AES Constant */ pKey = xmlSecKeyReadMemory (xmlSecKeyDataAesId , (xmlSecByte* ) arg , keySize ); break; case XMLSEC_AES: /* --- in this must be XMLSEC_DES Constant */ pKey =

[xmlsec] using xmlSecKeyReadMemory ()

2006-04-21 Thread Alexandre Kalendarev
, key_len); When I have errors? Thanks. Alexandre Kalendarev ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

[xmlsec] php class for libxmlsec

2006-04-18 Thread Alexandre Kalendarev
readme and it will to writing later (and more samples). It class use the xmlsec1 utility for Linux. For Windows I have some contingencies as error analize and output and it class have some limitation. Thanks Alexandre Kalendarev ___ xmlsec

Re[2]: [xmlsec] Help by References

2006-04-12 Thread Alexandre Kalendarev
=opencallback:error=7:io I think, the open uri from local disk (URI=file://h:/xmlsec/src/data.xml ) unsupported. Alexandre Kalendarev -Original Message- From: JЭrgen Heiss [EMAIL PROTECTED] To: Alexandre Kalendarev [EMAIL PROTECTED],xmlsec@aleksey.com Date: Wed, 12 Apr 2006 13:49:49 +0200

Re[3]: [xmlsec] Help by References

2006-04-12 Thread Alexandre Kalendarev
JЭrgen ! I sign correct enveloped template the command: xmlsec sign --output output.xml --privkey-pem rsakey.pem template.xml or xmlsec sign output.xml --privkey-pem rsakey.pem template.xml Envelope Data Hello, World! /Data Signature xmlns=http://www.w3.org/2000/09/xmldsig#;