Class PDSeedValueTimeStamp
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.interactive.digitalsignature.PDSeedValueTimeStamp
-
public class PDSeedValueTimeStamp extends Object
If exist, it describe where the signature handler can request a RFC3161 timestamp and if it is a must have for the signature.
-
-
Constructor Summary
Constructors Constructor Description PDSeedValueTimeStamp()Default constructor.PDSeedValueTimeStamp(COSDictionary dict)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description COSDictionarygetCOSObject()Convert this standard java object to a COS dictionary.StringgetURL()Returns the URL.booleanisTimestampRequired()Indicates if a timestamp is required.voidsetTimestampRequired(boolean flag)Sets if a timestamp is reuqired or not.voidsetURL(String url)Sets the URL.
-
-
-
Constructor Detail
-
PDSeedValueTimeStamp
public PDSeedValueTimeStamp()
Default constructor.
-
PDSeedValueTimeStamp
public PDSeedValueTimeStamp(COSDictionary dict)
Constructor.- Parameters:
dict- The signature dictionary.
-
-
Method Detail
-
getCOSObject
public COSDictionary getCOSObject()
Convert this standard java object to a COS dictionary.- Returns:
- The COS dictionary that matches this Java object.
-
getURL
public String getURL()
Returns the URL.- Returns:
- the URL
-
setURL
public void setURL(String url)
Sets the URL.- Parameters:
url- the URL to be set as URL
-
isTimestampRequired
public boolean isTimestampRequired()
Indicates if a timestamp is required.- Returns:
- true if a timestamp is required
-
setTimestampRequired
public void setTimestampRequired(boolean flag)
Sets if a timestamp is reuqired or not.- Parameters:
flag- true if a timestamp is required
-
-