public class XmlSignatureAppearance extends Object
Modifier and Type | Method and Description |
---|---|
void |
close()
Close PdfStamper
|
Certificate |
getCertificate() |
String |
getDescription() |
String |
getMimeType() |
Calendar |
getSignDate()
Gets the signature date.
|
PdfStamper |
getStamper() |
com.itextpdf.text.pdf.PdfStamperImp |
getWriter() |
XmlLocator |
getXmlLocator()
Helps to locate xml stream
|
XpathConstructor |
getXpathConstructor()
Constructor for xpath expression in case signing only part of XML document.
|
void |
setCertificate(Certificate signCertificate)
Sets the certificate used to provide the text in the appearance.
|
void |
setDescription(String description) |
void |
setMimeType(String mimeType) |
void |
setSignDate(Calendar signDate)
Sets the signature date.
|
void |
setStamper(PdfStamper stamper) |
void |
setXmlLocator(XmlLocator xmlLocator) |
void |
setXpathConstructor(XpathConstructor xpathConstructor) |
public com.itextpdf.text.pdf.PdfStamperImp getWriter()
public PdfStamper getStamper()
public void setStamper(PdfStamper stamper)
public void setCertificate(Certificate signCertificate)
signCertificate
- the certificate
public Certificate getCertificate()
public void setDescription(String description)
public String getDescription()
public String getMimeType()
public void setMimeType(String mimeType)
public Calendar getSignDate()
public void setSignDate(Calendar signDate)
signDate
- the signature date
public XmlLocator getXmlLocator()
public void setXmlLocator(XmlLocator xmlLocator)
public XpathConstructor getXpathConstructor()
public void setXpathConstructor(XpathConstructor xpathConstructor)
public void close() throws IOException, DocumentException
IOException
DocumentException
Copyright © 1998–2018. All rights reserved.