Vishal,
I am sending the encrypted file(which is being
generated)as an attachment.
Please let me know as soon as possible.
Thanks in advance.
--- Vishal Mahajan <[EMAIL PROTECTED]> wrote:
> Can you send the encrypted document you're trying to
> decrypt.
>
> Vishal
>
> anshuk pal chaudhuri wrote:
>
> >I am having a problem in XML decryption.
> >My XML Encryption(element's content) is running
> >absolutely fine.
> >While Decrypting I am getting an error
> >
> >" XMLCipher::decryptElement called without a key
> and
> >unable to resolve
>
>org.apache.xml.security.encryption.XMLEncryptionException:
> >No Key Encryption Key
> >loaded and cannot determine using key resolvers"
> >
> >How do i Get the key value with which will i
> decrypt
> >from the KeyInfo Element which is in the encrypted
> >document????????
> >Please help me out.
> >Thanks a lot in advance.
> >
> >
>
>
>
__________________________________
Do you Yahoo!?
Yahoo! Personals - Better first dates. More second dates.
http://personals.yahoo.com
<RootElement>
<text1><xenc:EncryptedData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Type="http://www.w3.org/2001/04/xmlenc#Content"><xenc:EncryptionMethod xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Algorithm="http://www.w3.org/2001/04/xmlenc#aes128-cbc"/><ds:KeyInfo xmlns:ds="http://www.w3.org/2000/09/xmldsig#">
<xenc:EncryptedKey xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:EncryptionMethod xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" Algorithm="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">In+iSDYlef1z6e9eFS+9Aqt2FyC4rfFqb1l/7pcWn9A=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedKey></ds:KeyInfo><xenc:CipherData xmlns:xenc="http://www.w3.org/2001/04/xmlenc#"><xenc:CipherValue xmlns:xenc="http://www.w3.org/2001/04/xmlenc#">Wovml65YsjXgmAJ70dyOZ96APS5qSROoqrIZ1IhiOGY=</xenc:CipherValue></xenc:CipherData></xenc:EncryptedData></text1>
<text2>XYZ</text2>
</RootElement>