Skip to content

Commit e4a3dbe

Browse files
committed
PDFBOX-5660: fix javadoc as suggested by Valery Bokov; fix field name; closes #379
git-svn-id: https://svn.apache.org/repos/asf/pdfbox/trunk@1930529 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2e772f9 commit e4a3dbe

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

pdfbox/src/main/java/org/apache/pdfbox/pdmodel/interactive/digitalsignature/PDSeedValueTimeStamp.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
import org.apache.pdfbox.cos.COSName;
2121

2222
/**
23-
* If exist, it describe where the signature handler can request a RFC3161
24-
* timestamp and if it is a must have for the signature.
23+
* This optional dictionary provides the URL for a RFC3161 time-stamping server server, and whether
24+
* the timestamp is required for the signature.
2525
*
2626
* @author Thomas Chojecki
2727
*/
@@ -85,7 +85,7 @@ public void setURL(String url)
8585
*/
8686
public boolean isTimestampRequired()
8787
{
88-
return dictionary.getInt(COSName.FT, 0) != 0;
88+
return dictionary.getInt(COSName.FF, 0) != 0;
8989
}
9090

9191
/**
@@ -95,6 +95,6 @@ public boolean isTimestampRequired()
9595
*/
9696
public void setTimestampRequired(boolean flag)
9797
{
98-
dictionary.setInt(COSName.FT, flag ? 1 : 0);
98+
dictionary.setInt(COSName.FF, flag ? 1 : 0);
9999
}
100100
}

0 commit comments

Comments
 (0)