[xmlsec] CipherReference

Aleksey Sanin aleksey at aleksey.com
Mon Jul 2 13:31:45 PDT 2007

Oh, I see... Sorry, I don't think XMLEnc spec supports this. I believe
CipherReference lets you to get the encrypted data and put them in place
of the EncryptedData. And I believe you ask about "other way around".


Ed Shallow wrote:
> Hi Aleksey,
> I had a look at the test sub-directory. I guess I don't understand the use
> of CipherReference then ...
> What I need to do is select for encryption, "all" nodes with a particular
> name. For example <Salary>1,000,000</Salary> and replaced them "each" with
> their own <EncryptedData> element.
> Is this done with an Xpath expression and CipherReference ?
> Can I use a document and a template for this ?
> Thanks,
> Ed  
> -----Original Message-----
> From: xmlsec-bounces at aleksey.com [mailto:xmlsec-bounces at aleksey.com] On
> Behalf Of Aleksey Sanin
> Sent: Sunday, July 01, 2007 8:44 PM
> To: ed.shallow at pwgsc.gc.ca
> Cc: xmlsec at aleksey.com
> Subject: Re: [xmlsec] CipherReference
>>    Do you have an example of CipherReference usage with xmlsec ?
> Yes :) Search for CipherReference in the xmlsec folder. For example,
> tests\merlin-xmlenc-five\encrypt-element-aes192-cbc-ref uses it.
> Aleksey
> _______________________________________________
> xmlsec mailing list
> xmlsec at aleksey.com
> http://www.aleksey.com/mailman/listinfo/xmlsec

More information about the xmlsec mailing list