See https://github.com/XML-Security/signxml/issues/230#issuecomment-2289098114
See #230 (comment)