CryptUISharp 0.1.0

dotnet add package CryptUISharp --version 0.1.0
                    
NuGet\Install-Package CryptUISharp -Version 0.1.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CryptUISharp" Version="0.1.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CryptUISharp" Version="0.1.0" />
                    
Directory.Packages.props
<PackageReference Include="CryptUISharp" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CryptUISharp --version 0.1.0
                    
#r "nuget: CryptUISharp, 0.1.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package CryptUISharp@0.1.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CryptUISharp&version=0.1.0
                    
Install as a Cake Addin
#tool nuget:?package=CryptUISharp&version=0.1.0
                    
Install as a Cake Tool

<h1 align="center">CryptUISharp</h1> <p align="center">Managed APIs and WinUI surfaces for Authenticode, catalog signatures, certificates, and advanced signature fields.</p>

Status

This is an early prototype rebuilt around the CryptUISharp library in this repository.

The app currently reads:

  • embedded Authenticode / PKCS#7 signatures
  • catalog-signed files via system catalog lookup
  • .cat files as catalog CTLs
  • signer certificates and chains
  • signing time, timestamp, digest, and signature algorithms
  • authenticated, unauthenticated, countersignature, timestamp, and catalog entry fields

Usage

  1. Build and run the WinUI project.
  2. Open a file with the button or drop a file onto the window.
  3. Select a signature, catalog, or catalog entry to inspect the corresponding details.

Build

Prerequisites:

  • Windows 10 build 17763 or later, or Windows 11
  • .NET 9 SDK or newer
  • Windows App SDK workload/runtime suitable for WinUI 3
dotnet build .\CryptUISharp.slnx -p:Platform=x64

Project Layout

  • CryptUISharp: Windows CryptoAPI / WinTrust library packaged as CryptUISharp.
  • CryptUISharp.WinUI: WinUI 3 app that presents the library model.

The catalog path follows the old cryptui dialog model: catalog files are CTLs, entries come from CTL_INFO.rgCTLEntry, and known entry attributes such as SPC_INDIRECT_DATA_OBJID and CAT_NAMEVALUE_OBJID are decoded when present.

Product Compatible and additional computed target framework versions.
.NET net9.0-windows10.0.17763 is compatible.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net9.0-windows10.0.17763

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.1.0 95 7/9/2026