Class 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  
    • 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 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SubjectSignaturePhoto

        public SubjectSignaturePhoto()
    • Method Detail

      • 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 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 la imagen no está en formato JPEG2000.