Class XmlSignatureAppearance
java.lang.Object
com.itextpdf.text.pdf.XmlSignatureAppearance
-
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Close PdfStamperGets the signature date.com.itextpdf.text.pdf.PdfStamperImpHelps to locate xml streamConstructor for xpath expression in case signing only part of XML document.voidsetCertificate(Certificate signCertificate) Sets the certificate used to provide the text in the appearance.voidsetDescription(String description) voidsetMimeType(String mimeType) voidsetSignDate(Calendar signDate) Sets the signature date.voidsetStamper(PdfStamper stamper) voidsetXmlLocator(XmlLocator xmlLocator) voidsetXpathConstructor(XpathConstructor xpathConstructor)
-
Method Details
-
getWriter
public com.itextpdf.text.pdf.PdfStamperImp getWriter() -
getStamper
-
setStamper
-
setCertificate
Sets the certificate used to provide the text in the appearance. This certificate doesn't take part in the actual signing process.- Parameters:
signCertificate- the certificate
-
getCertificate
-
setDescription
-
getDescription
-
getMimeType
-
setMimeType
-
getSignDate
-
setSignDate
Sets the signature date.- Parameters:
signDate- the signature date
-
getXmlLocator
-
setXmlLocator
-
getXpathConstructor
Constructor for xpath expression in case signing only part of XML document.- Returns:
- XpathConstructor, can be null
-
setXpathConstructor
-
close
Close PdfStamper- Throws:
IOExceptionDocumentException
-