From 631af9a4ab6b75e11ab369c3a7d9ab22e60341e8 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Mon, 19 Aug 2019 15:47:42 +0200 Subject: Add Two "VerifySignature" Testcases --- .../valid-signed-shuffled-soaped-notification.xml | 94 ++++++++++++++++++++++ .../valid-signed-soaped-notification.xml | 94 ++++++++++++++++++++++ 2 files changed, 188 insertions(+) create mode 100644 src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-shuffled-soaped-notification.xml create mode 100644 src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-soaped-notification.xml (limited to 'src/test/resources') diff --git a/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-shuffled-soaped-notification.xml b/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-shuffled-soaped-notification.xml new file mode 100644 index 0000000..1262c3e --- /dev/null +++ b/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-shuffled-soaped-notification.xml @@ -0,0 +1,94 @@ + + + + + https://localhost/example-delivery-system + 12345 + 678910 + + + Musterbehörde + + + AT + 1234 + Graz + + Musterstraße + 1 + b2 + + + + max.mustermann@musterbehoerde.gv.at + + + + + + Maxi + Mustermann1 + + 1984-01-24-02:00 + + + 1010 + Wien + + Muststrasse + 10 + + + + + + electronic + 2002-05-30T09:00:00 + + + 2002-05-30T09:00:00 + + + + 1234 + + 1234 + + + + 100 + + + + kh0DDpXv4nh2gqK3lVle+3O/Oz4nSB2exjUHfalqyG0=OV3sSaUEkAh2Kls7g0v2EHCDnpsaN3BDU5dgwKhw8inkeADfhAgNbJyeq0Y/Hwl6 + JmfJOD1aF7qmxICI5/ZfTE9h+LIebcMZ30qkZ6YnzyxoeBa+hnTmvPKvSpQtGUYL + Xa1gakY5LN3l/w1AokkPN9j7WCGjF8ZoDZLP2M0KXcjhyPuwQ3XzXD8Cqnl42jfI + oL3b6P9Wd/MYugFTho9cY1awpPqIlXG4k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AwHQYDVR0OBBYEFEmcH6VY4BG1EAGB + TLoNR9vH/g6yMFAGA1UdHwRJMEcwRaBDoEGGP2h0dHA6Ly9jYS5pYWlrLnR1Z3Jh + ei5hdC9jYXBzby9jcmxzL0lBSUtUZXN0X0ludGVybWVkaWF0ZUNBLmNybDCBqgYI + KwYBBQUHAQEEgZ0wgZowSgYIKwYBBQUHMAGGPmh0dHA6Ly9jYS5pYWlrLnR1Z3Jh + ei5hdC9jYXBzby9PQ1NQP2NhPUlBSUtUZXN0X0ludGVybWVkaWF0ZUNBMEwGCCsG + AQUFBzAChkBodHRwOi8vY2EuaWFpay50dWdyYXouYXQvY2Fwc28vY2VydHMvSUFJ + S1Rlc3RfSW50ZXJtZWRpYXRlQ0EuY2VyMCEGA1UdEQQaMBiBFnRob21hcy5sZW56 + QGVnaXouZ3YuYXQwHwYDVR0jBBgwFoAUaKJeEdreL4BrRES/jfplNoEkp28wDQYJ + KoZIhvcNAQEFBQADgYEAlFGjUxXLs7SAT8NtXSrv2WrjlklaRnHTFHLQwyVo8JWb + gvRkHHDUv2o8ofXUY2R2WJ38dxeDoccgbXrJb/Qhi8IY7YhCwv/TuIZDisyAqo8W + ORKSip/6HWlGCSR/Vgoet1GtCmF0FoUxFUIGSAuQ2yyt4fIzt5GJrU1X5ujjI1w= + + diff --git a/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-soaped-notification.xml b/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-soaped-notification.xml new file mode 100644 index 0000000..54e9918 --- /dev/null +++ b/src/test/resources/at/gv/egiz/moazs/ITSignatureVerifierTest/valid-signed-soaped-notification.xml @@ -0,0 +1,94 @@ + + + + + https://localhost/example-delivery-system + 12345 + 678910 + + + Musterbehörde + + + AT + 1234 + Graz + + Musterstraße + 1 + b2 + + + + max.mustermann@musterbehoerde.gv.at + + + + + + Maxi + Mustermann1 + + 1984-01-24-02:00 + + + 1010 + Wien + + Muststrasse + 10 + + + + + +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