XCOMMONS-595: Move the KeyStore and CertificateStore API from platform