Skip to content

Instantly share code, notes, and snippets.

@davecluderay
davecluderay / PublicKeyToken.cs
Created July 4, 2014 13:34
Generate a public key token from an X.509 certificate (for use in ClickOnce manifests).
using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using System.Security.Cryptography.X509Certificates;
public static class PublicKeyToken
{
public static string FromCertificate(X509Certificate cert)
{
var publicKeyBlob = GetCspPublicKeyBlob(cert);
@Manouchehri
Manouchehri / rfc3161.txt
Last active July 26, 2024 07:52
List of free rfc3161 servers.
https://rfc3161.ai.moda
https://rfc3161.ai.moda/adobe
https://rfc3161.ai.moda/microsoft
https://rfc3161.ai.moda/apple
https://rfc3161.ai.moda/any
http://rfc3161.ai.moda
http://timestamp.digicert.com
http://timestamp.globalsign.com/tsa/r6advanced1
http://rfc3161timestamp.globalsign.com/advanced
http://timestamp.sectigo.com