[Mono-dev] System.Security vs Mono.Security

Sebastien Pouliot sebastien.pouliot at gmail.com
Thu Jan 15 08:12:01 EST 2009


On Thu, 2009-01-15 at 13:27 +0100, APS wrote:
> Hi,
> 
> I'm writing because I've not clear the difference between the two
> namespace System.Security and Mono.Security.

Just like the rest of the Mono class libraries.

- System.Security* are classes that are API compatible with MS
framework;

- Mono.Security* are classes that are provided by Mono as extraneous
features (generally because Mono itself needed the feature and the FX
did not expose or provide them).

> Reading this page http://www.mono-project.com/Cryptography I noticed
> for example that System.Security.Cryptography.X509Certificates is not
> yet implemented in Mono 1.1.x 

This namespace exists inside 3 different assemblies. The only part that
is NOT implemented resides inside the System.Security.dll assembly and
is related to two UI (user interface) classes.

> but there is Mono.Security.X509 that seems to implement what is
> missing in System.Security

Yes. Mono.Security was more complete than FX 1.x API. FX 2.0 has a more
elaborate API, in some respect it provides more than Mono.Security, in
other it provides less. Selection between them really depends on what
you want to do.

> That doc is relative to mono 1.1 maybe is outdates? 

It's a bit old but not much out of date (not many recent changes were
made in them).

> Where I can find the implementation status on Mono 2.x?

http://www.mono-project.com/Class_Status

Sebastien



More information about the Mono-devel-list mailing list