Re: retrievalMethod in encrypting

Yes. Check the example from the XML Encryption spec:

    http://www.w3.org/TR/xmlenc-core/#sec-eg-EncryptedKey

Aleksey

m m wrote on 3/15/2004, 9:43 AM:
> 
> hi, 
> i want to ask about the scenario in using 
> retrievalMethod element. 
> suppose i have encrypt a DES key with someone's public 
> key and store it as independent EncryptedKey in a XML 
> document, then without knowing the private key, can i 
> RE-USE those encrypted DES key to encrypt other 
> element data ? (so, the encryptedData's KeyInfo will 
> contain RetrievalMethod refer to encryptedKey) 
> thanks. 
> 
> __________________________________ 
> Do you Yahoo!? 
> Yahoo! Mail - More reliable, more storage, less spam 
> http://mail.yahoo.com 

Received on Monday, 15 March 2004 12:57:28 UTC