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
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
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
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:
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
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
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:
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
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?
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 =
, key_len);
When I have errors?
Thanks.
Alexandre Kalendarev
___
xmlsec mailing list
xmlsec@aleksey.com
http://www.aleksey.com/mailman/listinfo/xmlsec
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
=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
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#;
15 matches
Mail list logo