santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Baxi, Rinilkumar (TCS)" <>
Subject Facing problem in using templatesign XML C++ Security library
Date Mon, 29 Oct 2007 11:53:12 GMT
Hi All
We are a part of a project which deals with webservers and webservices. Presently, we are
into the deployment of digital signature support in SOAP. For this, we require a valid XML
request to proceed with the next level. We are facing some problem while signing an XML document
(as shown below) using the sample 'templatesign'. The command that we are executing is:
-> templatesign -r key.pem (password) file.xml
The XML file is as follows:
<?xml version="1.0" encoding="UTF-8" ?> 
 <Signature xmlns=" <>
  <CanonicalizationMethod Algorithm=""/
<"/> >
  <SignatureMethod Algorithm=""/ <"/>
 <Reference URI=" <>
  <DigestMethod Algorithm=""/ <"/>
  </SignedInfo>  <SignatureValue>juS5RhJ884qoFR8flVXd/rbrSDVGn40CapgB7qeQiT+rr0NekEQ6BHhUA8dT3+BCTBUQI0dBjlml9lwzENXvS83zRECjzXbMRTUtVZiPZG2pqKPnL2YU3A9645UCjTXU+jgFumv7k78hieAGDzNci+PQ9KRmm//icT7JaYztgt4=</SignatureValue>
 <RSAKeyValue>  <Modulus>uCiukpgOaOmrq1fPUTH3CAXxuFmPjsmS4jnTKxrv0w1JKcXtJ2M3akaV1d/karvJlmeao20jNy9r+/vKwibjM77F+3bIkeMEGmAIUnFciJkR+ihO7b4cTuYnEi8xHtu4iMn6GODBoEzqFQYdd8p4vrZBsvs44nTrS8qyyhba648=</Modulus>
We are getting the following error: 
An error occured during signing operation
   Message: Error allocating memory
Please verify the XML Document and let us know if the XML document is a valid input to 'templatesign'
or if we are making any mistake with commands. Kindly let us know of any resources explaining
execution of templatesign in detail. Also, if possible, please let us know of any valid XML
file on which templatesign is working. 
Thanks in-advance
Best Regards,
Rinilkumar Baxi

View raw message