diff options
author | Sebastien Pouliot <sebastien@ximian.com> | 2004-04-28 17:59:06 +0400 |
---|---|---|
committer | Sebastien Pouliot <sebastien@ximian.com> | 2004-04-28 17:59:06 +0400 |
commit | 34612c2260e3b99bba1cbf108ec612a16484e543 (patch) | |
tree | 78fec1de87fcc41daf3434f81a52de81b2d8738c /mcs/class/Mono.Security | |
parent | 2d7978cee9b9439a257f74352c9465c993156155 (diff) |
2004-04-28 Sebastien Pouliot <sebastien@ximian.com>
* KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum.
svn path=/trunk/mcs/; revision=26154
Diffstat (limited to 'mcs/class/Mono.Security')
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.X509.Extensions/ChangeLog | 4 | ||||
-rw-r--r-- | mcs/class/Mono.Security/Mono.Security.X509.Extensions/KeyUsageExtension.cs | 7 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mcs/class/Mono.Security/Mono.Security.X509.Extensions/ChangeLog b/mcs/class/Mono.Security/Mono.Security.X509.Extensions/ChangeLog index a7271f1f79e..f00dcacd041 100644 --- a/mcs/class/Mono.Security/Mono.Security.X509.Extensions/ChangeLog +++ b/mcs/class/Mono.Security/Mono.Security.X509.Extensions/ChangeLog @@ -1,3 +1,7 @@ +2004-04-28 Sebastien Pouliot <sebastien@ximian.com> + + * KeyUsageExtension.cs: Added missing INSIDE_CORLIB to enum. + 2004-04-22 Sebastien Pouliot <sebastien@ximian.com> * AuthorityKeyIdentifierExtension.cs: FxCop-ized. diff --git a/mcs/class/Mono.Security/Mono.Security.X509.Extensions/KeyUsageExtension.cs b/mcs/class/Mono.Security/Mono.Security.X509.Extensions/KeyUsageExtension.cs index 9320fb1f666..f2d28b482ba 100644 --- a/mcs/class/Mono.Security/Mono.Security.X509.Extensions/KeyUsageExtension.cs +++ b/mcs/class/Mono.Security/Mono.Security.X509.Extensions/KeyUsageExtension.cs @@ -34,7 +34,12 @@ namespace Mono.Security.X509.Extensions { */ // note: because nothing is simple in ASN.1 bits are reversed [Flags] - public enum KeyUsages { +#if INSIDE_CORLIB + internal +#else + public +#endif + enum KeyUsages { digitalSignature = 0x80, nonRepudiation = 0x40, keyEncipherment = 0x20, |