I need help in writing a samll application where
1. A .PFX file(with Private key and Certifcate) is loaded into memore
2. Retrive Private key and Cert from PFX file in binary form (stream of
bytes)
3. Assign this to two different varibale in the application
4. Sign a messege " Hello" using private key assigned to a varibale.
Note : I already know how to load PFX file into memory and signa message, I
have done this using VBScript . But i dont know how to retrive only keys and
then sign as mention above.
Dominick Baier - 20 Dec 2007 01:38 GMT
have a look here:
http://msdn.microsoft.com/msdnmag/issues/07/03/NETSecurity/default.aspx
-----
Dominick Baier (http://www.leastprivilege.com)
Developing More Secure Microsoft ASP.NET 2.0 Applications (http://www.microsoft.com/mspress/books/9989.asp)
> I need help in writing a samll application where
>
[quoted text clipped - 7 lines]
> message, I have done this using VBScript . But i dont know how to
> retrive only keys and then sign as mention above.