Class EmrtdResult

  • All Implemented Interfaces:
    android.os.Parcelable

    
    public class EmrtdResult
     implements Parcelable
                        

    Represents an ICAO Doc 9303 eMRTD. Refer to ICAO Doc 9303 Part 10 and 11 in particular.

    Provides Access to the SOD and DataGroups. Holds the security Check Results (if available).

    • Constructor Detail

    • Method Detail

      • getDG1RawBinary

         Array<byte> getDG1RawBinary()

        Convenience method to access the raw binary bytes of the DataGroup 1 file.

        Returns:

        byte array with the raw binary bytes of the DataGroup 1 file.

      • getDG2RawBinary

         Array<byte> getDG2RawBinary()

        Convenience method to access the raw binary bytes of the DataGroup 2 file.

        Returns:

        byte array with the raw binary bytes of the DataGroup 2 file.

      • getFacePhotoBitmap

         Bitmap getFacePhotoBitmap()

        Convenience method to access the face photo from DataGroup 2.

        Returns:

        android Bitmap of the decoded face photo.

      • getSignatureBitmaps

         Array<Bitmap> getSignatureBitmaps()

        Convenience method to access the signature photo(s) from DataGroup 7.

        Returns:

        android Bitmap(s) of the decoded signature photo(s).May be `null` if DataGroup 7 is not present or if DataGroup 7 contains no images.