I was looking for a utility to sign VSIX Packages (i.e. packages that extend Visual Studio). The link on this page (https://msdn.microsoft.com/en-us/library/dd997171.aspx) for a code sample leads to nowhere. I found this post (http://www.jeff.wilcox.name/2010/03/vsixcodesigning/) by Jeff Wilcox and decided to make a command line utility out of it (so it can be used in post-build events). Attached the VS 2013 solution for it.
To use the tool:
VSIXSign.exe packagefile pfxfile password
Just stick this in your post-build event and you are good to go!