using System; using System.Runtime.InteropServices; namespace System.Security { /// Defines the methods that convert permission object state to and from XML element representation. // Token: 0x020005C2 RID: 1474 [ComVisible(true)] public interface ISecurityEncodable { /// Reconstructs a security object with a specified state from an XML encoding. /// The XML encoding to use to reconstruct the security object. // Token: 0x060035C8 RID: 13768 void FromXml(SecurityElement e); /// Creates an XML encoding of the security object and its current state. /// An XML encoding of the security object, including any state information. // Token: 0x060035C9 RID: 13769 SecurityElement ToXml(); } }