summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BKULocal/pom.xml2
-rw-r--r--Mocca-Installer/installer/create_installer.sh2
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Info.plistbin1682 -> 784 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_eccelerate-3.01.jarbin360910 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_xsect_signed-1.17.jarbin383964 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip128.pngbin7775 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip16.pngbin787 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip24.pngbin1227 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip32.pngbin1753 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip48.pngbin2771 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/splash.pngbin41455 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/version.xml52
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/mocca.jnlp94
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/player.jnlp3
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/JavaAppLauncherbin18604 -> 0 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/Moccabin0 -> 119104 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/AppSettings.plistbin0 -> 488 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/designable.nib569
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/keyedobjects.nibbin0 -> 28926 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/appIcon.icnsbin0 -> 45926 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/BKUCertificates-1.1.17-SNAPSHOT.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUCertificates-1.1.17-SNAPSHOT.jar)bin324992 -> 324990 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/FastInfoset-1.2.13.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/FastInfoset-1.2.13.jar)bin316447 -> 316447 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/commons-io-2.5.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/commons-io-2.5.jar)bin223375 -> 223375 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_eccelerate-5.0.jarbin0 -> 572329 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_jce_full_signed-5.52.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_jce_full_signed-5.5.jar)bin1246087 -> 1261696 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_xsect-2.13.jarbin0 -> 416312 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/istack-commons-runtime-3.0.5.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/istack-commons-runtime-3.0.5.jar)bin30207 -> 30207 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-api-2.3.0.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-api-2.3.0.jar)bin141177 -> 141177 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-core-2.3.0.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-core-2.3.0.jar)bin172835 -> 172835 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-runtime-2.3.0.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-runtime-2.3.0.jar)bin1017547 -> 1017547 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-6.1.19.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-6.1.19.jar)bin555052 -> 555052 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-util-6.1.19.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-util-6.1.19.jar)bin187994 -> 187994 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/log4j-1.2.17.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/log4j-1.2.17.jar)bin521905 -> 521905 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/mocca.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUWebStart-1.3.35-SNAPSHOT.jar)bin18248528 -> 18614983 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/servlet-api-2.5-20081211.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/servlet-api-2.5-20081211.jar)bin144393 -> 144393 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/sjsxp-1.0.2.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/sjsxp-1.0.2.jar)bin357880 -> 357880 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-api-1.6.4.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-api-1.6.4.jar)bin31899 -> 31899 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-log4j12-1.6.4.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-log4j12-1.6.4.jar)bin13965 -> 13965 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-api-1.0.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-api-1.0.jar)bin33174 -> 33174 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-ex-1.7.8.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-ex-1.7.8.jar)bin39921 -> 39921 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/txw2-2.3.0.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/txw2-2.3.0.jar)bin78160 -> 78160 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/utils-1.3.35-SNAPSHOT.jar (renamed from Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/utils-1.3.35-SNAPSHOT.jar)bin507028 -> 507054 bytes
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/en.lproj/Localizable.strings3
-rw-r--r--Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/script3
-rw-r--r--Mocca-Installer/installer/files/mac/mocca_mac.sh6
-rw-r--r--bkucommon/pom.xml7
-rw-r--r--bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/STALSignatureMethod.java283
-rw-r--r--bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/cms/SignatureTest.java260
-rw-r--r--pom.xml15
-rw-r--r--utils/pom.xml2
-rw-r--r--utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java3
51 files changed, 861 insertions, 443 deletions
diff --git a/BKULocal/pom.xml b/BKULocal/pom.xml
index 922a9b51..6be593c9 100644
--- a/BKULocal/pom.xml
+++ b/BKULocal/pom.xml
@@ -144,7 +144,7 @@
</dependency>
<dependency>
<groupId>iaik</groupId>
- <artifactId>iaik_xsect_signed</artifactId>
+ <artifactId>iaik_xsect</artifactId>
</dependency>
<dependency>
<groupId>iaik</groupId>
diff --git a/Mocca-Installer/installer/create_installer.sh b/Mocca-Installer/installer/create_installer.sh
index 72a5b2cf..e2a18bc8 100644
--- a/Mocca-Installer/installer/create_installer.sh
+++ b/Mocca-Installer/installer/create_installer.sh
@@ -62,7 +62,7 @@ echo generating linux zip... done!
echo generating mac app...
cd mac
rm -rf Mocca.app/Contents/Java/*
-cp -r bin/ Mocca.app/Contents/Java/
+cp -r bin/* Mocca.app/Contents/Resources/bin/
cd ..
echo generating mac app... done!
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Info.plist b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Info.plist
index eb4095cc..fef18036 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Info.plist
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Info.plist
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_eccelerate-3.01.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_eccelerate-3.01.jar
deleted file mode 100644
index 9d5cacce..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_eccelerate-3.01.jar
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_xsect_signed-1.17.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_xsect_signed-1.17.jar
deleted file mode 100644
index e786aa68..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_xsect_signed-1.17.jar
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip128.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip128.png
deleted file mode 100644
index c36d8079..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip128.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip16.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip16.png
deleted file mode 100644
index 96b580e9..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip16.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip24.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip24.png
deleted file mode 100644
index efd6dbeb..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip24.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip32.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip32.png
deleted file mode 100644
index e7efb020..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip32.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip48.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip48.png
deleted file mode 100644
index 491fbcac..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/chip48.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/splash.png b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/splash.png
deleted file mode 100644
index 597fbc60..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/splash.png
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/version.xml b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/version.xml
deleted file mode 100644
index 944406eb..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/img/version.xml
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jnlp-versions>
- <resource>
- <pattern>
- <name>chip16.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip16.png</file>
- </resource>
- <resource>
- <pattern>
- <name>chip24.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip24.png</file>
- </resource>
- <resource>
- <pattern>
- <name>chip32.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip32.png</file>
- </resource>
- <resource>
- <pattern>
- <name>chip48.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip48.png</file>
- </resource>
- <resource>
- <pattern>
- <name>chip64.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip64.png</file>
- </resource>
- <resource>
- <pattern>
- <name>chip128.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>chip128.png</file>
- </resource>
- <resource>
- <pattern>
- <name>splash.png</name>
- <version-id>2.0</version-id>
- </pattern>
- <file>splash.png</file>
- </resource>
-</jnlp-versions>
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/mocca.jnlp b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/mocca.jnlp
deleted file mode 100644
index 8575eda8..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/mocca.jnlp
+++ /dev/null
@@ -1,94 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<jnlp spec="1.0+" codebase="http://localhost:8080/webstart/" context="http://localhost:8080/" href="mocca.jnlp">
-
- <information>
- <title>MOCCA Webstart Unstable</title>
- <vendor>E-Government Innovationszentrum (EGIZ)</vendor>
- <homepage href="http://joinup.ec.europa.eu/site/mocca/"/>
- <description>MOCCA Webstart - Unstable Build</description>
- <description kind="short">MOCCA Webstart Unstable</description>
- <icon kind="shortcut" href="img/chip16.png" width="16" height="16"/>
- <icon kind="shortcut" href="img/chip24.png" width="24" height="24"/>
- <icon kind="shortcut" href="img/chip32.png" width="32" height="32"/>
- <icon kind="shortcut" href="img/chip48.png" width="48" height="48"/>
- <icon kind="shortcut" href="img/chip128.png" width="128" height="128"/>
- <icon kind="default" href="img/chip16.png" width="16" height="16"/>
- <icon kind="default" href="img/chip24.png" width="24" height="24"/>
- <icon kind="default" href="img/chip32.png" width="32" height="32"/>
- <icon kind="default" href="img/chip48.png" width="48" height="48"/>
- <icon kind="default" href="img/chip128.png" width="128" height="128"/>
- <icon kind="splash" href="img/splash.png"/>
- <shortcut online="true">
- <desktop/>
- <menu submenu="e-Government"/>
- </shortcut>
-
- <offline-allowed/>
-
- </information>
-
- <security>
- <all-permissions/>
- </security>
-
- <update check="timeout" policy="prompt-update"/>
-
- <resources os="Mac OS X">
- <java version="1.7+" />
- <java version="1.6" java-vm-args="-d32"/>
-
- <jar href="BKUWebStart-1.3.35-SNAPSHOT.jar" main="true"/>
- <jar href="BKUCertificates-1.1.17-SNAPSHOT.jar"/>
- <jar href="iaik_jce_full_signed-5.5.jar"/>
- <jar href="utils-1.3.35-SNAPSHOT.jar"/>
- <jar href="iaik_eccelerate-3.01.jar"/>
- <jar href="iaik_xsect_signed-1.17.jar"/>
- <jar href="jaxb-runtime-2.3.0.jar"/>
- <jar href="jaxb-core-2.3.0.jar"/>
- <jar href="jaxb-api-2.3.0.jar"/>
- <jar href="txw2-2.3.0.jar"/>
- <jar href="istack-commons-runtime-3.0.5.jar"/>
- <jar href="stax-ex-1.7.8.jar"/>
- <jar href="FastInfoset-1.2.13.jar"/>
- <jar href="sjsxp-1.0.2.jar"/>
- <jar href="stax-api-1.0.jar"/>
- <jar href="commons-io-2.5.jar"/>
- <jar href="jetty-6.1.19.jar"/>
- <jar href="jetty-util-6.1.19.jar"/>
- <jar href="servlet-api-2.5-20081211.jar"/>
- <jar href="slf4j-api-1.6.4.jar"/>
- <jar href="slf4j-log4j12-1.6.4.jar"/>
- <jar href="log4j-1.2.17.jar"/>
-
- </resources>
-
- <resources>
- <java version="1.6+"/>
-
- <jar href="BKUWebStart-1.3.35-SNAPSHOT.jar" main="true"/>
- <jar href="BKUCertificates-1.1.17-SNAPSHOT.jar"/>
- <jar href="iaik_jce_full_signed-5.5.jar"/>
- <jar href="utils-1.3.35-SNAPSHOT.jar"/>
- <jar href="iaik_eccelerate-3.01.jar"/>
- <jar href="iaik_xsect_signed-1.17.jar"/>
- <jar href="jaxb-runtime-2.3.0.jar"/>
- <jar href="jaxb-core-2.3.0.jar"/>
- <jar href="jaxb-api-2.3.0.jar"/>
- <jar href="txw2-2.3.0.jar"/>
- <jar href="istack-commons-runtime-3.0.5.jar"/>
- <jar href="stax-ex-1.7.8.jar"/>
- <jar href="FastInfoset-1.2.13.jar"/>
- <jar href="sjsxp-1.0.2.jar"/>
- <jar href="stax-api-1.0.jar"/>
- <jar href="commons-io-2.5.jar"/>
- <jar href="jetty-6.1.19.jar"/>
- <jar href="jetty-util-6.1.19.jar"/>
- <jar href="servlet-api-2.5-20081211.jar"/>
- <jar href="slf4j-api-1.6.4.jar"/>
- <jar href="slf4j-log4j12-1.6.4.jar"/>
- <jar href="log4j-1.2.17.jar"/>
-
- </resources>
-
- <application-desc main-class="at.gv.egiz.bku.webstart.Launcher"/>
-</jnlp>
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/player.jnlp b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/player.jnlp
deleted file mode 100644
index d4f97dbc..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/player.jnlp
+++ /dev/null
@@ -1,3 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!-- Jump specific JNL file for launching the player -->
-<player/> \ No newline at end of file
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/JavaAppLauncher b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/JavaAppLauncher
deleted file mode 100644
index 7bddebea..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/JavaAppLauncher
+++ /dev/null
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/Mocca b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/Mocca
new file mode 100644
index 00000000..d4f44596
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/MacOS/Mocca
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/AppSettings.plist b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/AppSettings.plist
new file mode 100644
index 00000000..5bcfa127
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/AppSettings.plist
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/designable.nib b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/designable.nib
new file mode 100644
index 00000000..014a9a73
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/designable.nib
@@ -0,0 +1,569 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="11762" systemVersion="16D32" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+ <dependencies>
+ <deployment identifier="macosx"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="11762"/>
+ <plugIn identifier="com.apple.WebKitIBPlugin" version="11762"/>
+ <capability name="box content view" minToolsVersion="7.0"/>
+ <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
+ </dependencies>
+ <objects>
+ <customObject id="-2" userLabel="File's Owner" customClass="NSApplication">
+ <connections>
+ <outlet property="delegate" destination="207" id="210"/>
+ </connections>
+ </customObject>
+ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+ <customObject id="-3" userLabel="Application" customClass="NSObject">
+ <connections>
+ <outlet property="delegate" destination="207" id="446"/>
+ </connections>
+ </customObject>
+ <customObject id="207" userLabel="ScriptExecController" customClass="ScriptExecController">
+ <connections>
+ <outlet property="aboutMenuItem" destination="232" id="238"/>
+ <outlet property="dropletBox" destination="494" id="502"/>
+ <outlet property="dropletDropFilesLabel" destination="499" id="507"/>
+ <outlet property="dropletMessageTextField" destination="505" id="508"/>
+ <outlet property="dropletProgressIndicator" destination="496" id="504"/>
+ <outlet property="dropletShaderView" destination="519" id="w2q-dA-smc"/>
+ <outlet property="dropletWindow" destination="490" id="512"/>
+ <outlet property="hideMenuItem" destination="134" id="239"/>
+ <outlet property="openRecentMenuItem" destination="FvD-xH-BRz" id="V8D-h2-Uw1"/>
+ <outlet property="progressBarCancelButton" destination="206" id="299"/>
+ <outlet property="progressBarDetailsLabel" destination="290" id="300"/>
+ <outlet property="progressBarDetailsTriangle" destination="288" id="301"/>
+ <outlet property="progressBarIndicator" destination="204" id="298"/>
+ <outlet property="progressBarMessageTextField" destination="205" id="297"/>
+ <outlet property="progressBarTextView" destination="307" id="516"/>
+ <outlet property="progressBarWindow" destination="21" id="296"/>
+ <outlet property="quitMenuItem" destination="136" id="240"/>
+ <outlet property="textWindow" destination="216" id="dD5-aT-ujC"/>
+ <outlet property="textWindowCancelButton" destination="220" id="uuU-Xb-xDZ"/>
+ <outlet property="textWindowMessageTextField" destination="366" id="bT3-oV-9zc"/>
+ <outlet property="textWindowProgressIndicator" destination="230" id="AXd-F1-wQr"/>
+ <outlet property="textWindowTextView" destination="225" id="FZy-wJ-th1"/>
+ <outlet property="webView" destination="258" id="GEt-Hd-OFL"/>
+ <outlet property="webViewCancelButton" destination="251" id="i5n-LY-nJs"/>
+ <outlet property="webViewMessageTextField" destination="509" id="Unv-5h-E6P"/>
+ <outlet property="webViewProgressIndicator" destination="277" id="Hun-a2-4wC"/>
+ <outlet property="webViewWindow" destination="247" id="9lw-Pg-xRw"/>
+ <outlet property="windowMenu" destination="24" id="328"/>
+ </connections>
+ </customObject>
+ <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="ProgressBarWindow" animationBehavior="default" id="21" userLabel="ProgressWindow">
+ <windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES"/>
+ <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+ <rect key="contentRect" x="472" y="537" width="438" height="83"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
+ <value key="minSize" type="size" width="438" height="83"/>
+ <value key="maxSize" type="size" width="600" height="83"/>
+ <view key="contentView" id="2">
+ <rect key="frame" x="0.0" y="0.0" width="438" height="83"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <progressIndicator wantsLayer="YES" verticalHuggingPriority="750" maxValue="100" bezeled="NO" indeterminate="YES" style="bar" id="204">
+ <rect key="frame" x="18" y="27" width="310" height="20"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ </progressIndicator>
+ <textField verticalHuggingPriority="750" id="205">
+ <rect key="frame" x="18" y="55" width="403" height="17"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ <textFieldCell key="cell" lineBreakMode="clipping" sendsActionOnEndEditing="YES" baseWritingDirection="leftToRight" alignment="left" id="472">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <button verticalHuggingPriority="750" id="206">
+ <rect key="frame" x="338" y="20" width="86" height="32"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="push" title="Quit" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="473">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+ </buttonCell>
+ <connections>
+ <action selector="cancel:" target="207" id="215"/>
+ </connections>
+ </button>
+ <button toolTip="Show details" horizontalHuggingPriority="750" verticalHuggingPriority="750" id="288">
+ <rect key="frame" x="20" y="10" width="13" height="13"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <buttonCell key="cell" type="disclosureTriangle" bezelStyle="disclosure" imagePosition="above" alignment="left" controlSize="small" borderStyle="border" inset="2" id="474">
+ <behavior key="behavior" pushIn="YES" changeBackground="YES" changeGray="YES" lightByContents="YES"/>
+ <font key="font" metaFont="smallSystem"/>
+ </buttonCell>
+ <connections>
+ <action selector="toggleDetails:" target="207" id="303"/>
+ </connections>
+ </button>
+ <textField verticalHuggingPriority="750" id="290">
+ <rect key="frame" x="33" y="7" width="41" height="17"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Details" id="475">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="304">
+ <rect key="frame" x="20" y="-203" width="393" height="202"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ <clipView key="contentView" copiesOnScroll="NO" id="2mm-QF-kpX">
+ <rect key="frame" x="1" y="1" width="391" height="200"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <textView editable="NO" importsGraphics="NO" richText="NO" findStyle="panel" allowsDocumentBackgroundColorChange="YES" linkDetection="YES" id="307">
+ <rect key="frame" x="0.0" y="0.0" width="391" height="200"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <size key="minSize" width="391" height="200"/>
+ <size key="maxSize" width="463" height="10000000"/>
+ <color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
+ <connections>
+ <outlet property="delegate" destination="207" id="489"/>
+ </connections>
+ </textView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ </clipView>
+ <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="481">
+ <rect key="frame" x="-100" y="-100" width="87" height="18"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="0.39849624060150374" horizontal="NO" id="480">
+ <rect key="frame" x="323" y="1" width="15" height="200"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ </scrollView>
+ </subviews>
+ </view>
+ <connections>
+ <outlet property="delegate" destination="207" id="377"/>
+ </connections>
+ <point key="canvasLocation" x="67" y="301.5"/>
+ </window>
+ <menu title="MainMenu" systemMenu="main" id="29" userLabel="MainMenu">
+ <items>
+ <menuItem title="Application" id="56">
+ <menu key="submenu" title="Application" systemMenu="apple" id="57">
+ <items>
+ <menuItem title="About" id="232">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <connections>
+ <action selector="orderFrontStandardAboutPanel:" target="-2" id="237"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="233">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Services" id="235">
+ <menu key="submenu" title="Services" systemMenu="services" id="234"/>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="236">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Hide" keyEquivalent="h" id="134">
+ <connections>
+ <action selector="hide:" target="-2" id="152"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Hide Others" keyEquivalent="h" id="145">
+ <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
+ <connections>
+ <action selector="hideOtherApplications:" target="-2" id="146"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Show All" id="150">
+ <connections>
+ <action selector="unhideAllApplications:" target="-2" id="153"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="149">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Quit" keyEquivalent="q" id="136">
+ <connections>
+ <action selector="terminate:" target="-2" id="139"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem title="File" id="83">
+ <menu key="submenu" title="File" id="81">
+ <items>
+ <menuItem title="Open…" keyEquivalent="o" id="72">
+ <connections>
+ <action selector="openFiles:" target="207" id="524"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Open Recent" id="FvD-xH-BRz">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ <menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="QHk-NS-To3">
+ <items>
+ <menuItem title="Clear Menu" id="CWw-N0-5lz">
+ <modifierMask key="keyEquivalentModifierMask"/>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="79">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Close" keyEquivalent="w" id="73">
+ <connections>
+ <action selector="performClose:" target="-1" id="193"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Save to File…" keyEquivalent="s" id="75">
+ <connections>
+ <action selector="saveToFile:" target="207" id="523"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="74">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Page Setup…" keyEquivalent="P" id="77">
+ <connections>
+ <action selector="runPageLayout:" target="-1" id="87"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Print…" keyEquivalent="p" id="78">
+ <connections>
+ <action selector="print:" target="-1" id="86"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem title="Edit" id="163">
+ <menu key="submenu" title="Edit" id="8AD-nO-Nv5">
+ <items>
+ <menuItem title="Undo" keyEquivalent="z" id="WsN-Bo-RAi">
+ <connections>
+ <action selector="undo:" target="-1" id="swp-Rd-xai"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Redo" keyEquivalent="z" id="lwR-9k-Jds">
+ <modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/>
+ <connections>
+ <action selector="redo:" target="-1" id="t0d-JF-Jxf"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="f7y-jW-w4a">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Cut" keyEquivalent="x" id="gYg-Fm-Vd0">
+ <connections>
+ <action selector="cut:" target="-1" id="uo1-1q-hcK"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Copy" keyEquivalent="c" id="gPx-QX-E5Y">
+ <connections>
+ <action selector="copy:" target="-1" id="dyg-Qh-MrF"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Paste" keyEquivalent="v" id="Onj-KJ-eWD">
+ <connections>
+ <action selector="paste:" target="-1" id="ZQo-9c-pWs"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Delete" id="NRV-Nu-dQo">
+ <connections>
+ <action selector="delete:" target="-1" id="PJy-am-8nR"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Select All" keyEquivalent="a" id="aZ7-KE-7Nh">
+ <connections>
+ <action selector="selectAll:" target="-1" id="gnq-iF-2hE"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="ckZ-kQ-yF7">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Find" id="EgA-FB-eXQ">
+ <menu key="submenu" title="Find" id="xIX-bE-bd8">
+ <items>
+ <menuItem title="Find…" tag="1" keyEquivalent="f" id="3k0-IU-cL5">
+ <connections>
+ <action selector="performFindPanelAction:" target="-1" id="wAh-50-CiI"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Find Next" tag="2" keyEquivalent="g" id="EAX-qd-XMX">
+ <connections>
+ <action selector="performFindPanelAction:" target="-1" id="LvO-Xz-du1"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Find Previous" tag="3" keyEquivalent="G" id="n5T-AH-BNm">
+ <connections>
+ <action selector="performFindPanelAction:" target="-1" id="FgQ-Gb-Qnu"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Use Selection for Find" tag="7" keyEquivalent="e" id="xKU-AA-Gj3">
+ <connections>
+ <action selector="performFindPanelAction:" target="-1" id="j7C-hb-eo3"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Jump to Selection" keyEquivalent="j" id="mpE-JG-s67">
+ <connections>
+ <action selector="centerSelectionInVisibleArea:" target="-1" id="H4Z-6R-SO2"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem title="View" id="KUk-6o-tke">
+ <menu key="submenu" title="View" id="ITS-DI-OJD">
+ <items>
+ <menuItem title="Make Text Bigger" keyEquivalent="+" id="Qae-cV-V7J">
+ <connections>
+ <action selector="makeTextBigger:" target="207" id="cHK-EO-JtV"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Make Text Smaller" keyEquivalent="-" id="Gv4-oc-1eL">
+ <connections>
+ <action selector="makeTextSmaller:" target="207" id="JTY-6k-ZKY"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ <menuItem title="Window" id="19">
+ <menu key="submenu" title="Window" systemMenu="window" id="24">
+ <items>
+ <menuItem title="Zoom" keyEquivalent="z" id="197">
+ <modifierMask key="keyEquivalentModifierMask" shift="YES" command="YES"/>
+ <connections>
+ <action selector="performZoom:" target="-1" id="198"/>
+ </connections>
+ </menuItem>
+ <menuItem title="Minimize" keyEquivalent="m" id="23">
+ <connections>
+ <action selector="performMiniaturize:" target="-1" id="37"/>
+ </connections>
+ </menuItem>
+ <menuItem isSeparatorItem="YES" id="322">
+ <modifierMask key="keyEquivalentModifierMask" command="YES"/>
+ </menuItem>
+ <menuItem title="Bring All to Front" id="5">
+ <connections>
+ <action selector="arrangeInFront:" target="-1" id="39"/>
+ </connections>
+ </menuItem>
+ </items>
+ </menu>
+ </menuItem>
+ </items>
+ <connections>
+ <outlet property="delegate" destination="207" id="525"/>
+ </connections>
+ <point key="canvasLocation" x="-21" y="164"/>
+ </menu>
+ <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="TextWindow" animationBehavior="default" id="216" userLabel="TextOutputWindow">
+ <windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES"/>
+ <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+ <rect key="contentRect" x="297" y="408" width="508" height="392"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
+ <value key="minSize" type="size" width="400" height="200"/>
+ <view key="contentView" id="217">
+ <rect key="frame" x="0.0" y="0.0" width="508" height="392"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button verticalHuggingPriority="750" id="220">
+ <rect key="frame" x="416" y="7" width="86" height="32"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
+ <buttonCell key="cell" type="push" title="Quit" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="476">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+ </buttonCell>
+ <connections>
+ <action selector="cancel:" target="207" id="223"/>
+ </connections>
+ </button>
+ <scrollView autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" id="226">
+ <rect key="frame" x="9" y="45" width="489" height="339"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <clipView key="contentView" drawsBackground="NO" copiesOnScroll="NO" id="Hk1-72-Owa">
+ <rect key="frame" x="1" y="1" width="487" height="337"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <textView editable="NO" importsGraphics="NO" richText="NO" usesFontPanel="YES" findStyle="panel" allowsDocumentBackgroundColorChange="YES" linkDetection="YES" id="225">
+ <rect key="frame" x="0.0" y="0.0" width="487" height="337"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ <size key="minSize" width="487" height="337"/>
+ <size key="maxSize" width="489" height="10000000"/>
+ <color key="insertionPointColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
+ <connections>
+ <outlet property="delegate" destination="207" id="488"/>
+ </connections>
+ </textView>
+ </subviews>
+ <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
+ </clipView>
+ <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="YES" id="483">
+ <rect key="frame" x="-100" y="-100" width="87" height="18"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" doubleValue="1" horizontal="NO" id="482">
+ <rect key="frame" x="-30" y="1" width="15" height="340"/>
+ <autoresizingMask key="autoresizingMask"/>
+ </scroller>
+ </scrollView>
+ <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="230">
+ <rect key="frame" x="15" y="18" width="16" height="16"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ </progressIndicator>
+ <textField verticalHuggingPriority="750" id="366">
+ <rect key="frame" x="43" y="17" width="357" height="17"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
+ <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="477">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ </subviews>
+ </view>
+ <connections>
+ <outlet property="delegate" destination="207" id="376"/>
+ </connections>
+ <point key="canvasLocation" x="-478" y="370"/>
+ </window>
+ <window allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="WebViewWindow" animationBehavior="default" id="247" userLabel="WebOutputWindow">
+ <windowStyleMask key="styleMask" titled="YES" miniaturizable="YES" resizable="YES"/>
+ <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+ <rect key="contentRect" x="297" y="408" width="508" height="392"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
+ <value key="minSize" type="size" width="400" height="200"/>
+ <view key="contentView" id="248">
+ <rect key="frame" x="0.0" y="0.0" width="508" height="392"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <button verticalHuggingPriority="750" id="251">
+ <rect key="frame" x="413" y="12" width="86" height="32"/>
+ <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxY="YES"/>
+ <buttonCell key="cell" type="push" title="Quit" bezelStyle="rounded" alignment="center" state="on" borderStyle="border" inset="2" id="478">
+ <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
+ <font key="font" metaFont="system"/>
+ <string key="keyEquivalent" base64-UTF8="YES">
+Gw
+</string>
+ </buttonCell>
+ <connections>
+ <action selector="cancel:" target="207" id="267"/>
+ </connections>
+ </button>
+ <box boxType="oldStyle" borderType="line" titlePosition="noTitle" id="257">
+ <rect key="frame" x="8" y="51" width="491" height="333"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <view key="contentView" id="X4z-hY-QR7">
+ <rect key="frame" x="1" y="1" width="489" height="331"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <webView maintainsBackForwardList="NO" id="258" customClass="STDragWebView">
+ <rect key="frame" x="-1" y="0.0" width="490" height="331"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <webPreferences key="preferences" defaultFontSize="12" defaultFixedFontSize="12">
+ <nil key="identifier"/>
+ </webPreferences>
+ <connections>
+ <outlet property="UIDelegate" destination="207" id="378"/>
+ <outlet property="downloadDelegate" destination="207" id="382"/>
+ <outlet property="dragDelegate" destination="207" id="kaI-rz-1Ps"/>
+ <outlet property="frameLoadDelegate" destination="207" id="381"/>
+ <outlet property="policyDelegate" destination="207" id="380"/>
+ <outlet property="resourceLoadDelegate" destination="207" id="379"/>
+ </connections>
+ </webView>
+ </subviews>
+ </view>
+ </box>
+ <progressIndicator horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" controlSize="small" style="spinning" id="277">
+ <rect key="frame" x="16" y="21" width="16" height="16"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
+ </progressIndicator>
+ <textField verticalHuggingPriority="750" id="509">
+ <rect key="frame" x="37" y="20" width="357" height="17"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
+ <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="510">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ </subviews>
+ </view>
+ <connections>
+ <outlet property="delegate" destination="207" id="375"/>
+ </connections>
+ </window>
+ <window title="Droplet" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" showsToolbarButton="NO" visibleAtLaunch="NO" frameAutosaveName="DropletWindow" animationBehavior="default" id="490" userLabel="DropletWindow">
+ <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/>
+ <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+ <rect key="contentRect" x="157" y="273" width="188" height="188"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
+ <view key="contentView" id="491">
+ <rect key="frame" x="0.0" y="0.0" width="188" height="188"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <box autoresizesSubviews="NO" borderType="line" titlePosition="noTitle" id="494">
+ <rect key="frame" x="17" y="16" width="154" height="154"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <view key="contentView" id="q0i-G4-K1a">
+ <rect key="frame" x="1" y="1" width="152" height="152"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <subviews>
+ <progressIndicator wantsLayer="YES" horizontalHuggingPriority="750" verticalHuggingPriority="750" maxValue="100" displayedWhenStopped="NO" bezeled="NO" indeterminate="YES" style="spinning" id="496">
+ <rect key="frame" x="59" y="75" width="32" height="32"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ </progressIndicator>
+ <textField verticalHuggingPriority="750" id="499">
+ <rect key="frame" x="39" y="59" width="71" height="34"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <textFieldCell key="cell" controlSize="mini" sendsActionOnEndEditing="YES" alignment="center" title="Drop files here" id="500">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ <textField verticalHuggingPriority="750" id="505">
+ <rect key="frame" x="15" y="31" width="122" height="36"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" alignment="center" id="506">
+ <font key="font" metaFont="smallSystem"/>
+ <color key="textColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ </subviews>
+ </view>
+ </box>
+ <textField hidden="YES" verticalHuggingPriority="750" id="519">
+ <rect key="frame" x="0.0" y="0.0" width="188" height="188"/>
+ <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
+ <textFieldCell key="cell" enabled="NO" allowsUndo="NO" sendsActionOnEndEditing="YES" drawsBackground="YES" id="520">
+ <font key="font" metaFont="system"/>
+ <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
+ <color key="backgroundColor" name="disabledControlTextColor" catalog="System" colorSpace="catalog"/>
+ </textFieldCell>
+ </textField>
+ </subviews>
+ </view>
+ <connections>
+ <outlet property="delegate" destination="207" id="RFt-L5-f73"/>
+ </connections>
+ <point key="canvasLocation" x="610" y="363"/>
+ </window>
+ </objects>
+</document>
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/keyedobjects.nib b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/keyedobjects.nib
new file mode 100644
index 00000000..8d206926
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/MainMenu.nib/keyedobjects.nib
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/appIcon.icns b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/appIcon.icns
new file mode 100644
index 00000000..befa4763
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/appIcon.icns
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUCertificates-1.1.17-SNAPSHOT.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/BKUCertificates-1.1.17-SNAPSHOT.jar
index 661a1cd1..466c2818 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUCertificates-1.1.17-SNAPSHOT.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/BKUCertificates-1.1.17-SNAPSHOT.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/FastInfoset-1.2.13.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/FastInfoset-1.2.13.jar
index 2501c271..2169895e 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/FastInfoset-1.2.13.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/FastInfoset-1.2.13.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/commons-io-2.5.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/commons-io-2.5.jar
index 8d9a5e37..b08b202f 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/commons-io-2.5.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/commons-io-2.5.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_eccelerate-5.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_eccelerate-5.0.jar
new file mode 100644
index 00000000..28733b1e
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_eccelerate-5.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_jce_full_signed-5.5.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_jce_full_signed-5.52.jar
index 821cbd9d..9fff510e 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/iaik_jce_full_signed-5.5.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_jce_full_signed-5.52.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_xsect-2.13.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_xsect-2.13.jar
new file mode 100644
index 00000000..4a848160
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/iaik_xsect-2.13.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/istack-commons-runtime-3.0.5.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/istack-commons-runtime-3.0.5.jar
index 52483bbd..979d8b0a 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/istack-commons-runtime-3.0.5.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/istack-commons-runtime-3.0.5.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-api-2.3.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-api-2.3.0.jar
index 5495d3fb..21e79c83 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-api-2.3.0.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-api-2.3.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-core-2.3.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-core-2.3.0.jar
index a5791ae8..fe441c5f 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-core-2.3.0.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-core-2.3.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-runtime-2.3.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-runtime-2.3.0.jar
index 684e3d40..cebbac8c 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jaxb-runtime-2.3.0.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jaxb-runtime-2.3.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-6.1.19.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-6.1.19.jar
index bec744e4..0bdc3ded 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-6.1.19.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-6.1.19.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-util-6.1.19.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-util-6.1.19.jar
index 771f89ee..2cf57254 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/jetty-util-6.1.19.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/jetty-util-6.1.19.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/log4j-1.2.17.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/log4j-1.2.17.jar
index 6489ab52..01688dcf 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/log4j-1.2.17.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/log4j-1.2.17.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUWebStart-1.3.35-SNAPSHOT.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/mocca.jar
index 9e603941..82a2da8d 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/BKUWebStart-1.3.35-SNAPSHOT.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/mocca.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/servlet-api-2.5-20081211.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/servlet-api-2.5-20081211.jar
index b5447355..1764d3fc 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/servlet-api-2.5-20081211.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/servlet-api-2.5-20081211.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/sjsxp-1.0.2.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/sjsxp-1.0.2.jar
index 9ee61671..9cc13eae 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/sjsxp-1.0.2.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/sjsxp-1.0.2.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-api-1.6.4.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-api-1.6.4.jar
index c0e8273e..fcf4a65f 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-api-1.6.4.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-api-1.6.4.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-log4j12-1.6.4.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-log4j12-1.6.4.jar
index 7aca6728..db02d71c 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/slf4j-log4j12-1.6.4.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/slf4j-log4j12-1.6.4.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-api-1.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-api-1.0.jar
index 82422e32..1a0fe1ce 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-api-1.0.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-api-1.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-ex-1.7.8.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-ex-1.7.8.jar
index 81e56f9c..38838771 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/stax-ex-1.7.8.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/stax-ex-1.7.8.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/txw2-2.3.0.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/txw2-2.3.0.jar
index 613b55b1..8f0cc0d5 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/txw2-2.3.0.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/txw2-2.3.0.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/utils-1.3.35-SNAPSHOT.jar b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/utils-1.3.35-SNAPSHOT.jar
index ec4a104f..a55b05c8 100644
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Java/utils-1.3.35-SNAPSHOT.jar
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/bin/utils-1.3.35-SNAPSHOT.jar
Binary files differ
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/en.lproj/Localizable.strings b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/en.lproj/Localizable.strings
deleted file mode 100644
index 0d306aaa..00000000
--- a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/en.lproj/Localizable.strings
+++ /dev/null
@@ -1,3 +0,0 @@
-"JRELoadError" = "Unable to load Java Runtime Environment.";
-"MainClassNameRequired" = "Main class name is required.";
-"JavaDirectoryNotFound" = "Unable to enumerate Java directory contents.";
diff --git a/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/script b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/script
new file mode 100644
index 00000000..d0b97b22
--- /dev/null
+++ b/Mocca-Installer/installer/files/mac/Mocca.app/Contents/Resources/script
@@ -0,0 +1,3 @@
+#!/bin/sh
+#This is a start script for mocca on mac
+java -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.keyStoreType=jks -jar ./bin/mocca.jar \ No newline at end of file
diff --git a/Mocca-Installer/installer/files/mac/mocca_mac.sh b/Mocca-Installer/installer/files/mac/mocca_mac.sh
index ed26750e..921df76e 100644
--- a/Mocca-Installer/installer/files/mac/mocca_mac.sh
+++ b/Mocca-Installer/installer/files/mac/mocca_mac.sh
@@ -1,3 +1,3 @@
-#!/bin/sh
-#This is a start script for mocca on mac
-java -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.keyStoreType=jks -jar "BKUWebStart-1.3.35-SNAPSHOT.jar"
+#!/bin/sh
+#This is a start script for mocca on mac
+java -Djavax.net.ssl.trustStoreType=jks -Djavax.net.ssl.keyStoreType=jks -jar "mocca.jar"
diff --git a/bkucommon/pom.xml b/bkucommon/pom.xml
index d8686d1d..9db73aa1 100644
--- a/bkucommon/pom.xml
+++ b/bkucommon/pom.xml
@@ -96,7 +96,7 @@
</dependency>
<dependency>
<groupId>iaik</groupId>
- <artifactId>iaik_xsect_signed</artifactId>
+ <artifactId>iaik_xsect</artifactId>
</dependency>
<dependency>
<groupId>iaik</groupId>
@@ -108,11 +108,6 @@
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_ecc_signed</artifactId>
- <scope>compile</scope>
- </dependency>
- <dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<scope>compile</scope>
diff --git a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/STALSignatureMethod.java b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/STALSignatureMethod.java
index 1a6f6df9..a9eba7e8 100644
--- a/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/STALSignatureMethod.java
+++ b/bkucommon/src/main/java/at/gv/egiz/bku/slcommands/impl/xsect/STALSignatureMethod.java
@@ -1,139 +1,144 @@
-/*
- * Copyright 2011 by Graz University of Technology, Austria
- * MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
- * initiative of the Federal Chancellery Austria and Graz University of Technology.
- *
- * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
- * the European Commission - subsequent versions of the EUPL (the "Licence");
- * You may not use this work except in compliance with the Licence.
- * You may obtain a copy of the Licence at:
- * http://www.osor.eu/eupl/
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the Licence is distributed on an "AS IS" basis,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the Licence for the specific language governing permissions and
- * limitations under the Licence.
- *
- * This product combines work with different licenses. See the "NOTICE" text
- * file for details on the various modules and licenses.
- * The "NOTICE" text file is part of the distribution. Any derivative works
- * that you distribute must include a readable copy of the "NOTICE" text file.
- */
-
-
-
-package at.gv.egiz.bku.slcommands.impl.xsect;
-
-import iaik.xml.crypto.dsig.AbstractSignatureMethodImpl;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-import java.security.InvalidAlgorithmParameterException;
-import java.security.Key;
-import java.security.NoSuchAlgorithmException;
-import java.util.ArrayList;
-import java.util.Collections;
-import java.util.List;
-
-import javax.xml.crypto.XMLCryptoContext;
-import javax.xml.crypto.dsig.XMLSignatureException;
-import javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec;
-
-import at.gv.egiz.bku.slcommands.impl.DataObjectHashDataInput;
-import at.gv.egiz.bku.slexceptions.SLViewerException;
-import at.gv.egiz.bku.utils.StreamUtil;
-import at.gv.egiz.stal.ErrorResponse;
-import at.gv.egiz.stal.HashDataInput;
-import at.gv.egiz.stal.STAL;
-import at.gv.egiz.stal.STALRequest;
-import at.gv.egiz.stal.STALResponse;
-import at.gv.egiz.stal.SignRequest;
-import at.gv.egiz.stal.SignRequest.SignedInfo;
-import at.gv.egiz.stal.SignResponse;
-
-public class STALSignatureMethod extends AbstractSignatureMethodImpl {
-
- /**
- * Creates a new instance of this <code>STALSignatureMethod</code>
- * with the given <code>algorithm</code> and <code>params</code>.
- *
- * @param algorithm the algorithm URI
- * @param params optional algorithm parameters
- * @throws InvalidAlgorithmParameterException if the specified parameters
- * are inappropriate for the requested algorithm
- * @throws NoSuchAlgorithmException if an implementation of the specified
- * algorithm cannot be found
- * @throws NullPointerException if <code>algorithm</code> is <code>null</code>
- */
- public STALSignatureMethod(String algorithm,
- SignatureMethodParameterSpec params)
- throws InvalidAlgorithmParameterException, NoSuchAlgorithmException {
- super(algorithm, params);
- }
-
- @Override
- public byte[] calculateSignatureValue(XMLCryptoContext context, Key key, InputStream message)
- throws XMLSignatureException, IOException {
-
- if (!(key instanceof STALPrivateKey)) {
- throw new XMLSignatureException("STALSignatureMethod expects STALPrivateKey.");
- }
-
- STAL stal = ((STALPrivateKey) key).getStal();
- String keyboxIdentifier = ((STALPrivateKey) key).getKeyboxIdentifier();
- List<DataObject> dataObjects = ((STALPrivateKey) key).getDataObjects();
-
- List<HashDataInput> hashDataInputs = new ArrayList<HashDataInput>();
- for (DataObject dataObject : dataObjects) {
- try {
- dataObject.validateHashDataInput();
- } catch (SLViewerException e) {
- throw new XMLSignatureException(e);
- }
- hashDataInputs.add(new DataObjectHashDataInput(dataObject));
- }
-
- ByteArrayOutputStream m = new ByteArrayOutputStream();
- StreamUtil.copyStream(message, m);
-
- SignRequest signRequest = new SignRequest();
- signRequest.setKeyIdentifier(keyboxIdentifier);
- SignedInfo signedInfo = new SignedInfo();
- signedInfo.setValue(m.toByteArray());
- signRequest.setSignedInfo(signedInfo);
- signRequest.setHashDataInput(hashDataInputs);
-
- List<STALResponse> responses =
- stal.handleRequest(Collections.singletonList((STALRequest) signRequest));
-
- if (responses == null || responses.size() != 1) {
- throw new XMLSignatureException("Failed to access STAL.");
- }
-
- STALResponse response = responses.get(0);
- if (response instanceof SignResponse) {
- return ((SignResponse) response).getSignatureValue();
- } else if (response instanceof ErrorResponse) {
- ErrorResponse err = (ErrorResponse) response;
- STALSignatureException se = new STALSignatureException(err.getErrorCode(), err.getErrorMessage());
- throw new XMLSignatureException(se);
- } else {
- throw new XMLSignatureException("Failed to access STAL.");
- }
-
- }
-
- @Override
- public boolean validateSignatureValue(XMLCryptoContext context, Key key, byte[] value,
- InputStream message) throws XMLSignatureException, IOException {
- throw new XMLSignatureException("The STALSignatureMethod does not support validation.");
- }
-
- @Override
- protected Class<?> getParameterSpecClass() {
- return null;
- }
-
-}
+/*
+ * Copyright 2011 by Graz University of Technology, Austria
+ * MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
+ * initiative of the Federal Chancellery Austria and Graz University of Technology.
+ *
+ * Licensed under the EUPL, Version 1.1 or - as soon they will be approved by
+ * the European Commission - subsequent versions of the EUPL (the "Licence");
+ * You may not use this work except in compliance with the Licence.
+ * You may obtain a copy of the Licence at:
+ * http://www.osor.eu/eupl/
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the Licence is distributed on an "AS IS" basis,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the Licence for the specific language governing permissions and
+ * limitations under the Licence.
+ *
+ * This product combines work with different licenses. See the "NOTICE" text
+ * file for details on the various modules and licenses.
+ * The "NOTICE" text file is part of the distribution. Any derivative works
+ * that you distribute must include a readable copy of the "NOTICE" text file.
+ */
+
+package at.gv.egiz.bku.slcommands.impl.xsect;
+
+import java.io.ByteArrayOutputStream;
+import java.io.IOException;
+import java.io.InputStream;
+import java.security.InvalidAlgorithmParameterException;
+import java.security.Key;
+import java.security.NoSuchAlgorithmException;
+import java.util.ArrayList;
+import java.util.Collections;
+import java.util.List;
+
+import javax.xml.crypto.XMLCryptoContext;
+import javax.xml.crypto.dsig.XMLSignatureException;
+import javax.xml.crypto.dsig.spec.SignatureMethodParameterSpec;
+
+import at.gv.egiz.bku.slcommands.impl.DataObjectHashDataInput;
+import at.gv.egiz.bku.slexceptions.SLViewerException;
+import at.gv.egiz.bku.utils.StreamUtil;
+import at.gv.egiz.stal.ErrorResponse;
+import at.gv.egiz.stal.HashDataInput;
+import at.gv.egiz.stal.STAL;
+import at.gv.egiz.stal.STALRequest;
+import at.gv.egiz.stal.STALResponse;
+import at.gv.egiz.stal.SignRequest;
+import at.gv.egiz.stal.SignRequest.SignedInfo;
+import at.gv.egiz.stal.SignResponse;
+import iaik.xml.crypto.dsig.SignatureMethodImpl;
+
+public class STALSignatureMethod extends SignatureMethodImpl {
+
+ /**
+ * Creates a new instance of this <code>STALSignatureMethod</code> with the
+ * given <code>algorithm</code> and <code>params</code>.
+ *
+ * @param algorithm
+ * the algorithm URI
+ * @param params
+ * optional algorithm parameters
+ * @throws InvalidAlgorithmParameterException
+ * if the specified parameters are inappropriate for the requested
+ * algorithm
+ * @throws NoSuchAlgorithmException
+ * if an implementation of the specified algorithm cannot be found
+ * @throws NullPointerException
+ * if <code>algorithm</code> is <code>null</code>
+ */
+ public STALSignatureMethod(String algorithm, SignatureMethodParameterSpec params)
+ throws InvalidAlgorithmParameterException, NoSuchAlgorithmException {
+ super(algorithm, params);
+ }
+
+ @Override
+ public byte[] calculateSignatureValue(XMLCryptoContext context, Key key, InputStream message)
+ throws XMLSignatureException, IOException {
+
+ if (!(key instanceof STALPrivateKey)) {
+ throw new XMLSignatureException("STALSignatureMethod expects STALPrivateKey.");
+ }
+
+ STAL stal = ((STALPrivateKey) key).getStal();
+ String keyboxIdentifier = ((STALPrivateKey) key).getKeyboxIdentifier();
+ List<DataObject> dataObjects = ((STALPrivateKey) key).getDataObjects();
+
+ List<HashDataInput> hashDataInputs = new ArrayList<HashDataInput>();
+ for (DataObject dataObject : dataObjects) {
+ try {
+ dataObject.validateHashDataInput();
+ } catch (SLViewerException e) {
+ throw new XMLSignatureException(e);
+ }
+ hashDataInputs.add(new DataObjectHashDataInput(dataObject));
+ }
+
+ ByteArrayOutputStream m = new ByteArrayOutputStream();
+ StreamUtil.copyStream(message, m);
+
+ SignRequest signRequest = new SignRequest();
+ signRequest.setKeyIdentifier(keyboxIdentifier);
+ SignedInfo signedInfo = new SignedInfo();
+ signedInfo.setValue(m.toByteArray());
+ signRequest.setSignedInfo(signedInfo);
+ signRequest.setHashDataInput(hashDataInputs);
+
+ List<STALResponse> responses = stal.handleRequest(Collections.singletonList((STALRequest) signRequest));
+
+ if (responses == null || responses.size() != 1) {
+ throw new XMLSignatureException("Failed to access STAL.");
+ }
+
+ STALResponse response = responses.get(0);
+ if (response instanceof SignResponse) {
+ return ((SignResponse) response).getSignatureValue();
+ } else if (response instanceof ErrorResponse) {
+ ErrorResponse err = (ErrorResponse) response;
+ STALSignatureException se = new STALSignatureException(err.getErrorCode(), err.getErrorMessage());
+ throw new XMLSignatureException(se);
+ } else {
+ throw new XMLSignatureException("Failed to access STAL.");
+ }
+
+ }
+
+ @Override
+ public boolean validateSignatureValue(XMLCryptoContext context, Key key, byte[] value, InputStream message)
+ throws XMLSignatureException, IOException {
+ throw new XMLSignatureException("The STALSignatureMethod does not support validation.");
+ }
+
+// @Override
+// protected Class<?> getParameterSpecClass() {
+// return null;
+// }
+
+ @Override
+ public boolean validateSignatureValue(Key key, byte[] value, InputStream message) throws XMLSignatureException, IOException {
+ throw new XMLSignatureException("The STALSignatureMethod does not support validation.");
+ }
+
+
+}
diff --git a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/cms/SignatureTest.java b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/cms/SignatureTest.java
index 56229b83..f17b0329 100644
--- a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/cms/SignatureTest.java
+++ b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/cms/SignatureTest.java
@@ -1,130 +1,130 @@
-package at.gv.egiz.bku.slcommands.impl.cms;
-
-import static org.junit.Assert.*;
-
-import java.io.ByteArrayInputStream;
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.nio.charset.Charset;
-import java.security.MessageDigest;
-import java.util.Date;
-
-import org.junit.BeforeClass;
-import org.junit.Test;
-import org.w3._2000._09.xmldsig_.DigestMethodType;
-
-import at.buergerkarte.namespaces.securitylayer._1_2_3.Base64OptRefContentType;
-import at.buergerkarte.namespaces.securitylayer._1_2_3.CMSDataObjectRequiredMetaType;
-import at.buergerkarte.namespaces.securitylayer._1_2_3.DigestAndRefType;
-import at.buergerkarte.namespaces.securitylayer._1_2_3.MetaInfoType;
-import at.gv.egiz.stal.dummy.DummySTAL;
-import iaik.asn1.ObjectID;
-import iaik.asn1.structures.AlgorithmID;
-import iaik.cms.InvalidSignatureValueException;
-import iaik.cms.SignedData;
-import iaik.cms.SignerInfo;
-import iaik.security.ecc.provider.ECCProvider;
-import iaik.security.provider.IAIK;
-import iaik.x509.X509Certificate;
-
-public class SignatureTest {
-
- private DummySTAL stal = new DummySTAL();
-
- @BeforeClass
- public static void setUpClass() {
- IAIK.addAsProvider();
- ECCProvider.addAsProvider();
- }
-
- @Test
- public void testSignCMSDataObject() throws Exception {
-
- byte[] plaintext = "Plaintext".getBytes(Charset.forName("UTF-8"));
-
- CMSDataObjectRequiredMetaType dataObject = new CMSDataObjectRequiredMetaType();
- Base64OptRefContentType base64OptRefContentType = new Base64OptRefContentType();
- base64OptRefContentType.setBase64Content(plaintext);
- dataObject.setContent(base64OptRefContentType);
- MetaInfoType metaInfoType = new MetaInfoType();
- metaInfoType.setMimeType("text/plain");
- dataObject.setMetaInfo(metaInfoType);
-
- Signature signature = new Signature(dataObject, "detached", stal.getCert(), new Date(), null, true);
- byte[] cmsSignature = signature.sign(stal, "SecureSignatureKeypair");
-
- SignedData signedData = new SignedData(new ByteArrayInputStream(cmsSignature));
- signedData.setContent(plaintext);
- assertEquals(ObjectID.pkcs7_data, signedData.getEncapsulatedContentType());
- SignerInfo[] signerInfos = signedData.getSignerInfos();
- assertEquals(1, signerInfos.length);
- SignerInfo signerInfo = signerInfos[0];
- signedData.verify((X509Certificate) stal.getCert());
- assertEquals(AlgorithmID.sha1, signerInfo.getDigestAlgorithm());
- assertEquals(AlgorithmID.sha1WithRSAEncryption, signerInfo.getSignatureAlgorithm());
-
- System.out.println(AlgorithmID.sha1);
-
- }
-
- @Test
- public void testSignCMSReferenceSha1() throws Exception {
- testSignCMSReference(AlgorithmID.sha1);
- }
-
- //TODO Why doesn't it work this way??
- @Test(expected = InvalidSignatureValueException.class)
- public void testSignCMSReferenceSha256() throws Exception {
- testSignCMSReference(AlgorithmID.sha256);
- }
-
- private void testSignCMSReference(AlgorithmID digestAlgorithmID) throws Exception {
-
- byte[] plaintext = "Plaintext".getBytes(Charset.forName("UTF-8"));
-
- MessageDigest messageDigest = MessageDigest.getInstance(digestAlgorithmID.getImplementationName());
- byte[] digestValue = messageDigest.digest(plaintext);
-
- CMSDataObjectRequiredMetaType dataObject = new CMSDataObjectRequiredMetaType();
- DigestAndRefType digestAndRefType = new DigestAndRefType();
- DigestMethodType digestMethodType = new DigestMethodType();
- digestMethodType.setAlgorithm("URN:OID:" + digestAlgorithmID.getAlgorithm().getID());
- digestAndRefType.setDigestMethod(digestMethodType);
- digestAndRefType.setDigestValue(digestValue);
- dataObject.setDigestAndRef(digestAndRefType);
- MetaInfoType metaInfoType = new MetaInfoType();
- metaInfoType.setMimeType("text/plain");
- dataObject.setMetaInfo(metaInfoType);
-
- Signature signature = new Signature(dataObject, "detached", stal.getCert(), new Date(), null, true);
- byte[] cmsSignature = signature.sign(stal, "SecureSignatureKeypair");
-
- SignedData signedData = new SignedData(new ByteArrayInputStream(cmsSignature));
- signedData.setContent(plaintext);
- assertEquals(ObjectID.pkcs7_data, signedData.getEncapsulatedContentType());
- SignerInfo[] signerInfos = signedData.getSignerInfos();
- assertEquals(1, signerInfos.length);
- SignerInfo signerInfo = signerInfos[0];
- signedData.verify((X509Certificate) stal.getCert());
- assertEquals(digestAlgorithmID, signerInfo.getDigestAlgorithm());
- assertEquals(AlgorithmID.sha1WithRSAEncryption, signerInfo.getSignatureAlgorithm());
-
- }
-
- @Test
- public void test() throws URISyntaxException {
-
- String oid = null;
- URI uri = new URI("URN:OID:1.3.14.3.2.26");
- String scheme = uri.getScheme();
- if ("URN".equalsIgnoreCase(scheme)) {
- String schemeSpecificPart = uri.getSchemeSpecificPart().toLowerCase();
- if (schemeSpecificPart.startsWith("oid:")) {
- oid = schemeSpecificPart.substring(4, schemeSpecificPart.length());
- }
- }
- assertEquals("1.3.14.3.2.26", oid);
-
- }
-
-}
+package at.gv.egiz.bku.slcommands.impl.cms;
+
+import static org.junit.Assert.*;
+
+import java.io.ByteArrayInputStream;
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.nio.charset.Charset;
+import java.security.MessageDigest;
+import java.util.Date;
+
+import org.junit.BeforeClass;
+import org.junit.Test;
+import org.w3._2000._09.xmldsig_.DigestMethodType;
+
+import at.buergerkarte.namespaces.securitylayer._1_2_3.Base64OptRefContentType;
+import at.buergerkarte.namespaces.securitylayer._1_2_3.CMSDataObjectRequiredMetaType;
+import at.buergerkarte.namespaces.securitylayer._1_2_3.DigestAndRefType;
+import at.buergerkarte.namespaces.securitylayer._1_2_3.MetaInfoType;
+import at.gv.egiz.stal.dummy.DummySTAL;
+import iaik.asn1.ObjectID;
+import iaik.asn1.structures.AlgorithmID;
+import iaik.cms.InvalidSignatureValueException;
+import iaik.cms.SignedData;
+import iaik.cms.SignerInfo;
+import iaik.security.ec.provider.ECCelerate;
+import iaik.security.provider.IAIK;
+import iaik.x509.X509Certificate;
+
+public class SignatureTest {
+
+ private DummySTAL stal = new DummySTAL();
+
+ @BeforeClass
+ public static void setUpClass() {
+ IAIK.addAsProvider();
+ ECCelerate.addAsProvider();
+ }
+
+ @Test
+ public void testSignCMSDataObject() throws Exception {
+
+ byte[] plaintext = "Plaintext".getBytes(Charset.forName("UTF-8"));
+
+ CMSDataObjectRequiredMetaType dataObject = new CMSDataObjectRequiredMetaType();
+ Base64OptRefContentType base64OptRefContentType = new Base64OptRefContentType();
+ base64OptRefContentType.setBase64Content(plaintext);
+ dataObject.setContent(base64OptRefContentType);
+ MetaInfoType metaInfoType = new MetaInfoType();
+ metaInfoType.setMimeType("text/plain");
+ dataObject.setMetaInfo(metaInfoType);
+
+ Signature signature = new Signature(dataObject, "detached", stal.getCert(), new Date(), null, true);
+ byte[] cmsSignature = signature.sign(stal, "SecureSignatureKeypair");
+
+ SignedData signedData = new SignedData(new ByteArrayInputStream(cmsSignature));
+ signedData.setContent(plaintext);
+ assertEquals(ObjectID.pkcs7_data, signedData.getEncapsulatedContentType());
+ SignerInfo[] signerInfos = signedData.getSignerInfos();
+ assertEquals(1, signerInfos.length);
+ SignerInfo signerInfo = signerInfos[0];
+ signedData.verify((X509Certificate) stal.getCert());
+ assertEquals(AlgorithmID.sha1, signerInfo.getDigestAlgorithm());
+ assertEquals(AlgorithmID.sha1WithRSAEncryption, signerInfo.getSignatureAlgorithm());
+
+ System.out.println(AlgorithmID.sha1);
+
+ }
+
+ @Test
+ public void testSignCMSReferenceSha1() throws Exception {
+ testSignCMSReference(AlgorithmID.sha1);
+ }
+
+ //TODO Why doesn't it work this way??
+ @Test(expected = InvalidSignatureValueException.class)
+ public void testSignCMSReferenceSha256() throws Exception {
+ testSignCMSReference(AlgorithmID.sha256);
+ }
+
+ private void testSignCMSReference(AlgorithmID digestAlgorithmID) throws Exception {
+
+ byte[] plaintext = "Plaintext".getBytes(Charset.forName("UTF-8"));
+
+ MessageDigest messageDigest = MessageDigest.getInstance(digestAlgorithmID.getImplementationName());
+ byte[] digestValue = messageDigest.digest(plaintext);
+
+ CMSDataObjectRequiredMetaType dataObject = new CMSDataObjectRequiredMetaType();
+ DigestAndRefType digestAndRefType = new DigestAndRefType();
+ DigestMethodType digestMethodType = new DigestMethodType();
+ digestMethodType.setAlgorithm("URN:OID:" + digestAlgorithmID.getAlgorithm().getID());
+ digestAndRefType.setDigestMethod(digestMethodType);
+ digestAndRefType.setDigestValue(digestValue);
+ dataObject.setDigestAndRef(digestAndRefType);
+ MetaInfoType metaInfoType = new MetaInfoType();
+ metaInfoType.setMimeType("text/plain");
+ dataObject.setMetaInfo(metaInfoType);
+
+ Signature signature = new Signature(dataObject, "detached", stal.getCert(), new Date(), null, true);
+ byte[] cmsSignature = signature.sign(stal, "SecureSignatureKeypair");
+
+ SignedData signedData = new SignedData(new ByteArrayInputStream(cmsSignature));
+ signedData.setContent(plaintext);
+ assertEquals(ObjectID.pkcs7_data, signedData.getEncapsulatedContentType());
+ SignerInfo[] signerInfos = signedData.getSignerInfos();
+ assertEquals(1, signerInfos.length);
+ SignerInfo signerInfo = signerInfos[0];
+ signedData.verify((X509Certificate) stal.getCert());
+ assertEquals(digestAlgorithmID, signerInfo.getDigestAlgorithm());
+ assertEquals(AlgorithmID.sha1WithRSAEncryption, signerInfo.getSignatureAlgorithm());
+
+ }
+
+ @Test
+ public void test() throws URISyntaxException {
+
+ String oid = null;
+ URI uri = new URI("URN:OID:1.3.14.3.2.26");
+ String scheme = uri.getScheme();
+ if ("URN".equalsIgnoreCase(scheme)) {
+ String schemeSpecificPart = uri.getSchemeSpecificPart().toLowerCase();
+ if (schemeSpecificPart.startsWith("oid:")) {
+ oid = schemeSpecificPart.substring(4, schemeSpecificPart.length());
+ }
+ }
+ assertEquals("1.3.14.3.2.26", oid);
+
+ }
+
+}
diff --git a/pom.xml b/pom.xml
index 7942daea..9cb1e529 100644
--- a/pom.xml
+++ b/pom.xml
@@ -327,7 +327,7 @@
<dependency>
<groupId>iaik</groupId>
<artifactId>iaik_jce_full_signed</artifactId>
- <version>5.5</version>
+ <version>5.52</version>
<scope>compile</scope>
</dependency>
<dependency>
@@ -338,17 +338,17 @@
<dependency>
<groupId>iaik</groupId>
<artifactId>iaik_eccelerate</artifactId>
- <version>3.01</version>
+ <version>5.0</version>
</dependency>
<dependency>
<groupId>iaik</groupId>
<artifactId>iaik_eccelerate_cms</artifactId>
- <version>3.01</version>
+ <version>5.0</version>
</dependency>
<dependency>
<groupId>iaik</groupId>
- <artifactId>iaik_xsect_signed</artifactId>
- <version>1.17</version>
+ <artifactId>iaik_xsect</artifactId>
+ <version>2.13</version>
</dependency>
<dependency>
<groupId>iaik</groupId>
@@ -362,11 +362,6 @@
<scope>compile</scope>
</dependency>
<dependency>
- <groupId>iaik</groupId>
- <artifactId>iaik_ecc_signed</artifactId>
- <version>2.19</version>
- </dependency>
- <dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
diff --git a/utils/pom.xml b/utils/pom.xml
index c880f177..51abae52 100644
--- a/utils/pom.xml
+++ b/utils/pom.xml
@@ -24,7 +24,7 @@
</dependency>
<dependency>
<groupId>iaik</groupId>
- <artifactId>iaik_xsect_signed</artifactId>
+ <artifactId>iaik_xsect</artifactId>
</dependency>
<!-- dependency to ensure NamespacePrefixmapper -->
<dependency>
diff --git a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
index 02b80fa7..674d8339 100644
--- a/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
+++ b/utils/src/main/java/at/gv/egiz/updater/NewVersionDialog.java
@@ -1,4 +1,5 @@
/*
+
* Copyright 2018 by Graz University of Technology, Austria
* MOCCA has been developed by the E-Government Innovation Center EGIZ, a joint
* initiative of the Federal Chancellery Austria and Graz University of Technology.
@@ -134,6 +135,8 @@ public class NewVersionDialog extends JDialog {
@Override
public void mouseClicked(MouseEvent e) {
openLink();
+ try { Thread.sleep(1000); } catch (InterruptedException e1) {}
+ close();
}
});
okButton.setActionCommand("OK");