[xmlsec] Usage of xmlsec

Kabher Khan kabherkhan@yahoo.com
Thu, 12 Dec 2002 05:31:17 -0800 (PST)


--0-1379580087-1039699877=:77149
Content-Type: text/plain; charset=us-ascii


Hai !

  Alesky

I have some problems in usimg xmlsec tool for signing and encryption.

i am trying to sign a XML file using pem and PKCS12 files and pemfiles that includes certficate and pe\rivate key.

   xmlsec sign  --pkcs12[:Test] MyPKCS.pkcs12 SignME.xml
   xmlsec sign  --pkcs12[:Test] MyPKCS.pkcs12 SignME.xml > SinmeOut.xml

it is asking for password and after password verification it says 

failed to find signature node.

 

   xmlsec sign --privkey Key.pem SignME.xml it is also giving me the same error.

 

Can u provide some examples to how to use xmlsec for signing,verification,encryption,Decryption.

   One more big question i have is interoperatabilty of this lib with other lib's like MSoft,IBM,and Other Libs.

 

Thanks

Regards

Kabheerkhan

 

 

 

 

     



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now
--0-1379580087-1039699877=:77149
Content-Type: text/html; charset=us-ascii

<P>Hai !</P>
<P>&nbsp; Alesky</P>
<P>I have some problems in usimg xmlsec tool for signing and encryption.</P>
<P>i am trying to sign a XML file using pem and PKCS12 files and pemfiles that includes certficate and pe\rivate key.</P>
<UL>
<LI><B>xmlsec</B> sign&nbsp; --pkcs12[:Test] MyPKCS.pkcs12 SignME.xml</LI>
<LI><B>xmlsec</B> sign&nbsp; --pkcs12[:Test] MyPKCS.pkcs12 SignME.xml &gt; SinmeOut.xml</LI></UL>
<P>it is asking for password and after password verification it says </P>
<P>failed to find signature node.</P>
<P>&nbsp;</P>
<UL>
<LI><B>xmlsec</B> sign --privkey Key.pem SignME.xml it is also giving me the same error.</LI></UL>
<P>&nbsp;</P>
<P>Can u provide some examples to how to use xmlsec for signing,verification,encryption,Decryption.</P>
<UL>
<LI><STRONG>One more big question i have is interoperatabilty of this lib with other lib's like MSoft,IBM,and Other Libs.</STRONG></LI></UL>
<P>&nbsp;</P>
<P><STRONG>Thanks</STRONG></P>
<P><STRONG>Regards</STRONG></P>
<P><STRONG>Kabheerkhan</STRONG></P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;</P>
<P>&nbsp;&nbsp;&nbsp;&nbsp; </P><p><br><hr size=1>Do you Yahoo!?<br>
<a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Yahoo! Mail Plus</a> - Powerful. Affordable. <a href="http://rd.yahoo.com/mail/mailsig/*http://mailplus.yahoo.com">Sign up now</a>
--0-1379580087-1039699877=:77149--