using System; using System.Runtime.InteropServices; using System.Security.Policy; namespace System.Security { /// Supports the methods that convert permission object state to and from an XML element representation. // Token: 0x020005C3 RID: 1475 [ComVisible(true)] public interface ISecurityPolicyEncodable { /// Reconstructs a security object with a specified state from an XML encoding. /// The XML encoding to use to reconstruct the security object. /// The policy-level context to resolve named permission set references. // Token: 0x060035CA RID: 13770 void FromXml(SecurityElement e, PolicyLevel level); /// Creates an XML encoding of the security object and its current state. /// The root element of the XML representation of the policy object. /// The policy-level context to resolve named permission set references. // Token: 0x060035CB RID: 13771 SecurityElement ToXml(PolicyLevel level); } }