2004-05-27 Sebastien Pouliot <sebastien@ximian.com>
[mono.git] / mcs / class / corlib / Mono.Security.X509 / X509ChainStatusFlags.cs
1 //
2 // X509ChainStatusFlags.cs: X.509 Chain Status
3 //
4 // Author:
5 //      Sebastien Pouliot  <sebastien@ximian.com>
6 //
7 // (C) 2004 Novell (http://www.novell.com)
8 //
9
10 using System;
11
12 namespace Mono.Security.X509 {
13
14         // definitions from Fx 1.2
15         // commented flags aren't implemented in X509Chain
16
17         [Serializable]
18         [Flags]
19 #if INSIDE_CORLIB
20         internal
21 #else
22         public 
23 #endif
24         enum X509ChainStatusFlags {
25 //              CtlNotSignatureValid = 262144,
26 //              CtlNotTimeValid = 131072,
27 //              CtlNotValidForUsage = 524288,
28 //              Cyclic = 128,
29 //              HasExcludedNameConstraint = 32768,
30 //              HasNotDefinedNameConstraint = 8192,
31 //              HasNotPermittedNameConstraint = 16384,
32 //              HasNotSupportedNameConstraint = 4096,
33                 InvalidBasicConstraints = 1024,
34 //              InvalidExtension = 256,
35 //              InvalidNameConstraints = 2048,
36 //              InvalidPolicyConstraints = 512,
37                 NoError = 0,
38 //              NoIssuanceChainPolicy = 33554432,
39                 NotSignatureValid = 8,
40                 NotTimeNested = 2,
41                 NotTimeValid = 1,
42 //              NotValidForUsage = 16,
43 //              OfflineRevocation = 16777216,
44                 PartialChain = 65536,
45 //              RevocationStatusUnknown = 64,
46 //              Revoked = 4,
47                 UntrustedRoot = 32
48         } 
49 }