|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.knowcenter.wag.egov.egiz.framework.SignatorFactory
public abstract class SignatorFactory
This factory creates instances of Signator classes corresponding to the given PdfAS Algorithm IDs.
| Field Summary | |
|---|---|
static PdfASID |
MOST_RECENT_BINARY_SIGNATOR_ID
The most recent binary algorithm this application provides. |
static PdfASID |
MOST_RECENT_DETACHED_SIGNATOR_ID
The most recent test algorithm this application provides. |
static PdfASID |
MOST_RECENT_TEXTUAL_SIGNATOR_ID
The most recent textual algorithm this application provides. |
static String |
TYPE_BINARY
The binary Signator algorithm. |
static String |
TYPE_TEST
This signator is only for testing the framework. |
static String |
TYPE_TEXTUAL
The textual Signator algorithm. |
static String |
VENDOR
The Vendor. |
static String |
VERSION_1_0_0
This application's current algorithm versions. |
| Constructor Summary | |
|---|---|
SignatorFactory()
|
|
| Method Summary | |
|---|---|
static Signator |
createMostRecentSignator(String signator_type)
Creates the most recent signator the application provides for the given type. |
static Signator |
createSignator(PdfASID id)
Creates a Signator for the given ID. |
static String[] |
getAvailableTyes()
Returns the list of available Signator algorithms of this application. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String VENDOR
public static final String TYPE_BINARY
public static final String TYPE_TEXTUAL
public static final String TYPE_TEST
public static final String VERSION_1_0_0
public static final PdfASID MOST_RECENT_BINARY_SIGNATOR_ID
public static final PdfASID MOST_RECENT_TEXTUAL_SIGNATOR_ID
public static final PdfASID MOST_RECENT_DETACHED_SIGNATOR_ID
| Constructor Detail |
|---|
public SignatorFactory()
| Method Detail |
|---|
public static Signator createSignator(PdfASID id)
throws SignatorFactoryException
id - The ID of the Signator to be created.
SignatorFactoryException - Thrown, if there is no appropriate Signator for the given ID.
public static Signator createMostRecentSignator(String signator_type)
throws SignatorFactoryException
signator_type - The type of the signator to be created (see the type field of
PdfASID).
SignatorFactoryException - Thrown, if the type is unknown.public static String[] getAvailableTyes()
Use createMostRecentSignator to create the most recent signator for the type.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||