diff options
Diffstat (limited to 'src/main/java/at/knowcenter/wag/egov/egiz/commandline')
-rw-r--r-- | src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java b/src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java index 73ee69a..989bbd4 100644 --- a/src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java +++ b/src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java @@ -152,7 +152,7 @@ public abstract class Main SettingsReader.initializeForCommandLine();
PropertyConfigurator.configure(SettingsReader.CONFIG_PATH + "log4j.properties");
-
+
try
{
// printUsage(System.out);
@@ -170,7 +170,7 @@ public abstract class Main String input = null;
String output = null;
-
+
// for (int i = 0; i < args.length; i++)
// {
// logger_.debug("arg[" + i + "] = " + args[i]);
@@ -470,13 +470,15 @@ public abstract class Main }
}
-
+
PdfASID algorithm = translateSignatureModeToPdfASID(signature_mode);
// TODO MOA detached signing is not allowed at the commandline
logger_.debug("Suggested sign algorithm = " + algorithm);
if (connector.equals("moa"))
{
+ // TODO: possible new implementation of moa where is commandline call supported
+ // it should be checked in config file is it allowed to use MOA detached from command line.
String msg = "Hinweis: Der MOA Detached Connector ist für die Kommandozeile nicht geeignet. Die Signatur wird daher im alten Base64 enveloping Format ausgeführt.";
System.out.println(msg);
logger_.warn(msg);
|