Parameter Data Modules

The folder TBox XEngines->Parameter Data in the Standard subset contains specialization Modules for signing XML resources or verifying XML signatures.

For more information and examples of how to use the Modules in TestCases, see chapter "Verify contents of XML resources".

The Parameter Data folder contains the additional Module CertificateData. This Module performs background tasks for Modules that you use for your tests. You cannot use this in TestCases.

CertificateStoreData

Use this Module as a specialization (Windows Certificate Store) when you sign XML resources or verify a signature. For information on specializations, see chapter "Generalizations and Specializations".

The Module has the following ModuleAttributes:

ModuleAttribute

Description

Verify Certificate

Read-only.

Verify Certificate->Verify

Specify whether you want to verify the certificate before signing. Possible values are:

  • True

  • False

Verify Certificate->VerificationFlags

Define the conditions under which the XML Engine 3.0 verifies certificates in the X.509 chain. To do so, select a condition from the drop-down menu.

For instance, IgnoreWrongUsage or AllFlags.

Verify Certificate->RevocationFlags

Specify the conditions for revoking a certificate. To do so, select a condition from the drop-down menu.

For instance, ExcludeRoot.

StoreLocation

Location of the X.509 certificate store.

StoreName

Name of the X.509 certificate store.

User Credentials

Read-only.

User Credentials->Domain

Windows domain of the user you impersonate.

User Credentials->Username

Windows username of the user you impersonate.

User Credentials->Password

Password of the user you impersonate.

FindOptions

Read-only.

FindOptions->FindType

Specify the type of find methods provided by the Windows X.509 certificate store API.

For instance, FindByKeyUsage.

FindOptions->FindValue

Enter the value you want to search for.

JavaKeyStoreData

Use this Module as a specialization (Java Key Store) when you sign XML resources or verify a signature. For information on specializations, see chapter "Generalizations and Specializations".

The Module has the following ModuleAttributes:

ModuleAttribute

Description

Verify Certificate

Read-only.

Verify Certificate->Verify

Specify whether you want to verify the certificate before signing. Possible values are:

  • True

  • False

Verify Certificate->VerificationFlags

Define the conditions under which the XML Engine 3.0 verifies certificates in the X.509 chain. To do so, select a condition from the drop-down menu.

For instance, IgnoreWrongUsage or AllFlags.

Verify Certificate->RevocationFlags

Specify the conditions for revoking a certificate. To do so, select a condition from the drop-down menu.

For instance, ExcludeRoot.

StoreFile

Specify the store file to retrieve a certificate.

StorePassword

Password for the store.

KeyAlias

Specify the alias of the key you want to search for.

KeyPassword

Password of the key you want to search for.

VerificationData

Use this Module for certificate verification.

The Module has the following ModuleAttributes:

ModuleAttribute

Description

Verify

Specify whether you want to verify the certificate before signing. Possible values are:

  • True

  • False

VerificationFlags

Define the conditions under which the XML Engine 3.0 verifies certificates in the X.509 chain. To do so, select a condition from the drop-down menu.

For instance, IgnoreWrongUsage or AllFlags.

RevocationFlags

Specify the conditions for revoking a certificate. To do so, select a condition from the drop-down menu.

For instance, ExcludeRoot.