regulaforensics / DocumentReader-iOS

iOS Framework for reading and validation of identification documents
56 stars 15 forks source link

get SOD data from NFC #37

Closed nikolindima closed 3 years ago

nikolindima commented 3 years ago

Hello. I need to get SOD data to validate Country Signing Certificate. But I can't get SODs data from your library. This is value of SOD filed after reading NFC

▿ Attribute
  - name : "EF.SOD"
  - value : nil
  - lcid : nil
  - valid : nil
  - source : nil
  - image : nil
  - equality : true
  ▿ rfidStatus : Optional<RGLRFIDErrorCodes>
    ▿ some : RGLRFIDErrorCodes
      - rawValue : 1
  - checkResult : nil
vyakimchik commented 3 years ago

Hi @nikolindima,

Please have a look at the rfidSessionData results. You will find EF.SOD data there:

Screenshot 2021-05-20 at 10 58 01
nikolindima commented 3 years ago

Works. Perfect. Thanks