Package es.gob.jmulticard.card.icao
Interface MrtdLds1
-
- All Known Implementing Classes:
Dnie3
,DnieNfc
,IcaoMrtdWithBac
,IcaoMrtdWithPace
public interface MrtdLds1
MRTD ICAO LDS1.
-
-
Field Summary
Fields Modifier and Type Field Description static Location
FILE_ATR_INFO_LOCATION
Localización del fichero EF.ATR/INFO.static Location
FILE_CARD_ACCESS_LOCATION
Localización del fichero EF.CardAccess.static Location
FILE_CARD_SECURITY_LOCATION
Localización del fichero EF.CardSecurity.static Location
FILE_COM_LOCATION
Localización del fichero EF.COM.static Location
FILE_DG01_LOCATION
Localización del fichero EF.DG1.static Location
FILE_DG02_LOCATION
Localización del fichero EF.DG2.static Location
FILE_DG03_LOCATION
Localización del fichero EF.DG3.static Location
FILE_DG04_LOCATION
Localización del fichero EF.DG4.static Location
FILE_DG05_LOCATION
Localización del fichero EF.DG5.static Location
FILE_DG06_LOCATION
Localización del fichero EF.DG6.static Location
FILE_DG07_LOCATION
Localización del fichero EF.DG7.static Location
FILE_DG08_LOCATION
Localización del fichero EF.DG8.static Location
FILE_DG09_LOCATION
Localización del fichero EF.DG9.static Location
FILE_DG10_LOCATION
Localización del fichero EF.DG10.static Location
FILE_DG11_LOCATION
Localización del fichero EF.DG11.static Location
FILE_DG12_LOCATION
Localización del fichero EF.DG12.static Location
FILE_DG13_LOCATION
Localización del fichero EF.DG13.static Location
FILE_DG14_LOCATION
Localización del fichero EF.DG14.static Location
FILE_DG15_LOCATION
Localización del fichero EF.DG15.static Location
FILE_DG16_LOCATION
Localización del fichero EF.DG16.static Location
FILE_SOD_LOCATION
Localización del fichero EF.SOD.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.security.cert.X509Certificate[]
checkSecurityObjects()
Comprueba la validez de los objetos de seguridad a partir del SOD.byte[]
getAtrInfo()
Obtiene el ATR/INFO.byte[]
getCardAccess()
Obtiene el CardAccess.byte[]
getCardSecurity()
Obtiene el CardSecurity.Com
getCom()
Obtiene el COM.Mrz
getDg1()
Obtiene el DG1 (MRZ).byte[]
getDg10()
Obtiene el DG10 (elemento sustancia).byte[]
getDg11()
Obtiene el DG11 (detalles personales adicionales).byte[]
getDg12()
Obtiene el DG12 (detalles del documento adicionales).OptionalDetails
getDg13()
Obtiene el DG13 (detalles opcionales).byte[]
getDg14()
Obtiene el DG14 (opciones de seguridad).byte[]
getDg15()
Obtiene el DG15 (información de clave pública de autenticación activa).byte[]
getDg16()
Obtiene el DG16 (personas que han de notificarse).SubjectFacePhoto
getDg2()
Obtiene el DG2 (fotografía del rostro del titular).byte[]
getDg3()
Obtiene el DG3 (elementos de identificación adicionales - Dedos).byte[]
getDg4()
Obtiene el DG4 (elementos de identificación adicionales - Iris).byte[]
getDg5()
Obtiene el DG5 (retrato exhibido).byte[]
getDg6()
Obtiene el DG6 (reservado para uso futuro).SubjectSignaturePhoto
getDg7()
Obtiene el DG7 (imagen de la firma o marca habitual exhibida).byte[]
getDg8()
Obtiene el DG8 (elemento datos).byte[]
getDg9()
Obtiene el DG9 (elemento estructura).Sod
getSod()
Obtiene el SOD.
-
-
-
Field Detail
-
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 Detail
-
getDg1
Mrz getDg1() throws java.io.IOException
Obtiene el DG1 (MRZ). Puede necesitar que el canal de usuario esté previamente establecido.- Returns:
- DG1 (MRZ).
- Throws:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg2
SubjectFacePhoto getDg2() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg3
byte[] getDg3() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg4
byte[] getDg4() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg5
byte[] getDg5() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg6
byte[] getDg6() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg7
SubjectSignaturePhoto getDg7() throws java.io.IOException
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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg8
byte[] getDg8() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg9
byte[] getDg9() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg10
byte[] getDg10() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg11
byte[] getDg11() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg12
byte[] getDg12() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg13
OptionalDetails getDg13() throws java.io.IOException
Obtiene el DG13 (detalles opcionales). Puede necesitar que el canal de usuario esté previamente establecido.- Returns:
- DG13 (detalles opcionales).
- Throws:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg14
byte[] getDg14() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg15
byte[] getDg15() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getDg16
byte[] getDg16() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getSod
Sod getSod() throws java.io.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:
java.io.IOException
- Si hay problemas obteniendo el objeto.
-
getCom
Com getCom() throws java.io.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:
java.io.IOException
- Si hay problemas leyendo el fichero.
-
getCardAccess
byte[] getCardAccess() throws java.io.IOException
Obtiene el CardAccess.- Returns:
- CardAccess.
- Throws:
java.io.IOException
- Si no se puede leer el fichero.
-
getCardSecurity
byte[] getCardSecurity() throws java.io.IOException
Obtiene el CardSecurity.- Returns:
- CardSecurity.
- Throws:
java.io.IOException
- Si no se puede leer el fichero.
-
getAtrInfo
byte[] getAtrInfo() throws java.io.IOException
Obtiene el ATR/INFO.- Returns:
- ATR/INFO.
- Throws:
java.io.IOException
- Si no se puede leer el fichero.
-
checkSecurityObjects
java.security.cert.X509Certificate[] checkSecurityObjects() throws java.io.IOException, InvalidSecurityObjectException, TlvException, Asn1Exception, java.security.SignatureException, java.security.cert.CertificateException
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:
java.io.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.java.security.cert.CertificateException
- Si los certificados de firma del SOD presentan problemas.java.security.SignatureException
- Si la firma del SOD es inválida o presenta problemas.
-
-