org.apache.pdfbox.pdmodel.interactive.digitalsignature
Class PDSeedValueTimeStamp

java.lang.Object
  extended by org.apache.pdfbox.pdmodel.interactive.digitalsignature.PDSeedValueTimeStamp

public class PDSeedValueTimeStamp
extends java.lang.Object

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
PDSeedValueTimeStamp()
          Default constructor.
PDSeedValueTimeStamp(COSDictionary dict)
          Constructor.
 
Method Summary
 COSBase getCOSObject()
          Convert this standard java object to a COS object.
 COSDictionary getDictionary()
          Convert this standard java object to a COS dictionary.
 java.lang.String getURL()
          Returns the URL.
 boolean isTimestampRequired()
          Indicates if a timestamp is required.
 void setTimestampRequired(boolean flag)
          Sets if a timestamp is reuqired or not.
 void setURL(java.lang.String url)
          Sets the URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDSeedValueTimeStamp

public PDSeedValueTimeStamp()
Default constructor.


PDSeedValueTimeStamp

public PDSeedValueTimeStamp(COSDictionary dict)
Constructor.

Parameters:
dict - The signature dictionary.
Method Detail

getCOSObject

public COSBase getCOSObject()
Convert this standard java object to a COS object.

Returns:
The cos object that matches this Java object.

getDictionary

public COSDictionary getDictionary()
Convert this standard java object to a COS dictionary.

Returns:
The COS dictionary that matches this Java object.

getURL

public java.lang.String getURL()
Returns the URL.

Returns:
the URL

setURL

public void setURL(java.lang.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