cz.utb.fai.simkovicp.pki.sign.signer
Class SignerFactory

java.lang.Object
  extended by cz.utb.fai.simkovicp.pki.sign.signer.SignerFactory

public class SignerFactory
extends java.lang.Object

This factory class provides the document signers.


Nested Class Summary
static class SignerFactory.XmlSigner
          This enumeration represents the XML signers.
 
Constructor Summary
SignerFactory()
           
 
Method Summary
static PDFSignable getPDFSigner()
          Returns the PDF document signer.
static XMLSignable getXMLSigner(SignerFactory.XmlSigner xmlSigner)
          Returns the XML document signer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SignerFactory

public SignerFactory()
Method Detail

getPDFSigner

public static PDFSignable getPDFSigner()
Returns the PDF document signer.

Returns:
the PDF document signer

getXMLSigner

public static XMLSignable getXMLSigner(SignerFactory.XmlSigner xmlSigner)
Returns the XML document signer.

Parameters:
xmlSigner - the type of signer
Returns:
the XML document signer