ASP Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsProgrammingASP Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
  #1  
Old January 25th, 2003, 05:20 PM
wimvo wimvo is offline
Junior Member
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Jan 2003
Posts: 1 wimvo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Checking A dll's digital certificate.

I've seen Windows XP test their drivers to see if they were tested with Windows XP. I am assuming that Microsoft has code signed them with a certain certificate.
I want to provide a secure way of extending the functionality of a program I write now, with certain module's (OCX dll's) in the future.
I want to make sure in the main program, that whatever .dll is offered as an extention program, was written by me, and is in fact not some random any other file.
So I would code sign them with a specific self signed certificate of which I hold the private key.
Now what code would I need to put in the main program to check a file with a certain filename of having my digital certificate which I created prior and intend to re-use on each of my extention modules.
I'm sure windows holds the API's to use somewhere, someone will have written this already and I don't want to re-invent something, so where do I start looking ?
UPDATE: It doesn't really matter but all program parts are written in VB. So I'd prefer Visual Basic sample code, although with API's it doesn't really matter.

Last edited by wimvo : January 25th, 2003 at 05:26 PM.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingASP Development > Checking A dll's digital certificate.


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT