diff --git a/tests/aleksey-xmlenc-01/isolatin1.data b/tests/aleksey-xmlenc-01/enc-element-isolatin1.data similarity index 100% rename from tests/aleksey-xmlenc-01/isolatin1.data rename to tests/aleksey-xmlenc-01/enc-element-isolatin1.data diff --git a/tests/aleksey-xmlenc-01/isolatin1.tmpl b/tests/aleksey-xmlenc-01/enc-element-isolatin1.tmpl similarity index 100% rename from tests/aleksey-xmlenc-01/isolatin1.tmpl rename to tests/aleksey-xmlenc-01/enc-element-isolatin1.tmpl diff --git a/tests/aleksey-xmlenc-01/isolatin1.xml b/tests/aleksey-xmlenc-01/enc-element-isolatin1.xml similarity index 100% rename from tests/aleksey-xmlenc-01/isolatin1.xml rename to tests/aleksey-xmlenc-01/enc-element-isolatin1.xml diff --git a/tests/testEnc.sh b/tests/testEnc.sh index 50bb1bc5e..9d0a6ccc0 100755 --- a/tests/testEnc.sh +++ b/tests/testEnc.sh @@ -442,11 +442,20 @@ execEncTest $res_success \ execEncTest $res_success \ "" \ - "aleksey-xmlenc-01/isolatin1" \ + "aleksey-xmlenc-01/enc-element-isolatin1" \ "aes256-cbc rsa-1_5" \ "x509" \ "$priv_key_option:my-key $topfolder/keys/largersakey.$priv_key_format --pwd secret123" \ - "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/isolatin1.data --pubkey-cert-$cert_format:my-key $topfolder/keys/largersacert.$cert_format" \ + "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-element-isolatin1.data --pubkey-cert-$cert_format:my-key $topfolder/keys/largersacert.$cert_format" \ + "$priv_key_option:my-key $topfolder/keys/largersakey.$priv_key_format --pwd secret123" + +execEncTest $res_success \ + "" \ + "aleksey-xmlenc-01/enc-content-isolatin1" \ + "aes256-cbc rsa-1_5" \ + "x509" \ + "$priv_key_option:my-key $topfolder/keys/largersakey.$priv_key_format --pwd secret123" \ + "--session-key aes-256 --xml-data $topfolder/aleksey-xmlenc-01/enc-content-isolatin1.data --node-name http://example.org/paymentv2:CreditCard --pubkey-cert-$cert_format:my-key $topfolder/keys/largersacert.$cert_format" \ "$priv_key_option:my-key $topfolder/keys/largersakey.$priv_key_format --pwd secret123" execEncTest $res_success \