Get a newly-allocated copy of info.
info
the SecurityContext.
a copy of the given IdentityInfo, or null on failure.