Initial commit
[mono.git] / mcs / class / referencesource / mscorlib / system / security / isecurityencodable.cs
1 // ==++==
2 // 
3 //   Copyright (c) Microsoft Corporation.  All rights reserved.
4 // 
5 // ==--==
6 // ISecurityEncodable.cs
7 // 
8 // <OWNER>[....]</OWNER>
9 //
10 // All encodable security classes that support encoding need to
11 // implement this interface
12 //
13
14 namespace System.Security  {
15     
16     using System;
17     using System.Security.Util;
18     
19     
20 [System.Runtime.InteropServices.ComVisible(true)]
21     public interface ISecurityEncodable
22     {
23 #if FEATURE_CAS_POLICY
24         SecurityElement ToXml();
25     
26         void FromXml( SecurityElement e );
27 #endif // FEATURE_CAS_POLICY
28     }
29
30 }
31
32