Package es.gob.jmulticard.asn1.icao
Class SubjectSignaturePhoto
- java.lang.Object
-
- es.gob.jmulticard.asn1.DecoderObject
-
- es.gob.jmulticard.asn1.icao.SubjectSignaturePhoto
-
public final class SubjectSignaturePhoto extends DecoderObject
Foto(s) de la firma o marca habitual del titular de un eMRTD (DG7 en ICAO 9303 parte 10). Solo se soporta un DG7 que contenga una úica imagen de firma.
-
-
Field Summary
Fields Modifier and Type Field Description private static byte
TAG
-
Constructor Summary
Constructors Constructor Description SubjectSignaturePhoto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
decodeValue()
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.protected byte
getDefaultTag()
Obtiene la etiqueta de tipo ASN.1 del objeto.byte[]
getSubjectSignaturePhotoAsJpeg2k()
Obtiene la foto de la firma o marca habitual del titular en formato JPEG2000.-
Methods inherited from class es.gob.jmulticard.asn1.DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
-
-
-
Field Detail
-
TAG
private static final byte TAG
- See Also:
- Constant Field Values
-
-
Method Detail
-
decodeValue
protected void decodeValue() throws Asn1Exception, TlvException
Description copied from class:DecoderObject
Decodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Specified by:
decodeValue
in classDecoderObject
- Throws:
Asn1Exception
- Si hay errores correspondientes a las estructuras ASN.1 DER.TlvException
- Si hay errores relativos a los TLV DER.
-
getDefaultTag
protected byte getDefaultTag()
Description copied from class:DecoderObject
Obtiene la etiqueta de tipo ASN.1 del objeto.- Specified by:
getDefaultTag
in classDecoderObject
- Returns:
- Etiqueta de tipo ASN.1 del objeto.
-
getSubjectSignaturePhotoAsJpeg2k
public byte[] getSubjectSignaturePhotoAsJpeg2k() throws java.io.IOException
Obtiene la foto de la firma o marca habitual del titular en formato JPEG2000.- Returns:
- Foto de la firma del titular en formato JPEG2000.
- Throws:
java.io.IOException
- Si no se puede leer la foto de la firma del titular.
-
-