Package com.itextpdf.text.pdf
Class PdfSignature
java.lang.Object
com.itextpdf.text.pdf.PdfObject
com.itextpdf.text.pdf.PdfDictionary
com.itextpdf.text.pdf.PdfSignature
- All Implemented Interfaces:
Serializable
Implements the signature dictionary.
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) PdfSignatureBuildProperties
Gets thePdfSignatureBuildProperties
instance if it exists, if not it adds a new one and returns this.void
setByteRange
(int[] range) void
setCert
(byte[] cert) void
setContact
(String name) void
setContents
(byte[] contents) void
void
setLocation
(String name) void
void
void
setSignatureCreator
(String name) Sets the signature creator name in thePdfSignatureBuildProperties
dictionary.Methods inherited from class com.itextpdf.text.pdf.PdfDictionary
checkType, clear, contains, get, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getKeys, isCatalog, isFont, isOutlineTree, isPage, isPages, merge, mergeDifferent, put, putAll, putEx, remove, size, toPdf, toString
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Constructor Details
-
PdfSignature
Creates new PdfSignature
-
-
Method Details
-
setByteRange
public void setByteRange(int[] range) -
setContents
public void setContents(byte[] contents) -
setCert
public void setCert(byte[] cert) -
setName
-
setDate
-
setLocation
-
setReason
-
setSignatureCreator
Sets the signature creator name in thePdfSignatureBuildProperties
dictionary.- Parameters:
name
-
-
getPdfSignatureBuildProperties
PdfSignatureBuildProperties getPdfSignatureBuildProperties()Gets thePdfSignatureBuildProperties
instance if it exists, if not it adds a new one and returns this.- Returns:
PdfSignatureBuildProperties
-
setContact
-