Let the session handle enveloped and localIdentity.