Interface PdfArray


  • public interface PdfArray
    The usage of this interface permit the user to choose the underlying PDF library use to created PDF signatures.
    • Method Summary

      Modifier and Type Method Description
      byte[] getBytes​(int i)
      Retrieves the byte array at the position i
      int getInt​(int i)
      Retrieves the integer at the position i
      long getObjectNumber​(int i)
      Retrieves the Object Number for the position i
      int size()
      Retrieves the array size
    • Method Detail

      • size

        int size()
        Retrieves the array size
        Returns:
        the size of the current array
      • getBytes

        byte[] getBytes​(int i)
                 throws IOException
        Retrieves the byte array at the position i
        Parameters:
        i - the position
        Returns:
        the found byte array
        Throws:
        IOException
      • getObjectNumber

        long getObjectNumber​(int i)
        Retrieves the Object Number for the position i
        Parameters:
        i - the position
        Returns:
        the object number
      • getInt

        int getInt​(int i)
            throws IOException
        Retrieves the integer at the position i
        Parameters:
        i - the position
        Returns:
        the found integer
        Throws:
        IOException