PC Review


Reply
Thread Tools Rate Thread

Can sn.exe utilize the Windows certificate store?

 
 
Maxwell
Guest
Posts: n/a
 
      17th Jun 2009


For signing an assembly with sn.exe in .NET, is it possible to specify a
public key for which the private key is contained only within the
Windows CryptoAPI keystore?

I see the option for specifying the CSP name, and the container name.

Are there values to use to access the Windows certificates? (i.e. those
accessible from Windows EFS, Outlook, Internet Explorer, etc.)

Specifically, I am asking this because there are a few keys which do not
have the private key marked as exportable, so I cannot export a .pfx and
follow that route.

Thank you.


I found the MSDN article on Machine Stores, but this is dealing with
ActiveDirectory Rights Management. I also cannot find the DRM directory
it talks about. Though, there was a directory Application
Data\Microsoft\Crypto\RSA\MachineKeys, and several files named with just
a serial number or GUID.
(256bit-hex)_(32bit)-(16bit)-(16bit)-(16-bit)-(48bit) is the format of
the filename. Are these usable/addressable to identify the public key to
sn.exe? I suspect this is not what I am looking for...


-- Maxwell
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to find manifest signing certificate in the certificate store. Dom Microsoft C# .NET 0 25th May 2010 03:26 PM
install certificate in certificate store programmaticly Daniel Knöpfel Microsoft Dot NET 0 8th Aug 2006 02:36 PM
Programmatically Install Certificate into Windows Certificate Store Brad Microsoft Dot NET Framework 2 31st Jul 2006 09:32 PM
Certificate Services: CA store certificate has expired Andres M Microsoft Windows 2000 Security 2 28th Jan 2004 08:16 PM
Help: Windows XP Pro certificate store has a strange cert that may be bad or damanged Neil Microsoft Windows 2000 Security 1 29th Aug 2003 01:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:18 PM.