You can use an asymmetric key (e.g, a public key) for encrypting a symmetric key (which in turn could be used for encrypting data). Please refer the encryptKey method in the XMLCipher class.

Vishal

David Han wrote:

Hi

Does xml-security-1_2_0 API support asymmetric key
encryption? If yes, where I can find a sample? If not,
any xml security API recommendation besides xss4j?

Any comment is highly appreciated.

Best Regards
David Han





__________________________________ Do you Yahoo!? Yahoo! Mail - You care about security. So do we. http://promotions.yahoo.com/new_mail





Reply via email to