Table of Contents

Class ClientIdentifier

Namespace
Tessio.Verifier.OpenId4Vp
Assembly
Tessio.Verifier.OpenId4Vp.dll

Builds OpenID4VP client_id values that carry a Client Identifier Prefix.

public static class ClientIdentifier
Inheritance
ClientIdentifier
Inherited Members

Remarks

Additive: ClientId stays a caller-supplied string, so this is a convenience for producing a correct value rather than a change to the frozen contract.

Methods

X509Hash(X509Certificate2)

Builds an x509_hash client identifier from the leaf certificate the request is signed with.

public static string X509Hash(X509Certificate2 leafCertificate)

Parameters

leafCertificate X509Certificate2

The leaf certificate, which must be first in the x5c chain.

Returns

string

A client_id of the form x509_hash:<base64url SHA-256 of the DER certificate>.