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.

Vishal

Samuel Misecka wrote:

>Hi,
>
>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.
>
>
>  
>


Mime
View raw message