XWIKI-9577: Improve Crypto API for full PKI support

- Fix dependencies
- Add missing @Unstable