// Author:
// Sebastien Pouliot <sebastien@ximian.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.X509Certificates {
[Flags]
+ [Serializable]
+ [ComVisible (true)]
public enum X509KeyStorageFlags {
- DefaultKeySet,
- UserKeySet,
- MachineKeySet,
- Exportable,
- UserProtected,
- PersistKeySet
+ DefaultKeySet = 0,
+#if !NET_2_1
+ // not supported by Silverlight 2.0 (NET_2_1)
+ UserKeySet = 1,
+ MachineKeySet = 2,
+ Exportable = 4,
+ UserProtected = 8,
+ PersistKeySet = 16
+#endif
}
}