GetVerifierCodeResult GetVerifierCode()
The GetVerifierCode operation is used to extract a block of data that is further used to connect the repository using a digital signature.
This operation must be executed before the OpenMetabase operation if the user connects using a digital signature. The result of the GetVerifierCode operation is a 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 sent to the tCreds.verifier.signature field, and the random value is sent 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.
The example of use is given in the Connecting to Repository Using Digital Signature subsection in description of the OpenMetabase operation.
See also: