JwkUtilities.ComputeThumbprintFromCertificate method

Computes the RFC 7638 JWK thumbprint for an RSA public key extracted from a certificate.

public static string ComputeThumbprintFromCertificate(X509Certificate2 certificate)
parameter description
certificate The X.509 certificate containing the RSA public key.

Return Value

The Base64Url-encoded SHA-256 hash of the canonical JWK representation.

See Also