<< Click to Display Table of Contents >>

The xmlsignature-verify | xverify command verifies the XML signature of the input file. If the verification is successful, a result="OK" message is displayed; otherwise, a result="Failed" message is displayed.

 

Windows

RaptorXML xmlsignature-verify [options] InputFile

Linux

raptorxml xmlsignature-verify [options] InputFile

Mac

raptorxml xmlsignature-verify [options] InputFile

 

The InputFile argument is the signed XML document to verify.

 

Examples

 

raptorxml xverify c:\SignedFile.xml

 

Click to expand/collapseCasing and slashes on the command line

RaptorXML on Windows

raptorxml on Unix (Linux, Mac)

 

* Note that lowercase (raptorxml) works on all platforms (Windows, Linux, and Mac), while upper-lower (RaptorXML) works only on Windows and Mac.

* Use forward slashes on Linux and Mac, backslashes on Windows.

 

Options

The command's options are listed below, organized into groups. 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.

 

Click to expand/collapseCommon options

--verbose = true|false

A value of true enables output of additional information during validation. Default value is false.

Note:   Boolean option values are set to true if the option is specified without a value.

 

 

Click to expand/collapseXML Signature options

--certname, --certificate-name = VALUE

The name of the certificate used for signing.

 

Windows

This is the Subject name of a certificate from the selected --certificate-store.

 

Example to list the certificates (under PowerShell)

% ls cert://CurrentUser/My

PSParentPath: Microsoft.PowerShell.Security\Certificate::CurrentUser\My

Thumbprint Subject

---------- -------

C9DF64BB0AAF5FA73474D78B7CCFFC37C95BFC6C CN=certificate1

... CN=...

 

Example: --certificate-name==certificate1

 

 

Linux/MacOS

--certname specifies the file name of a PEM encoded X.509v3 certificate with the private key. Such files usually have the extension .pem.

 

Example: --certificate-name==/path/to/certificate1.pem

 

--certstore, --certificate-store = VALUE

The location where the the certificate specified with --certificate-name is stored.

 

Windows

The name of a certificate store under cert://CurrentUser. The available certificate stores can be listed (under PowerShell) by using % ls cert://CurrentUser/. Certificates would then be listed as follows:

 

Name : TrustedPublisher

Name : ClientAuthIssuer

Name : Root

Name : UserDS

Name : CA

Name : ACRS

Name : REQUEST

Name : AuthRoot

Name : MSIEHistoryJournal

Name : TrustedPeople

Name : MyCertStore

Name : Local NonRemovable Certificates

Name : SmartCardRoot

Name : Trust

Name : Disallowed

 

Example: --certificate-store==MyCertStore

 

 

Linux/MacOS

The --certstore option is currently not supported.

--hmackey, --hmac-secret-key = VALUE

The HMAC shared secret key; must have a minimum length of six characters.

 

Example: --hmackey=secretpassword

 

Click to expand/collapseHelp and version options

--help

Displays help text for the command. For example, valany --h. (Alternatively the help command can be used with an argument. For example: help valany.)

 

--version

Displays the version of RaptorXML Server. If used with a command, place --version before the command.

 

 

 

 


© 2019 Altova GmbH