View TimeStampServer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"obsolete": [ | |
{ | |
"name": "Sectigo", | |
"url": "https://timestamp.sectigo.com" | |
}, | |
{ | |
"name": "FreeTSA", | |
"url": "https://freetsa.org" | |
} |
View CalculatePublisherIdHash.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Linq; | |
using System.Security.Cryptography; | |
using System.Text; | |
namespace Otor | |
{ | |
public class MsixUtils | |
{ | |
public static string GetPublisherHash(string publisherId) |
View TriggerDataHubTask.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$baseUrl = "<dataHubUrl>"; # for example http://localhost:81 | |
$taskGuid = "<taskGuid>"; # for example 6ca5c4e2-5095-4422-3b5e-08d96c734da2 - the ID of the task to start (can be copied from respective URL) | |
$username = "<username>"; # for example MyUser | |
$password = "<password>"; # for example Pa$$word | |
function TriggerTask | |
{ | |
param( | |
$DataHubUrl, | |
$AuthToken, |
View Get-ActualError.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ActualError { | |
[int]$HResult; | |
[string]$HResultHex; | |
[string]$HResultBin; | |
[string]$Facility; | |
[int]$FacilityCode; | |
[int]$ErrorCode; | |
[bool]$IsFailure; | |
[string]$Message; | |
[bool]$IsCustom; |