{"id":271,"date":"2008-09-11T18:48:19","date_gmt":"2008-09-12T02:48:19","guid":{"rendered":"http:\/\/www.curlybrace.com\/words\/?p=271"},"modified":"2008-09-15T22:43:54","modified_gmt":"2008-09-16T06:43:54","slug":"mssign32dll","status":"publish","type":"post","link":"https:\/\/www.curlybrace.com\/words\/2008\/09\/mssign32dll\/","title":{"rendered":"mssign32.dll"},"content":{"rendered":"<p>With CAPICOM deprecated, MSDN suggests using the mssign32.dll functions.  There are two fundamental problems with this:<\/p>\n<ol>\n<li \/>No example code whatsoever is provided.\n<li \/>No header file is provided.\n<\/ol>\n<p>Well, at least I can do <b>something<\/b> about #2.  <a href=\"http:\/\/www.curlybrace.com\/projects\/Authenticode\/mssign32.h\">Here is a minimal version of a header file for mssign32.dll<\/a>.  It includes direct function declarations, as well as function pointer typedefs.<\/p>\n<p>The function pointers can be used with <tt>LoadLibrary<\/tt>\/<tt>GetProcAddress<\/tt> to dynamically call the functions, as in:<\/p>\n<blockquote>\n<pre>SignerSignPtr pSignerSign = \r\n    (SignerSignPtr)GetProcAddress(hModule, \"SignerSign\");<\/pre>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>With CAPICOM deprecated, MSDN suggests using the mssign32.dll functions. There are two fundamental problems with this: No example code whatsoever is provided. No header file is provided. Well, at least I can do something about #2. Here is a minimal &hellip; <a href=\"https:\/\/www.curlybrace.com\/words\/2008\/09\/mssign32dll\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[180,181,15],"tags":[],"class_list":["post-271","post","type-post","status-publish","format-standard","hentry","category-authenticode","category-cryptography","category-technology"],"_links":{"self":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/271","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/comments?post=271"}],"version-history":[{"count":7,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/271\/revisions"}],"predecessor-version":[{"id":306,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/posts\/271\/revisions\/306"}],"wp:attachment":[{"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/media?parent=271"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/categories?post=271"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.curlybrace.com\/words\/wp-json\/wp\/v2\/tags?post=271"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}