Ejemplo n.º 1
0
 /**
  * This will get the signature or null if there is none.
  *
  * @return The signature.
  */
 public PDSignature getSignature() {
   PDSignature signature = null;
   COSDictionary sig = (COSDictionary) catalog.getDictionaryObject("Sig");
   if (sig != null) {
     signature = new PDSignature(sig);
   }
   return signature;
 }
Ejemplo n.º 2
0
 /**
  * This will get the FDF dictionary.
  *
  * @return The FDF dictionary.
  */
 public FDFDictionary getFDF() {
   COSDictionary fdf = (COSDictionary) catalog.getDictionaryObject("FDF");
   FDFDictionary retval = null;
   if (fdf != null) {
     retval = new FDFDictionary(fdf);
   } else {
     retval = new FDFDictionary();
     setFDF(retval);
   }
   return retval;
 }