[Mono-list] Validating X509 certificate

Mathias Tausig mtausig at fsmat.at
Fri Jun 20 05:05:53 EDT 2008


I am not sure much mono checks the validity of a certificates information
upon loading (Sebastien will probably know this), but a simple solution
would be to compate the SubjectKeyidentifier extension of your CA
certificate with the AuthorityKeyIdentifier of the incoming one.

cheers
Mathias

> Hello!
>
> I've tried looking everywhere but I cannot find how to validate incoming
> certificate (that is from outside the system). I want to be able to check
> whether the certificate was signed by my CA (which certificate I have in
> the
> system and it's loaded into X509Certificate2 at the start). The only thing
> I
> found was X509Chain but I'm not sure how to point this class to use my
> CA's
> certificate. Thanks in advance!
> --
> View this message in context:
> http://www.nabble.com/Validating-X509-certificate-tp17961263p17961263.html
> Sent from the Mono - General mailing list archive at Nabble.com.
>
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>




More information about the Mono-list mailing list