public class PdfAsFactory extends Object
Constructor and Description |
---|
PdfAsFactory() |
Modifier and Type | Method and Description |
---|---|
static PdfAs |
createPdfAs(File configuration)
Create a new instance of PDF-AS
|
static SignParameter |
createSignParameter(Configuration configuration,
DataSource dataSource)
Creates a sign parameter
|
static VerifyParameter |
createVerifyParameter(Configuration configuration,
DataSource dataSource)
Creates a verification parameter
|
static void |
deployDefaultConfiguration(File targetDirectory)
Deploy default configuration to targetDirectory
The targetDirectory will be deleted and
|
static void |
dontConfigureLog4j() |
static String |
getSCMRevision()
Gets the PDF-AS SCM Revision
|
static String |
getVersion()
Gets the PDF-AS Version
|
public static void dontConfigureLog4j()
public static PdfAs createPdfAs(File configuration)
configuration
- The PDF-AS configurationpublic static SignParameter createSignParameter(Configuration configuration, DataSource dataSource)
configuration
- The configuration to be useddataSource
- The data source to be usedpublic static VerifyParameter createVerifyParameter(Configuration configuration, DataSource dataSource)
configuration
- The configuration to be useddataSource
- The data source to be usedpublic static void deployDefaultConfiguration(File targetDirectory) throws Exception
targetDirectory
- Exception
public static String getSCMRevision()
public static String getVersion()