CryptoConfig.cs: Inverse name and oid when reading them from machine.config. Part...
[mono.git] / mcs / class / corlib / System.Security.Cryptography / KeyNumber.cs
old mode 100755 (executable)
new mode 100644 (file)
index 503e258..b005f25
@@ -2,13 +2,10 @@
 // KeyNumber.cs: Key Number for CAPI containers
 //
 // Author:
-//     Sebastien Pouliot (spouliot@motus.com)
+//     Sebastien Pouliot (sebastien@ximian.com)
 //
 // (C) 2003 Motus Technologies Inc. (http://www.motus.com)
-//
-
-//
-// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2004-2005 Novell, Inc (http://www.novell.com)
 //
 // Permission is hereby granted, free of charge, to any person obtaining
 // a copy of this software and associated documentation files (the
 
 #if NET_2_0
 
-using System;
+using System.Runtime.InteropServices;
 
 namespace System.Security.Cryptography {
 
+       [ComVisible (true)]
+       [Serializable]
        public enum KeyNumber {
-               Exchange,
-               Signature
+               Exchange = 1,
+               Signature = 2
        } 
 }
 
-#endif
\ No newline at end of file
+#endif