[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 : i-OTM/SubscriberInquiryForPrePaid command line is: --sign --trusted-pem Base64Certif.cer --hmackey hmac.key --id-attr:Id Action template2.xml but

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 projec

[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 versi

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: Mar

[xmlsec] path to libxmlsec

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

[xmlsec] the ws security templates

2007-01-16 Thread Alexandre Kalendarev
de 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 Kalenda

[xmlsec] Re: How to add instead of in dynamically signed xml and also name space to the signaturetag and its child elements

2006-12-22 Thread Alexandre Kalendarev
urce * distribution for preciese wording. * * Copyright (C) 2002-2003 Aleksey Sanin <[EMAIL PROTECTED]> * (C) 2006 Alexandre Kalendarev <[EMAIL PROTECTED]> */ xmlNsPtr xmlSecSetNs(xmlNodePtr encNode, xmlChar *nsPrefix, const xmlChar* nsUrl ){ xmlNsPtr

[xmlsec] error in Reference URI

2006-09-03 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: func=xmlSecXPathDataExecute:file=xpath.c:line=273:obj=unkn

[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/list

[xmlsec] WS or SOAP secure

2006-06-09 Thread Alexandre Kalendarev
Hi Aleksey, Do You have plan to realize the security SOAP specification http://www.w3.org/TR/SOAP-dsig/ or WS Security specification http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0.pdf Alexandre PS. the slide of "Using XML Security" on the Moscow Conference Y

[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? Alex

[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 = xmlS

[xmlsec] using xmlSecKeyReadMemory ()

2006-04-21 Thread Alexandre Kalendarev
xmlSecByte) key_string , 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
have 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 ___ x

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 Hello, World! http://www.w3.org/2000/09/xmldsig#";> http://www.w3.org/2001/10/xml-

Re[2]: [xmlsec] Help by References

2006-04-12 Thread Alexandre Kalendarev
ile=..\src\io.c:line=423:obj=input-uri:subj=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" &

Re: [xmlsec] Help by References

2006-04-12 Thread Alexandre Kalendarev
Hi JЭrgen, I think, that You have double of dsig:Reference tag or close first . so, in the W3C specification http://www.google.com/index.html> ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec

[xmlsec] Encrypting XML file with a session key

2006-04-11 Thread Alexandre Kalendarev
=1:xmlsec library function failed: When the errors: in the template or parameters for xmlsec app? Thanks. Alexandre Kalendarev ___ xmlsec mailing list xmlsec@aleksey.com http://www.aleksey.com/mailman/listinfo/xmlsec