security: Make IdentityStorage::getCertificate return IdentityCertificate.