aboutsummaryrefslogtreecommitdiffstats
path: root/tests/basic256sha256_anon
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-18 10:16:45 +0100
commit5726a0d84460a4b67a254c4dcfaa40bf9cc12e45 (patch)
treed6150d86e876c402db5ee3e7e613d63145f5fa64 /tests/basic256sha256_anon
parent9fe3814a2ef0be8e5b693fb0fa42064b33d0ae45 (diff)
downloadBobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.tar.gz
BobinkCOpcUa-5726a0d84460a4b67a254c4dcfaa40bf9cc12e45.zip
Standardize config file section ordering, list operations in usage
Group config keys into sections separated by blank lines: identity, encryption (certificate/privateKey/trustStore), security mode, auth. Program-specific keys (cleanupTimeout, registerInterval) go last. Show available operations in Client usage message.
Diffstat (limited to 'tests/basic256sha256_anon')
-rw-r--r--tests/basic256sha256_anon/client.conf5
-rw-r--r--tests/basic256sha256_anon/server_lds.conf5
-rw-r--r--tests/basic256sha256_anon/server_register.conf6
-rw-r--r--tests/basic256sha256_anon/server_register_client.conf4
4 files changed, 12 insertions, 8 deletions
diff --git a/tests/basic256sha256_anon/client.conf b/tests/basic256sha256_anon/client.conf
index 589a741..5517368 100644
--- a/tests/basic256sha256_anon/client.conf
+++ b/tests/basic256sha256_anon/client.conf
@@ -1,9 +1,12 @@
# Client — test: basic256sha256_anon
applicationUri = urn:localhost:bobink:ClientFindServers
+
certificate = certs/ClientFindServers_cert.der
privateKey = certs/ClientFindServers_key.der
+trustStore = certs/trust/client
+
securityMode = SignAndEncrypt
securityPolicy = Basic256Sha256
+
authMode = anonymous
-trustStore = certs/trust/client
diff --git a/tests/basic256sha256_anon/server_lds.conf b/tests/basic256sha256_anon/server_lds.conf
index 59e84ac..4560153 100644
--- a/tests/basic256sha256_anon/server_lds.conf
+++ b/tests/basic256sha256_anon/server_lds.conf
@@ -2,10 +2,11 @@
port = 14840
applicationUri = urn:localhost:bobink:ServerLDS
+
certificate = certs/ServerLDS_cert.der
privateKey = certs/ServerLDS_key.der
-cleanupTimeout = 60
+trustStore = certs/trust/server_lds
authMode = anonymous
-trustStore = certs/trust/server_lds
+cleanupTimeout = 60
diff --git a/tests/basic256sha256_anon/server_register.conf b/tests/basic256sha256_anon/server_register.conf
index b65f996..6a47796 100644
--- a/tests/basic256sha256_anon/server_register.conf
+++ b/tests/basic256sha256_anon/server_register.conf
@@ -2,11 +2,11 @@
port = 14841
applicationUri = urn:localhost:bobink:ServerRegister
+
certificate = certs/ServerRegister_cert.der
privateKey = certs/ServerRegister_key.der
-
-registerInterval = 10
+trustStore = certs/trust/server_register
authMode = anonymous
-trustStore = certs/trust/server_register
+registerInterval = 10
diff --git a/tests/basic256sha256_anon/server_register_client.conf b/tests/basic256sha256_anon/server_register_client.conf
index e87a713..aa0339c 100644
--- a/tests/basic256sha256_anon/server_register_client.conf
+++ b/tests/basic256sha256_anon/server_register_client.conf
@@ -1,12 +1,12 @@
# ServerRegister client config — test: basic256sha256_anon
applicationUri = urn:localhost:bobink:ServerRegister
+
certificate = certs/ServerRegisterClient_cert.der
privateKey = certs/ServerRegisterClient_key.der
+trustStore = certs/trust/server_register_client
securityMode = SignAndEncrypt
securityPolicy = Basic256Sha256
authMode = anonymous
-
-trustStore = certs/trust/server_register_client