xml.CryptoKey.setKey

Defines the value of a HMAC or Symmetric key.

Syntax

setKey(
   key STRING )
  1. key defines the value.

Usage

The value can be a password and must be of the size corresponding to the key identifier.

In case of error, the method throws an exception and sets the status variable. Depending on the error, a human-readable description of the problem is available in the sqlca.sqlerrm register. See Error handling in GWS calls (status).