That helps! Big Thank! David
--- Berin Lautenbach <[EMAIL PROTECTED]> wrote: > David, > > http://cvs.apache.org/viewcvs.cgi/xml-security/src_unitTests/org/apache/xml/security/test/encryption/ > > Might help out - particularl XMLCipherTester.java > > Cheers, > Berin > > David Han wrote: > > Vishal > > > > Thanks for your tip. I am still reading through > the > > API to find out how to load PKI keys from key > store > > using store pass and key pass, how to add > encrypted > > symmetirc key by asymmetic key to the doc ..., Do > you > > any sample around? > > > > Thanks in Advance > > David Han > > > > > > --- Vishal Mahajan <[EMAIL PROTECTED]> wrote: > > > > > >>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 > >>> > >>> > >> > >> > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Mail - Helps protect you from nasty > viruses. > > http://promotions.yahoo.com/new_mail > > > __________________________________ Do you Yahoo!? The all-new My Yahoo! - Get yours free! http://my.yahoo.com