public interface 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.util.Calendar |
getSigningTime()
Get the time of signature creation.
|
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.
|
boolean isModified()
java.util.Calendar getSigningTime()
void getRevision(java.lang.String filename)
throws java.io.IOException
filename - The path and file name where to save the signed versionjava.io.IOException - if the signed version can't be extracted or writtenvoid getRevision(java.io.OutputStream pdfOutStream)
throws java.io.IOException
pdfOutStream - the output stream to write the signed version tojava.io.IOException - if the signed version can't be extracted or writtenvoid getRevision(java.io.OutputStream pdfOutStream,
int offset)
throws java.io.IOException
pdfOutStream - 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 writtenjava.lang.String getName()
java.lang.String getSubfilter()
java.util.Calendar getSignatureDictionaryDate()