PassiveAuthenticationHandler
internal final class PassiveAuthenticationHandler
PassiveAuthenticationHandler is responsible for performing passive authentication
on data groups of an eMRTD.
Passive Authentication proves that the contents of the Document Security Object (SOD) and LDS are authentic and not changed.
Note
This verification mechanism does not require processing capabilities of the contactless IC in the Therefore it is called “Passive Authentication” of the contactless IC’s contents.
Important
It does not prevent exact copying of the contactless IC’s content or chip substitution.
See ChipAuthenticationHandler for more about that.
See also
SOD and HashAlgorithm
-
Perform passive authentication on specified data groups of the eMRTD document.
Passive authentication checks the integrity of data groups and ensures that the Security Object Document (SOD) is correctly signed.
Throws
An error if the authentication process fails or if there are issues with the provided data.
Declaration
Swift
internal func performPassiveAuthentication(on dataGroups: [DataGroup]) throwsParameters
dataGroupsAn array of data groups to be authenticated.
View on GitHub
PassiveAuthenticationHandler Class Reference