Redpoint.Tpm 2026.1106.418

Prefix Reserved
dotnet add package Redpoint.Tpm --version 2026.1106.418
                    
NuGet\Install-Package Redpoint.Tpm -Version 2026.1106.418
                    
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="Redpoint.Tpm" Version="2026.1106.418" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Redpoint.Tpm" Version="2026.1106.418" />
                    
Directory.Packages.props
<PackageReference Include="Redpoint.Tpm" />
                    
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 Redpoint.Tpm --version 2026.1106.418
                    
#r "nuget: Redpoint.Tpm, 2026.1106.418"
                    
#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 Redpoint.Tpm@2026.1106.418
                    
#: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=Redpoint.Tpm&version=2026.1106.418
                    
Install as a Cake Addin
#tool nuget:?package=Redpoint.Tpm&version=2026.1106.418
                    
Install as a Cake Tool

Redpoint.Tpm

Provides APIs for securing HTTPS communications using attestation identity keys stored in a TPM. This can be used by servers to ensure that the client connecting to them is the machine they claim to be.

Example

On the server, assuming that you already have a certificate authority that can be used for generating client certificates:

// Create the API that allows you to secure HTTPS with TPM attested certificates.
_tpmSecuredHttpServer = tpmSecuredHttpService.CreateHttpServer(certificateAuthority);

// Configure Kestrel's HTTPS options...
kestrelOptions.ListenLocalhost(8791, options =>
{
    options.UseHttps(https =>
    {
        _tpmSecuredHttpServer.ConfigureHttps(https);
    });
});

// In a negotiation endpoint, handle the negotiation...
if (httpContext.Request.Path == "/negotiate")
{
    await _tpmSecuredHttpServer!.HandleNegotiationRequestAsync(httpContext);
}

// In an endpoint you want to verify the identity of the connecting client...
var pem = await _tpmSecuredHttpServer!.GetAikPemVerifiedByClientCertificateAsync(httpContext);

// 'pem' will contain the PEM of the attestation identity key.

On the client:

// Create the client; the URI should be that of the negotiation endpoint of the server.
var client = await tpmSecuredHttpService.CreateHttpClientAsync(
    new Uri("http://127.0.0.1:8790/negotiate"),
    cancellationToken);

// Use the client to call HTTPS endpoints. The server in the /test endpoint should call
// GetAikPemVerifiedByClientCertificateAsync to get the PEM and verify the client.
var result = await client.GetStringAsync(
    new Uri("https://127.0.0.1:8791/test"),
    cancellationToken);
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on Redpoint.Tpm:

Package Downloads
Redpoint.KubernetesManager

Implements a Kubernetes manager, which can provision and set up Kubernetes on Windows, macOS and Linux machines.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2026.1106.418 0 4/16/2026
2026.1106.417 0 4/16/2026
2026.1106.389 0 4/16/2026
2026.1106.385 0 4/16/2026
2026.1106.350 0 4/16/2026
2026.1106.336 0 4/16/2026
2026.1103.462 91 4/13/2026
2026.1103.428 92 4/13/2026
2026.1101.342 87 4/11/2026
2026.1101.283 83 4/11/2026
2026.1101.267 90 4/11/2026
2026.1101.238 78 4/11/2026
2026.1101.227 82 4/11/2026
2026.1100.676 92 4/10/2026
2026.1100.579 92 4/10/2026
2026.1099.978 94 4/9/2026
2026.1099.931 86 4/9/2026
2026.1099.890 87 4/9/2026
2026.1099.846 92 4/9/2026
2026.1099.813 82 4/9/2026
Loading failed