santuario-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vishal Mahajan <Vishal.Maha...@Sun.COM>
Subject Re: XMLCipher - provider
Date Fri, 11 Mar 2005 07:24:04 GMT
Are you looking for using the same provider that is passed to the first 
XMLCipher instance (through the getProviderInstance call) in the key 
decryption as well? If yes, then I think we make a change and pass the 
same provider name to the EncryptedKeyResolver.


Samuel Misecka wrote:

>I need to specify provider for XML decryption. I have problem because XMLCipher 
>object has method getProviderInstance(...), but in method decryptToByteArray
>(Element element) is created and registered EncryptedKeyResolver without 
>provider name. Then EncryptedKeyResolver.engineCanResolve method calls 
>XMLCipher.getInstance() not XMLCipher.getProviderInstance(...) because provider 
>name is not available.
>	Sam.

View raw message