security: In IdentityStorage.getCertificate, return IdentityCertificate.