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) PdfSignatureBuildPropertiesGets thePdfSignatureBuildPropertiesinstance if it exists, if not it adds a new one and returns this.voidsetByteRange(int[] range) voidsetCert(byte[] cert) voidsetContact(String name) voidsetContents(byte[] contents) voidvoidsetLocation(String name) voidvoidvoidsetSignatureCreator(String name) Sets the signature creator name in thePdfSignatureBuildPropertiesdictionary.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, toStringMethods 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 thePdfSignatureBuildPropertiesdictionary.- Parameters:
name-
-
getPdfSignatureBuildProperties
PdfSignatureBuildProperties getPdfSignatureBuildProperties()Gets thePdfSignatureBuildPropertiesinstance if it exists, if not it adds a new one and returns this.- Returns:
PdfSignatureBuildProperties
-
setContact
-