Author: tilman
Date: Sat Dec 13 20:31:43 2025
New Revision: 1930530

Log:
PDFBOX-5660: fix javadoc as suggested by Valery Bokov; fix field name; closes 
#379

Modified:
   
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java

Modified: 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java
==============================================================================
--- 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java
   Sat Dec 13 20:31:38 2025        (r1930529)
+++ 
pdfbox/branches/3.0/pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java
   Sat Dec 13 20:31:43 2025        (r1930530)
@@ -20,8 +20,8 @@ import org.apache.pdfbox.cos.COSDictiona
 import org.apache.pdfbox.cos.COSName;
 
 /**
- * If exist, it describe where the signature handler can request a RFC3161
- * timestamp and if it is a must have for the signature.
+ * This optional dictionary provides the URL for a RFC3161 time-stamping 
server server, and whether
+ * the timestamp is required for the signature.
  *
  * @author Thomas Chojecki
  */
@@ -85,7 +85,7 @@ public class PDSeedValueTimeStamp
      */
     public boolean isTimestampRequired()
     {
-        return dictionary.getInt(COSName.FT, 0) != 0;
+        return dictionary.getInt(COSName.FF, 0) != 0;
     }
 
     /**
@@ -95,6 +95,6 @@ public class PDSeedValueTimeStamp
      */
     public void setTimestampRequired(boolean flag)
     {
-        dictionary.setInt(COSName.FT, flag ? 1 : 0);
+        dictionary.setInt(COSName.FF, flag ? 1 : 0);
     }
 }

Reply via email to