I am trying to digitally sign information with a private key. I know how to do this on in a desktop client application with .Net, but am not sure how to do it in ASP.Net.
The private key of the client-cert is NOT transmitted to the server.
IF you really want/need to sign something with client-cert THEN you need a client-side component... AFAIK this is not possible with javascript... there are solutions out there using Flash, Silverlight, Java Applets as part of the ASP.NET page for doing what you ask...
Making it possible to do this purely on the server-side is a sure sign for broken security (regarding the client-cert) IMHO.