/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @return the timestamp dictionary as PDSeedValueTimeStamp */ public PDSeedValueTimeStamp getTimeStamp() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.TIME_STAMP); PDSeedValueTimeStamp timestamp = null; if (dict != null) { timestamp = new PDSeedValueTimeStamp(dict); } return timestamp; }
/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @param timestamp dictionary */ public void setTimeStamp(PDSeedValueTimeStamp timestamp) { if (timestamp != null) { dictionary.setItem(COSName.TIME_STAMP, timestamp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @param timestamp dictionary */ public void setTimeStamp(PDSeedValueTimeStamp timestamp) { if (timestamp != null) { dictionary.setItem(COSName.TIME_STAMP, timestamp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @return the timestamp dictionary as PDSeedValueTimeStamp */ public PDSeedValueTimeStamp getTimeStamp() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.TIME_STAMP); PDSeedValueTimeStamp timestamp = null; if (dict != null) { timestamp = new PDSeedValueTimeStamp(dict); } return timestamp; }
/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @param timestamp dictionary */ public void setTimeStamp(PDSeedValueTimeStamp timestamp) { if (timestamp != null) { dictionary.setItem(COSName.TIME_STAMP, timestamp.getCOSObject()); } }
/** * <p>(Optional; PDF 1.6) A time stamp dictionary containing two entries. URL which * is a ASCII string specifying the URL to a rfc3161 conform timestamp server and Ff * to indicate if a timestamp is required or optional.</p> * * @return the timestamp dictionary as PDSeedValueTimeStamp */ public PDSeedValueTimeStamp getTimeStamp() { COSDictionary dict = (COSDictionary)dictionary.getDictionaryObject(COSName.TIME_STAMP); PDSeedValueTimeStamp timestamp = null; if (dict != null) { timestamp = new PDSeedValueTimeStamp(dict); } return timestamp; }