com.itextpdf.text.pdf
Class XmlSignatureAppearance

java.lang.Object
  extended by com.itextpdf.text.pdf.XmlSignatureAppearance

public class XmlSignatureAppearance
extends Object


Method Summary
 void close()
          Close PdfStamper
 Certificate getCertificate()
           
 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 setStamper(PdfStamper stamper)
           
 void setXmlLocator(XmlLocator xmlLocator)
           
 void setXpathConstructor(XpathConstructor xpathConstructor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getWriter

public com.itextpdf.text.pdf.PdfStamperImp getWriter()

getStamper

public PdfStamper getStamper()

setStamper

public void setStamper(PdfStamper stamper)

setCertificate

public void setCertificate(Certificate signCertificate)
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

public Certificate getCertificate()

getXmlLocator

public XmlLocator getXmlLocator()
Helps to locate xml stream

Returns:
XmlLocator, cannot be null.

setXmlLocator

public void setXmlLocator(XmlLocator xmlLocator)

getXpathConstructor

public XpathConstructor getXpathConstructor()
Constructor for xpath expression in case signing only part of XML document.

Returns:
XpathConstructor, can be null

setXpathConstructor

public void setXpathConstructor(XpathConstructor xpathConstructor)

close

public void close()
           throws IOException,
                  DocumentException
Close PdfStamper

Throws:
IOException
DocumentException


Copyright © 2013. All Rights Reserved.