![]() |
VOOZH | about |
dotnet add package Redpoint.Tpm --version 2026.1169.464
NuGet\Install-Package Redpoint.Tpm -Version 2026.1169.464
<PackageReference Include="Redpoint.Tpm" Version="2026.1169.464" />
<PackageVersion Include="Redpoint.Tpm" Version="2026.1169.464" />Directory.Packages.props
<PackageReference Include="Redpoint.Tpm" />Project file
paket add Redpoint.Tpm --version 2026.1169.464
#r "nuget: Redpoint.Tpm, 2026.1169.464"
#:package Redpoint.Tpm@2026.1169.464
#addin nuget:?package=Redpoint.Tpm&version=2026.1169.464Install as a Cake Addin
#tool nuget:?package=Redpoint.Tpm&version=2026.1169.464Install as a Cake Tool
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.
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 net10.0 is compatible. net10.0-android net10.0-android was computed. net10.0-browser net10.0-browser was computed. net10.0-ios net10.0-ios was computed. net10.0-maccatalyst net10.0-maccatalyst was computed. net10.0-macos net10.0-macos was computed. net10.0-tvos net10.0-tvos was computed. net10.0-windows net10.0-windows was computed. |
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. |
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 2026.1169.464 | 21 | 6/18/2026 |
| 2026.1169.426 | 27 | 6/18/2026 |
| 2026.1169.413 | 27 | 6/18/2026 |
| 2026.1169.196 | 32 | 6/18/2026 |
| 2026.1161.947 | 112 | 6/10/2026 |
| 2026.1159.820 | 104 | 6/8/2026 |
| 2026.1159.804 | 102 | 6/8/2026 |
| 2026.1159.544 | 104 | 6/8/2026 |
| 2026.1159.510 | 107 | 6/8/2026 |
| 2026.1154.870 | 106 | 6/3/2026 |
| 2026.1154.811 | 98 | 6/3/2026 |
| 2026.1154.803 | 107 | 6/3/2026 |
| 2026.1154.686 | 105 | 6/3/2026 |
| 2026.1154.457 | 108 | 6/3/2026 |
| 2026.1153.1025 | 95 | 6/2/2026 |
| 2026.1153.1010 | 115 | 6/2/2026 |
| 2026.1153.988 | 108 | 6/2/2026 |
| 2026.1153.959 | 108 | 6/2/2026 |
| 2026.1153.916 | 106 | 6/2/2026 |
| 2026.1153.661 | 103 | 6/2/2026 |