public abstract class PdfSignatureDetailsItext extends java.lang.Object implements PdfSignatureDetails
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Returns the name of this signature.
|
void |
getRevision(java.io.OutputStream pdfOutStream)
Write only the signed parts of this document signed by this signature and the signature itself
to the given output stream.
|
void |
getRevision(java.io.OutputStream pdfOutStream,
int offset)
Write only the signed parts of this document signed by this signature and the signature itself
to the given output stream starting at index offset.
|
void |
getRevision(java.lang.String filename)
Save only the signed parts of this document signed by this signature and the signature itself
to the given path and filename.
|
java.util.Calendar |
getSignatureDictionaryDate()
Returns the signing date, as set in the PDF signature dictionary (with dictionary key name
"M").
|
java.lang.String |
getSubfilter()
Returns the subfilter of this signature.
|
boolean |
isModified()
Check whether the document has been modified after the signature was applied by verifying that
the document ends after the last byte of the signed version.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSigningTimepublic java.lang.String getName()
PdfSignatureDetailsgetName in interface PdfSignatureDetailspublic java.lang.String getSubfilter()
PdfSignatureDetailsgetSubfilter in interface PdfSignatureDetailspublic boolean isModified()
PdfSignatureDetailsisModified in interface PdfSignatureDetailspublic void getRevision(java.lang.String filename)
throws java.io.IOException
PdfSignatureDetailsgetRevision in interface PdfSignatureDetailsfilename - The path and file name where to save the signed versionjava.io.IOException - if the signed version can't be extracted or writtenpublic void getRevision(java.io.OutputStream pdfOutStream)
throws java.io.IOException
PdfSignatureDetailsgetRevision in interface PdfSignatureDetailspdfOutStream - the output stream to write the signed version tojava.io.IOException - if the signed version can't be extracted or writtenpublic void getRevision(java.io.OutputStream pdfOutStream,
int offset)
throws java.io.IOException
PdfSignatureDetailsgetRevision in interface PdfSignatureDetailspdfOutStream - the output stream to write the signed version tooffset - offset where to start writing the signed versionjava.io.IOException - if the signed version can't be extracted or writtenpublic java.util.Calendar getSignatureDictionaryDate()
PdfSignatureDetailsgetSignatureDictionaryDate in interface PdfSignatureDetails