DA REST server verifies XML signatures when XML documents are merged. Code optimization.