Redpoint.Tpm 2026.1003.454

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Redpoint.Tpm --version 2026.1003.454
                    
NuGet\Install-Package Redpoint.Tpm -Version 2026.1003.454
                    
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.1003.454" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Redpoint.Tpm" Version="2026.1003.454" />
                    
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.1003.454
                    
#r "nuget: Redpoint.Tpm, 2026.1003.454"
                    
#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.1003.454
                    
#: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.1003.454
                    
Install as a Cake Addin
#tool nuget:?package=Redpoint.Tpm&version=2026.1003.454
                    
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 net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  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.1154.870 43 6/3/2026
2026.1154.811 36 6/3/2026
2026.1154.803 40 6/3/2026
2026.1154.686 52 6/3/2026
2026.1154.457 67 6/3/2026
2026.1153.1025 70 6/2/2026
2026.1153.1010 90 6/2/2026
2026.1153.988 83 6/2/2026
2026.1153.959 83 6/2/2026
2026.1153.916 82 6/2/2026
2026.1153.661 81 6/2/2026
2026.1148.1138 109 5/28/2026
2026.1146.78 103 5/26/2026
2026.1145.557 100 5/25/2026
2026.1145.536 100 5/25/2026
2026.1144.634 101 5/24/2026
2026.1144.619 99 5/24/2026
2026.1144.288 101 5/24/2026
2026.1143.1097 103 5/23/2026
2026.1003.454 117 1/3/2026
Loading failed