Fix for building mono in VS, and implement reading/writing USER/MACHINE level environ...
[mono.git] / mono / metadata / security.h
index 236aa3731cccc452621ed374abda9d82dc4c1134..b5ef4cf0ea7673a10dd33dfe5471b22c7609619a 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <mono/metadata/object.h>
 
+G_BEGIN_DECLS
 
 /* System.Environment */
 extern MonoString* ves_icall_System_Environment_get_UserName (void);
@@ -37,5 +38,17 @@ extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfG
 extern gboolean ves_icall_System_Security_Principal_WindowsPrincipal_IsMemberOfGroupName (gpointer user, MonoString *group);
 
 
-#endif /* _MONO_METADATA_SECURITY_H_ */
+/* Mono.Security.Cryptography.KeyPairPersistance */
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_CanSecure (MonoString *root);
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsMachineProtected (MonoString *path);
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_IsUserProtected (MonoString *path);
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectMachine (MonoString *path);
+extern MonoBoolean ves_icall_Mono_Security_Cryptography_KeyPairPersistence_ProtectUser (MonoString *path);
+
+
+/* System.Security.Policy.Evidence */
+MonoBoolean ves_icall_System_Security_Policy_Evidence_IsAuthenticodePresent (MonoReflectionAssembly *refass);
 
+G_END_DECLS
+
+#endif /* _MONO_METADATA_SECURITY_H_ */