Posted on 2009-11-02 06:41:15-08 by doleman
XML-Encryption using SOAP::Lite
Hello, anonye got an idea how the soap:body element can be encrypted? I want to implement a WS-Securtiy server which first signs the message, then puts a timestamp in, then encrypts the body. The first two things work, only encryption is missing. How can i change this request:
<soap:body> <PurchaseOrder> <Number>...</Number> <Date>...</Date> <Details>...</Details> </PurchaseOrder> </soap:body>
in something like:
<EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#' MimeType='text/xml'> <CipherData> <CipherValue>MC0C...</CipherValue> </CipherData> </EncryptedData>
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.