Interface MrtdLds1

All Known Implementing Classes:
Dnie3, DnieNfc, IcaoMrtdWithBac, IcaoMrtdWithPace

public interface MrtdLds1
MRTD ICAO LDS1.
  • Field Details

    • FILE_DG01_LOCATION

      static final Location FILE_DG01_LOCATION
      Localización del fichero EF.DG1.
    • FILE_DG02_LOCATION

      static final Location FILE_DG02_LOCATION
      Localización del fichero EF.DG2.
    • FILE_DG03_LOCATION

      static final Location FILE_DG03_LOCATION
      Localización del fichero EF.DG3.
    • FILE_DG04_LOCATION

      static final Location FILE_DG04_LOCATION
      Localización del fichero EF.DG4.
    • FILE_DG05_LOCATION

      static final Location FILE_DG05_LOCATION
      Localización del fichero EF.DG5.
    • FILE_DG06_LOCATION

      static final Location FILE_DG06_LOCATION
      Localización del fichero EF.DG6.
    • FILE_DG07_LOCATION

      static final Location FILE_DG07_LOCATION
      Localización del fichero EF.DG7.
    • FILE_DG08_LOCATION

      static final Location FILE_DG08_LOCATION
      Localización del fichero EF.DG8.
    • FILE_DG09_LOCATION

      static final Location FILE_DG09_LOCATION
      Localización del fichero EF.DG9.
    • FILE_DG10_LOCATION

      static final Location FILE_DG10_LOCATION
      Localización del fichero EF.DG10.
    • FILE_DG11_LOCATION

      static final Location FILE_DG11_LOCATION
      Localización del fichero EF.DG11.
    • FILE_DG12_LOCATION

      static final Location FILE_DG12_LOCATION
      Localización del fichero EF.DG12.
    • FILE_DG13_LOCATION

      static final Location FILE_DG13_LOCATION
      Localización del fichero EF.DG13.
    • FILE_DG14_LOCATION

      static final Location FILE_DG14_LOCATION
      Localización del fichero EF.DG14.
    • FILE_DG15_LOCATION

      static final Location FILE_DG15_LOCATION
      Localización del fichero EF.DG15.
    • FILE_DG16_LOCATION

      static final Location FILE_DG16_LOCATION
      Localización del fichero EF.DG16.
    • FILE_SOD_LOCATION

      static final Location FILE_SOD_LOCATION
      Localización del fichero EF.SOD.
    • FILE_COM_LOCATION

      static final Location FILE_COM_LOCATION
      Localización del fichero EF.COM.
    • FILE_CARD_ACCESS_LOCATION

      static final Location FILE_CARD_ACCESS_LOCATION
      Localización del fichero EF.CardAccess.
    • FILE_ATR_INFO_LOCATION

      static final Location FILE_ATR_INFO_LOCATION
      Localización del fichero EF.ATR/INFO.
    • FILE_CARD_SECURITY_LOCATION

      static final Location FILE_CARD_SECURITY_LOCATION
      Localización del fichero EF.CardSecurity.
  • Method Details

    • getDg1

      Mrz getDg1() throws IOException
      Obtiene el DG1 (MRZ). Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG1 (MRZ).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg2

      SubjectFacePhoto getDg2() throws IOException
      Obtiene el DG2 (fotografía del rostro del titular). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG2 (fotografía del rostro del titular).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg3

      byte[] getDg3() throws IOException
      Obtiene el DG3 (elementos de identificación adicionales - Dedos). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de administración esté previamente establecido.
      Returns:
      DG3 (elementos de identificación adicionales - Dedos).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg4

      byte[] getDg4() throws IOException
      Obtiene el DG4 (elementos de identificación adicionales - Iris). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de administración esté previamente establecido.
      Returns:
      DG4 (elementos de identificación adicionales - Iris).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg5

      byte[] getDg5() throws IOException
      Obtiene el DG5 (retrato exhibido). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG5 (retrato exhibido).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg6

      byte[] getDg6() throws IOException
      Obtiene el DG6 (reservado para uso futuro). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG6 (reservado para uso futuro).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg7

      Obtiene el DG7 (imagen de la firma o marca habitual exhibida). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG7 (imagen de la firma o marca habitual exhibida).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg8

      byte[] getDg8() throws IOException
      Obtiene el DG8 (elemento datos). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG7 (elemento datos).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg9

      byte[] getDg9() throws IOException
      Obtiene el DG9 (elemento estructura). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG9 (elemento estructura).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg10

      byte[] getDg10() throws IOException
      Obtiene el DG10 (elemento sustancia). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG10 (elemento sustancia).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg11

      byte[] getDg11() throws IOException
      Obtiene el DG11 (detalles personales adicionales). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG11 (detalles personales adicionales).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg12

      byte[] getDg12() throws IOException
      Obtiene el DG12 (detalles del documento adicionales). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG12 (detalles del documento adicionales).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg13

      OptionalDetails getDg13() throws IOException
      Obtiene el DG13 (detalles opcionales). Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG13 (detalles opcionales).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg14

      byte[] getDg14() throws IOException
      Obtiene el DG14 (opciones de seguridad). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG14 (opciones de seguridad).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg15

      byte[] getDg15() throws IOException
      Obtiene el DG15 (información de clave pública de autenticación activa). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG15 (información de clave pública de autenticación activa).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getDg16

      byte[] getDg16() throws IOException
      Obtiene el DG16 (personas que han de notificarse). Devuelve el objeto binario sin tratar. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      DG16 (personas que han de notificarse).
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getSod

      Sod getSod() throws IOException
      Obtiene el SOD. El SOD contiene las huellas digitales de los DG. Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      SOD.
      Throws:
      IOException - Si hay problemas obteniendo el objeto.
    • getCom

      Com getCom() throws IOException
      Obtiene el COM. El COM contiene los "datos comunes" (Common Data). Puede necesitar que el canal de usuario esté previamente establecido.
      Returns:
      COM.
      Throws:
      IOException - Si hay problemas leyendo el fichero.
    • getCardAccess

      byte[] getCardAccess() throws IOException
      Obtiene el CardAccess.
      Returns:
      CardAccess.
      Throws:
      IOException - Si no se puede leer el fichero.
    • getCardSecurity

      byte[] getCardSecurity() throws IOException
      Obtiene el CardSecurity.
      Returns:
      CardSecurity.
      Throws:
      IOException - Si no se puede leer el fichero.
    • getAtrInfo

      byte[] getAtrInfo() throws IOException
      Obtiene el ATR/INFO.
      Returns:
      ATR/INFO.
      Throws:
      IOException - Si no se puede leer el fichero.
    • checkSecurityObjects

      Comprueba la validez de los objetos de seguridad a partir del SOD.
      Returns:
      Cadena de certificados del firmante del SOD (para comprobación externa).
      Throws:
      IOException - Si no se puede finalizar la comprobación.
      InvalidSecurityObjectException - Si un objeto de seguridad no supera las comprobaciones de seguridad.
      TlvException - Si el SOD del documento no es un TLV válido.
      Asn1Exception - Si el SOD es estructuralmente incorrecto.
      CertificateException - Si los certificados de firma del SOD presentan problemas.
      SignatureException - Si la firma del SOD es inválida o presenta problemas.