[xmlsec] Signing with X509 certificate using mscrypto provider

Aleksey Sanin aleksey at aleksey.com
Wed Apr 21 08:31:33 PDT 2010

Yes, I see it now - I should have asked for a repro material
long time ago :)

Let me take a look tonight.


On 4/21/2010 7:56 AM, Jirka Kosek wrote:
> Aleksey Sanin wrote:
>> Bingo! "CN=Jiří Novák" is *not* UTF8 encoding. This is
>> why you got these errors from LibXML2 parser. You need
>> to either manually convert the string to UTF8 (e.g. using
>> iconv) or simply specify the native code page (wild guess,
>> it is 1250 or 1252).
> I'm confused. Are you talking about XML file with signature template?
> What else should I do then just safe file in UTF-8 and provide correct
> encoding declaration at the top of the file?
> I have attached real document I have used for testing, so you can see
> that it is properly encoded in UTF-8. I'm also attaching exported key,
> password is "test".
> Thanks,
> 				Jirka
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list