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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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-
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" &
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
=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
19 matches
Mail list logo