Table of Contents

Class SessionTranscriptBuilder

Namespace
Tessio.Verifier.Core.Mdoc
Assembly
Tessio.Verifier.Core.Mdoc.dll

Builds the ISO 18013-5 SessionTranscript for OpenID4VP redirect flows. The device signature covers these bytes, binding the presentation to this verifier's request: client_id, nonce, the response encryption key thumbprint and the response_uri.

public static class SessionTranscriptBuilder
Inheritance
SessionTranscriptBuilder
Inherited Members

Methods

Build(string, string, byte[]?, string)

Builds the SessionTranscript for an OpenID4VP redirect-flow presentation.

public static byte[] Build(string clientId, string nonce, byte[]? encryptionKeyThumbprint, string responseUri)

Parameters

clientId string
nonce string
encryptionKeyThumbprint byte[]
responseUri string

Returns

byte[]

BuildDeviceAuthenticationBytes(byte[], string, byte[])

Builds DeviceAuthenticationBytes, the detached payload the device signature covers. Wallet simulators sign these; the verifier reconstructs them.

public static byte[] BuildDeviceAuthenticationBytes(byte[] sessionTranscript, string docType, byte[] encodedDeviceNameSpacesBytes)

Parameters

sessionTranscript byte[]
docType string
encodedDeviceNameSpacesBytes byte[]

Returns

byte[]