Configuration

data class Configuration @JvmOverloads constructor(    val authorityCertificates: Set<X509Certificate> = emptySet(),     val timeoutMillis: Int = DEFAULT_TIMEOUT_MILLIS,     val sessionToken: String? = null,     isDebugInfoEnabled: Boolean = false)

Configuration for the NFC Travel Document Reader component.

Constructors

Link copied to clipboard
fun Configuration(    authorityCertificates: Set<X509Certificate> = emptySet(),     timeoutMillis: Int = DEFAULT_TIMEOUT_MILLIS,     sessionToken: String? = null,     isDebugInfoEnabled: Boolean = false)

Properties

Link copied to clipboard

Certificates of trusted authorities. Certificates are required to successfully authenticate data in the chip.

Link copied to clipboard
val sessionToken: String? = null

Session token provided by DIS (Digital Identity Service). Set the session token if the result should be posted to DIS for evaluation. Default value is null.

Link copied to clipboard

The timeout only applies to ISO-DEP I/O operations on a android.nfc.Tag. Default value is 5000 ms.