ProximityReaderTrustSettingsCodec

Strict codec and importer for holder-owned Reader Authentication settings.

Properties

Link copied to clipboard

Maximum accepted encoded settings or import-file size in bytes.

Functions

Link copied to clipboard

Decodes and validates the versioned app-private persistence representation.

Link copied to clipboard

Encodes validated settings into the versioned app-private persistence representation.

Link copied to clipboard
suspend fun prepareImport(sourceName: String, bytes: ByteArray, existing: ProximityReaderTrustSettings, clock: Clock = Clock.System): ProximityReaderTrustImportPreview

Validates imported bytes and prepares an immutable review. This function never persists data.