Check that Application URI is set ServerArray[1] and is equal to NamespaceArray[0]

Description

As described in OPC UA specification part 5 and #1494 (closed), the coherency between Server Application URI, ServerArray[0] and NamespaceArray[1]:

The URI of the ServerArray with Index 0 shall be identical to the URI of the NamespaceArray with Index 1, since both represent the local Server.

#1494 (closed) already added the check for Application URI and NamespaceArray[1] but the check for ServerArray[0] is still missing.

Code version and environment identification

2554226f

Current behavior

Content of ServerArray[0] is not enforced to be the same than Application URI / NamespaceArray[1].

Expected behavior

Content of ServerArray[0] should be enforced to be the same than Application URI / NamespaceArray[1].

Security impact

No security impact

Implementation

Add check at same level than check_opcua_values_nsArray verification and using similar approach.

Edited Oct 27, 2025 by Vincent Monfort
Assignee Loading
Time tracking Loading