Package eu.europa.esig.dss.pdf
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 Summary
Modifier and Type Method Description PdfArray
getAsArray(String name)
Gets the pdfArray by namePdfDict
getAsDict(String name)
Gets an embedded dictionary by namebyte[]
getBinariesValue(String name)
Gets binaries by dictionary nameDate
getDateValue(String name)
Gets a dateString
getNameValue(String name)
Gets a name of the dictionaryString
getStringValue(String name)
Gets a string value by property nameString[]
list()
Lists all encapsulated dictionary names
-
Method Details
-
getAsDict
Gets an embedded dictionary by name -
getAsArray
Gets the pdfArray by name -
getBinariesValue
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
String
s
-
getStringValue
Gets a string value by property name -
getNameValue
Gets a name of the dictionary -
getDateValue
Gets a date
-