> Betreff: Re: XMLSecurity key recovery fails when keystore and key use
> different passwords
> Quick follow up. I went ahead and created the patch to enable a
> "keyPassword" to be specified. In the patch, the key password will only
> be
> used to retrieve a private key dur
Quick follow up. I went ahead and created the patch to enable a
"keyPassword" to be specified. In the patch, the key password will only be
used to retrieve a private key during the unmarshal action.
For example:
http://www.w3.org/2001/04/xmlenc#aes128-cbc";
keyCipherAlgorithm="http://ww
Hi Dominik,
The example you provided is a little bit confusing. The PUBLIC key of the
recipient is applied for asymmetric encryption. So, there no need to
access a password-protected key when the data is being marshalled.
However, the recipient will use a PRIVATE key from a key store to decrypt
Hi Dominik,
I think this is the default behavior in Java. Whenever I work with
keystores, the keystore password must match the key password.
This could be due to the KeyManagerFactory implementation:
http://docs.oracle.com/javase/6/docs/api/javax/net/ssl/KeyManagerFactory.html#init%28java.secu