Class SubjectSignaturePhoto
java.lang.Object
es.gob.jmulticard.asn1.DecoderObject
es.gob.jmulticard.asn1.icao.SubjectSignaturePhoto
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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDecodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.protected byteObtiene la etiqueta de tipo ASN.1 del objeto.byte[]Obtiene la foto de la firma o marca habitual del titular en formato JPEG2000.Methods inherited from class DecoderObject
checkTag, getBytes, getRawDerValue, setDerValue
-
Field Details
-
TAG
private static final byte TAG- See Also:
-
-
Constructor Details
-
SubjectSignaturePhoto
public SubjectSignaturePhoto()
-
-
Method Details
-
decodeValue
Description copied from class:DecoderObjectDecodifica el valor DER establecido comprobando que corresponde al esperado y formando las estructuras internas.- Specified by:
decodeValuein 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:DecoderObjectObtiene la etiqueta de tipo ASN.1 del objeto.- Specified by:
getDefaultTagin classDecoderObject- Returns:
- Etiqueta de tipo ASN.1 del objeto.
-
getSubjectSignaturePhotoAsJpeg2k
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:
IOException- Si no se puede leer la foto de la firma del titular.
-