3 // Copyright (c) Microsoft Corporation. All rights reserved.
6 // ISecurityEncodable.cs
8 // <OWNER>[....]</OWNER>
10 // All encodable security classes that support encoding need to
11 // implement this interface
14 namespace System.Security {
17 using System.Security.Util;
20 [System.Runtime.InteropServices.ComVisible(true)]
21 public interface ISecurityEncodable
23 #if FEATURE_CAS_POLICY
24 SecurityElement ToXml();
26 void FromXml( SecurityElement e );
27 #endif // FEATURE_CAS_POLICY