[Mono-list] Re: Mono.Security
Sunil Kumar
Sunilk@novell.com
Wed, 10 Dec 2003 22:21:42 -0700
Looks like there is some problem with the Mono's System.Security.Cryptograp=
hy.X509Certificates.X509Certificate class.
I tried to create a certicate object using CreateFromCertFile method and a =
ASN1 DER encoded certicate file ,but its throwing exception. I did the =
same thing on windows using MS .NET with the same certificate file and its =
working. Below is the code snippet:-
try{
X509Certificate cert =3D X509Certificate.CreateFromCertFile(certfile);
}Catch(Exception e)
{
Console.WriteLine("Error:" + e.Message);
return;
}
On linux it throws following exception:-
Error: Input data cannot be coded as a valid certificate.
Regards
Sunil.
>>> Carlos Guzm=E1n =C1lvarez <carlosga@telefonica.net> 12/9/2003 9:56:53 =
PM >>>
Hello:
> There is also an internet-accessible eDirectory server that (I'm =
told)=20
> anyone can use for testing purposes, at http://www.ndlap.com.
Thanks very much.
I have made a little test trying to negotiate the Handshake protocol=20
against the www.nldap.com using .NET 1.0 and the SSL/TLS libraries=20
sources from my local tree, with success, i will try to make the same=20
test using mono, and update the mono cvs sources as soon as possible.
--
Best regards
Carlos Guzm=E1n =C1lvarez
Vigo-Spain
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com=20
http://lists.ximian.com/mailman/listinfo/mono-list