unparse_CMSIdentifier
ret = unparse_CMSIdentifier(context, client, &str);
ret2 = unparse_CMSIdentifier(context, &ri->rid, &str);