security: Implement BasicIdentityStorage::getCertificate