Class PDSeedValueTimeStamp
java.lang.Object
org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSeedValueTimeStamp
If exist, it describe where the signature handler can request a rfc3161
timestamp and if it is a must have for the signature.
- Version:
- $Revision: 1.1 $
- Author:
- Thomas Chojecki
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.Constructor. -
Method Summary
Modifier and TypeMethodDescriptionConvert this standard java object to a COS object.Convert this standard java object to a COS dictionary.getURL()
Returns the URL.boolean
Indicates if a timestamp is required.void
setTimestampRequired
(boolean flag) Sets if a timestamp is reuqired or not.void
Sets the URL.
-
Constructor Details
-
PDSeedValueTimeStamp
public PDSeedValueTimeStamp()Default constructor. -
PDSeedValueTimeStamp
Constructor.- Parameters:
dict
- The signature dictionary.
-
-
Method Details
-
getCOSObject
Convert this standard java object to a COS object.- Returns:
- The cos object that matches this Java object.
-
getDictionary
Convert this standard java object to a COS dictionary.- Returns:
- The COS dictionary that matches this Java object.
-
getURL
Returns the URL.- Returns:
- the URL
-
setURL
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
-