Configuration
data class Configuration @JvmOverloads constructor( val password: Password, val authorityCertificatesFilePath: String? = null, val activeAuthenticationChallenge: ByteArray? = null, val sessionToken: String? = null, isDebugInfoEnabled: Boolean = false) : Serializable
Configuration of NFC reading for NfcTravelDocumentReaderFragment.
Constructors
Link copied to clipboard
fun Configuration( nfcKey: NfcKey, authorityCertificatesFilePath: String? = null, activeAuthenticationChallenge: ByteArray? = null, isDebugInfoEnabled: Boolean = false)
Properties
Link copied to clipboard
Random 8 bytes. If the Active Authentication challenge is set, Active Authentication protocol will be used for the authentication of the chip (if supported by the chip). Response (signature) will be returned in the NfcTravelDocumentReaderResult data class. This response should be validated by the application server to verify the authenticity of the chip. In case when the Active Authentication protocol is not supported by the chip, the chip will be authenticated the same way as if the argument activeAuthenticationChallenge is not set. Default value is null
.