Interface PdfDict


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

    • getAsDict

      PdfDict getAsDict​(String name)
      Gets an embedded dictionary by name
      Parameters:
      name - String of a dictionary to extract
      Returns:
      PdfDict
    • getAsArray

      PdfArray getAsArray​(String name)
      Gets the pdfArray by name
      Parameters:
      name - String
      Returns:
      PdfArray
    • getBinariesValue

      byte[] getBinariesValue​(String name) throws IOException
      Gets binaries by dictionary name
      Parameters:
      name - String
      Returns:
      byte array
      Throws:
      IOException - if an exception occurs
    • list

      String[] list()
      Lists all encapsulated dictionary names
      Returns:
      an array of Strings
    • getStringValue

      String getStringValue​(String name)
      Gets a string value by property name
      Parameters:
      name - String property name
      Returns:
      String value
    • getNameValue

      String getNameValue​(String name)
      Gets a name of the dictionary
      Parameters:
      name - String property name
      Returns:
      String value
    • getDateValue

      Date getDateValue​(String name)
      Gets a date
      Parameters:
      name - String property name
      Returns:
      String value