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 Details

  • Constructor Details

    • SubjectSignaturePhoto

      public SubjectSignaturePhoto()
  • Method Details

    • 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 class DecoderObject
      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 class DecoderObject
      Returns:
      Etiqueta de tipo ASN.1 del objeto.
    • getSubjectSignaturePhotoAsJpeg2k

      public byte[] getSubjectSignaturePhotoAsJpeg2k() throws 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:
      IOException - Si no se puede leer la foto de la firma del titular.