2006-05-30 Zoltan Varga <vargaz@gmail.com>
[mono.git] / mono / metadata / security-manager.h
index 0973f5049ab87cf51bfffbe09e576e1e8e99c199..7fc070069bae2c83c7599d2668074f71ee9149d0 100644 (file)
@@ -14,6 +14,7 @@
 
 #include "object.h"
 #include "metadata-internals.h"
+#include "domain-internals.h"
 #include "tokentype.h"
 #include "threads.h"
 #include "marshal.h"
 /* Definitions */
 
 #define MONO_ECMA_KEY_LENGTH                   16
+#define MONO_PUBLIC_KEY_HEADER_LENGTH          32
+#define MONO_MINIMUM_PUBLIC_KEY_LENGTH         48
+#define MONO_DEFAULT_PUBLIC_KEY_LENGTH         128
+
+#define MONO_PUBLIC_KEY_BIT_SIZE(x)            ((x - MONO_PUBLIC_KEY_HEADER_LENGTH) << 3)
 
 enum {
        MONO_METADATA_SECURITY_OK               = 0x00,