|
security
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Set private key programmaticaly without using CAPICOM and CryptSetProvParam methodCertificateManager cm = new CertificateManager(); X509Certificate2 c = cm.GetCertificate(userName); //get certificate from the store using X509Store class _ws.ClientCertificates.Add(c); _ws.SessionInfoValue = new SessionInfo(); _ws.SessionInfoValue.SessionId = String.Empty; _ws.Login(String.Empty, String.Empty) when I use a digital certificate whose private key is hardware-protected, during the call of a method of the Web Service, start SSL handshake, the certificate is included in it and the user is asked to submit PIN (with a Windows Dialog) to access private key. It there a way to set private key programmaticaly without using CAPICOM and CryptSetProvParam method so the user does not need to enter PIN code. Thank you for help. Claudio
WindowsIdentity vs User.Identity ??
EventLogPermission via caspol.exe declarative security and impersonation Code Source Security How to share a Principal within a ThreadPool ? Very slow Principal.IsInRole call... Authenticate domain and local users CredUIConfirmCredentials behaves unexpectedly Strong-Name Assembly calling WebService RSA to PKCS#8 |
|||||||||||||||||||||||