GetVerifierCode

Syntax

GetVerifierCodeResult GetVerifierCode()

Description

The GetVerifierCode operation is used to get a block of data that is further used to connect the repository using a digital signature.

Comments

This operation must be executed before the OpenMetabase operation if the user connects using a digital signature. The GetVerifierCode operation results in the random block of data (the verifierCode field), that must be further verified with a digital signature, and a random value (the cookie field), that is used to set correspondence between the digital signature and the obtained data block.

After signing with the digital signature, the data block must be passed to the tCreds.verifier.signature field, and the random value is passed to the tCreds.verifier.cookie field.

An encrypted PFX certificate must be used to verify block with a digital signature. This certificate must be generated as a pair of x.509 certificate and private key. It must be stored on a client computer as a protected file, or be transmitted over a secure channel. Additional repository settings required for authentication with a digital signature, are given in description of the OpenMetabase operation.

Example

The example of use is given in the Connecting to Repository Using Digital Signature subsection in description of the OpenMetabase operation.

See also:

Common Operations