aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:25:42 +0000
committerknowcenter <knowcenter@7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c>2007-08-24 11:25:42 +0000
commita0573ca917785863bc69f5399ab43ed7981c500f (patch)
treea4a6c95c388534738390ccafa14e873e0ed508bb
parent0325a866b68fe376e095025aea4093b378d78b5f (diff)
downloadpdf-as-3-a0573ca917785863bc69f5399ab43ed7981c500f.tar.gz
pdf-as-3-a0573ca917785863bc69f5399ab43ed7981c500f.tar.bz2
pdf-as-3-a0573ca917785863bc69f5399ab43ed7981c500f.zip
TR: Update zu SwA-Kommunikation mit MOA-SS/SP
git-svn-id: https://joinup.ec.europa.eu/svn/pdf-as/trunk@193 7b5415b0-85f9-ee4d-85bd-d5d0c3b42d1c
-rw-r--r--src/main/java/at/knowcenter/wag/egov/egiz/commandline/Main.java31
1 files changed, 16 insertions, 15 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 ee12fff..b042360 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
@@ -399,7 +399,7 @@ public abstract class Main
}
carryOutCommand(mode, signature_mode, connector, signature_type, user_name, user_password, verify_which, input, output, pos_string);
-
+
}
catch (PresentableException e)
{
@@ -441,9 +441,10 @@ public abstract class Main
// }
PrintWriter messageOutput = new PrintWriter(System.out);
-
+
+
if (mode.equals(VALUE_MODE_SIGN))
- {
+ {
carryOutSign(input, connector, signature_mode, signature_type, pos_string, user_name, user_password, output, messageOutput);
}
else
@@ -556,18 +557,18 @@ public abstract class Main
// 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);
-
- if (signature_mode.equals(VALUE_SIGNATURE_MODE_BINARY))
- {
- signatorId = BinarySignator_1_0_0.MY_ID;
- }
- if (signature_mode.equals(VALUE_SIGNATURE_MODE_TEXTUAL))
- {
- signatorId = TextualSignator_1_0_0.MY_ID;
- }
+// 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);
+//
+// if (signature_mode.equals(VALUE_SIGNATURE_MODE_BINARY))
+// {
+// signatorId = BinarySignator_1_0_0.MY_ID;
+// }
+// if (signature_mode.equals(VALUE_SIGNATURE_MODE_TEXTUAL))
+// {
+// signatorId = TextualSignator_1_0_0.MY_ID;
+// }
}
logger_.debug("Finally used sign algorithm = " + signatorId);