[PATCH openEuler-21.09 05/46] ima: Add methods for parsing ima policy configuration string