On 05/07/17 11:47, Frank Taffelt wrote:
>> I don't think that will work because you can't read the key out of the
>> keystore.
>
> The keystore API has the getKey(alias,keypass) method that should give you
> the key. copying the entry could be:
>
> KeyStore newks = KeyStore.getInstance("JKS");
>
> I don't think that will work because you can't read the key out of the
> keystore.
The keystore API has the getKey(alias,keypass) method that should give you the
key. copying the entry could be:
KeyStore newks = KeyStore.getInstance("JKS");
newks.load(null, null);
newks.setKeyEntry(alias, ks.
On 04/07/2017 07:32, Frank Taffelt wrote:
> Hi Thomas,
>
>> By far the simplest solution is to have one keystore per private key.
>
> so maybe this could go into the docs section.
Updated. Will be included in the next release (not the one currently
being voted on).
>> I find the JSSE API tricky