at.gv.egiz.pdfas.api.commons
Class Constants

java.lang.Object
  extended byat.gv.egiz.pdfas.api.commons.Constants

public final class Constants
extends Object

Contains commonly used constants.

Author:
wprinz

Field Summary
static String ADOBE_SIG_FILTER
           
static String BKU_HEADER_SIGNATURE_LAYOUT
           
static String CONFIG_DIR_SYSTEM_PROPERTY
          The system property that may be used to declare the pdf-as configuration folder.
static String DEFAULT_CONFIGURATION_ZIP_RESOURCE
          The zip file containing the default configuration.
static String SIGNATURE_DEVICE_A1
          The signature device a1.
static String SIGNATURE_DEVICE_BKU
          The signature device bku.
static String SIGNATURE_DEVICE_MOA
          The signature device moa.
static String SIGNATURE_DEVICE_MOC
          The signature device MOCCA (online bku).
static String SIGNATURE_TYPE_BINARY
          A binary signature.
static String SIGNATURE_TYPE_DETACHEDTEXTUAL
          A "detached" textual signature.
static String SIGNATURE_TYPE_TEXTUAL
          A textual signature.
static String TEMP_DIR_NAME
          The name of the directory, where temporary files are stored.
static String USERHOME_CONFIG_FOLDER
          The configuration folder for pdf-as within the user's home folder.
static int VERIFY_ALL
          All signatures are verified.
static String VERIFY_MODE_BINARY_ONLY
          Only binary signatures are verified.
static String VERIFY_MODE_FULL_CONSERVATIVE
          Binary and textual signatures are verified.
static String VERIFY_MODE_SEMI_CONSERVATIVE
          Binary and textual signatures are verified with time optimization.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIGNATURE_TYPE_BINARY

public static final String SIGNATURE_TYPE_BINARY
A binary signature. This value should not be modified due to external dependencies!

See Also:
Constant Field Values

SIGNATURE_TYPE_TEXTUAL

public static final String SIGNATURE_TYPE_TEXTUAL
A textual signature. This value should not be modified due to external dependencies!

See Also:
Constant Field Values

SIGNATURE_TYPE_DETACHEDTEXTUAL

public static final String SIGNATURE_TYPE_DETACHEDTEXTUAL
A "detached" textual signature.

The document text is signed, but instead of returning the pdf with the signature block, the sign result XML of the connector is returned.

See Also:
Constant Field Values

SIGNATURE_DEVICE_MOA

public static final String SIGNATURE_DEVICE_MOA
The signature device moa. This value should not be modified due to external dependencies!

See Also:
Constant Field Values

SIGNATURE_DEVICE_BKU

public static final String SIGNATURE_DEVICE_BKU
The signature device bku. This value should not be modified due to external dependencies!

See Also:
Constant Field Values

SIGNATURE_DEVICE_A1

public static final String SIGNATURE_DEVICE_A1
The signature device a1. This value should not be modified due to external dependencies!

See Also:
Constant Field Values

SIGNATURE_DEVICE_MOC

public static final String SIGNATURE_DEVICE_MOC
The signature device MOCCA (online bku). This value should not be modified due to external dependencies!

See Also:
Constant Field Values

VERIFY_MODE_BINARY_ONLY

public static final String VERIFY_MODE_BINARY_ONLY
Only binary signatures are verified.

See Also:
Constant Field Values

VERIFY_MODE_SEMI_CONSERVATIVE

public static final String VERIFY_MODE_SEMI_CONSERVATIVE
Binary and textual signatures are verified with time optimization.

This mode of operation tries to minimize the numbers of text extractions, which are very time intensive, at the cost of some rare cases, in which some signatures may not be found.

See Also:
Constant Field Values

VERIFY_MODE_FULL_CONSERVATIVE

public static final String VERIFY_MODE_FULL_CONSERVATIVE
Binary and textual signatures are verified.

See Also:
Constant Field Values

VERIFY_ALL

public static final int VERIFY_ALL
All signatures are verified.

See Also:
Constant Field Values

CONFIG_DIR_SYSTEM_PROPERTY

public static final String CONFIG_DIR_SYSTEM_PROPERTY
The system property that may be used to declare the pdf-as configuration folder.

See Also:
Constant Field Values

DEFAULT_CONFIGURATION_ZIP_RESOURCE

public static final String DEFAULT_CONFIGURATION_ZIP_RESOURCE
The zip file containing the default configuration.

See Also:
Constant Field Values

USERHOME_CONFIG_FOLDER

public static final String USERHOME_CONFIG_FOLDER
The configuration folder for pdf-as within the user's home folder.

See Also:
Constant Field Values

TEMP_DIR_NAME

public static final String TEMP_DIR_NAME
The name of the directory, where temporary files are stored.

See Also:
Constant Field Values

BKU_HEADER_SIGNATURE_LAYOUT

public static final String BKU_HEADER_SIGNATURE_LAYOUT
See Also:
Constant Field Values

ADOBE_SIG_FILTER

public static final String ADOBE_SIG_FILTER
See Also:
Constant Field Values


Copyright © 2006-2010. All Rights Reserved.