public class PDFDocumentTimestampDictionary extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<PDFDocumentTimestampDictionary>
Class that contains information related to a Document Time-stamp dictionary of a PDF document.
Project:Library for the integration with the services of @Firma, eVisor and TS@.
| Constructor and Description |
|---|
PDFDocumentTimestampDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam,
java.lang.String nameParam,
java.lang.Integer revisionParam,
org.bouncycastle.tsp.TimeStampToken timestampParam,
java.security.cert.X509Certificate certificateParam)
Constructor method for the class PDFDocumentTimestampDictionary.java.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(PDFDocumentTimestampDictionary o) |
java.security.cert.X509Certificate |
getCertificate()
Gets the value of the attribute
certificate. |
com.lowagie.text.pdf.PdfDictionary |
getDictionary()
Gets the value of the attribute
dictionary. |
java.lang.String |
getName()
Gets the value of the attribute
name. |
java.lang.Integer |
getRevision()
Gets the value of the attribute
revision. |
org.bouncycastle.tsp.TimeStampToken |
getTimestamp()
Gets the value of the attribute
timestamp. |
void |
setCertificate(java.security.cert.X509Certificate certificateParam)
Sets the value of the attribute
certificate. |
void |
setDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam)
Sets the value of the attribute
dictionary. |
void |
setName(java.lang.String nameParam)
Sets the value of the attribute
name. |
void |
setRevision(java.lang.Integer revisionParam)
Sets the value of the attribute
revision. |
void |
setTimestamp(org.bouncycastle.tsp.TimeStampToken timestampParam)
Sets the value of the attribute
timestamp. |
public PDFDocumentTimestampDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam,
java.lang.String nameParam,
java.lang.Integer revisionParam,
org.bouncycastle.tsp.TimeStampToken timestampParam,
java.security.cert.X509Certificate certificateParam)
dictionaryParam - Parameter that represents the signature dictionary.nameParam - Parameter that represents the name of the signature dictionary.revisionParam - Parameter that represents the number of the revision on the PDF document when the Time-stamp dictionary was added.timestampParam - Parameter that represents the time-stamp contained inside of the Document Time-stamp dictionary.certificateParam - Parameter that represents the signing certificate of the time-stamp contained inside of the Document Time-stamp dictionary.public final com.lowagie.text.pdf.PdfDictionary getDictionary()
dictionary.dictionary.public final void setDictionary(com.lowagie.text.pdf.PdfDictionary dictionaryParam)
dictionary.dictionaryParam - The value for the attribute dictionary.public final java.lang.String getName()
name.name.public final void setName(java.lang.String nameParam)
name.nameParam - The value for the attribute name.public final java.lang.Integer getRevision()
revision.revision.public final void setRevision(java.lang.Integer revisionParam)
revision.revisionParam - The value for the attribute revision.public final int compareTo(PDFDocumentTimestampDictionary o)
compareTo in interface java.lang.Comparable<PDFDocumentTimestampDictionary>Comparable.compareTo(java.lang.Object)public final org.bouncycastle.tsp.TimeStampToken getTimestamp()
timestamp.timestamp.public final void setTimestamp(org.bouncycastle.tsp.TimeStampToken timestampParam)
timestamp.timestampParam - The value for the attribute timestamp.public final java.security.cert.X509Certificate getCertificate()
certificate.certificate.public final void setCertificate(java.security.cert.X509Certificate certificateParam)
certificate.certificateParam - The value for the attribute certificate.