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:
java.io.Serializable
public class PdfSignature extends PdfDictionary
Implements the signature dictionary.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdfSignature(PdfName filter, PdfName subFilter)
Creates new PdfSignature
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) PdfSignatureBuildProperties
getPdfSignatureBuildProperties()
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(java.lang.String name)
void
setContents(byte[] contents)
void
setDate(PdfDate date)
void
setLocation(java.lang.String name)
void
setName(java.lang.String name)
void
setReason(java.lang.String name)
void
setSignatureCreator(java.lang.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
-
-
-
-
Method Detail
-
setByteRange
public void setByteRange(int[] range)
-
setContents
public void setContents(byte[] contents)
-
setCert
public void setCert(byte[] cert)
-
setName
public void setName(java.lang.String name)
-
setDate
public void setDate(PdfDate date)
-
setLocation
public void setLocation(java.lang.String name)
-
setReason
public void setReason(java.lang.String name)
-
setSignatureCreator
public void setSignatureCreator(java.lang.String name)
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
public void setContact(java.lang.String name)
-
-