The xmlsignature-update | xupdate command updates the XML signature in the signed input file. If the document has been modified, the updated XML signature will be different; otherwise, the updated signature will be the same as the previous signature.
raptorxmlxbrl xmlsignature-update [options] --output=File SignedFile
•The SignedFile argument is the signed XML document to update.
•Either (i) the hmac-secret-key option or (ii) the certificate-name and certificate-store options must be specified.
•If the the certificate-name and certificate-store options are specified, then they must match those that were used to sign the XML document previously. (Note that the certificate-store option is currently not supported on Linux and macOS.)
Examples of the xmlsignature-update command:
•raptorxmlxbrl xupdate --output=c:\UpdatedSignedFile.xml --certname=certificate1 --certstore=MyCertStore c:\SomeSignedFile.xml
•raptorxmlxbrl xupdate --output=c:\UpdatedSignedFile.xml --hmackey=SecretPassword c:\SomeSignedFile.xml
Options are listed in short form (if available) and long form. You can use one or two dashes for both short and long forms. An option may or may not take a value. If it takes a value, it is written like this: --option=value. Values can be specified without quotes except in two cases: (i) when the value string contains spaces, or (ii) when explicitly stated in the description of the option that quotes are required. If an option takes a Boolean value and no value is specified, then the option's default value is TRUE. Use the --h, --help option to display information about the command.