XWIKI-9577: Improve Crypto API for full PKI support

- Add support for storing Certificates, Private keys and Signatures into xwiki.