Table of Contents

Class Iso18013AnnexCRequest

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

What the browser call carries, and what the verifier keeps to open the answer.

public sealed record Iso18013AnnexCRequest : IEquatable<Iso18013AnnexCRequest>
Inheritance
Iso18013AnnexCRequest
Implements
Inherited Members

Properties

DeviceRequest

Encoded DeviceRequest; base64url this into the API request's deviceRequest.

public required byte[] DeviceRequest { get; init; }

Property Value

byte[]

EncryptionInfo

Encoded EncryptionInfo; base64url this, unpadded, into the API request's encryptionInfo. Wallets hash the string the page sends into the session transcript, and this library hashes the unpadded form, so padding breaks decryption and readerAuth alike. Store the exact bytes: the session transcript digest covers them.

public required byte[] EncryptionInfo { get; init; }

Property Value

byte[]

ResponseKeyPkcs8

The PKCS#8 private key the wallet encrypts its response to, for OpenResponse(byte[], byte[], byte[], string). For a key minted here, store it with the session. For a key you supplied, store nothing: make the key again when the answer arrives.

public required byte[] ResponseKeyPkcs8 { get; init; }

Property Value

byte[]