Table of Contents

Class X509Confirmation

Namespace
Fdyay.IdentityServer.Validation
Assembly
Fdyay.IdentityServer.Core.dll

Builds the RFC 8705 ยง3.1 confirmation that binds a token to the certificate that obtained it.

public static class X509Confirmation
Inheritance
X509Confirmation
Inherited Members

Methods

For(X509Certificate2)

The cnf value naming certificate, as JSON.

public static string For(X509Certificate2 certificate)

Parameters

certificate X509Certificate2

Returns

string

Remarks

The base64url SHA-256 of the DER certificate, which is not the hex thumbprint a certificate is registered by: the same hash, differently encoded, and a resource server comparing the two forms would reject every token it was given.