xml.CryptoKey.setKey

Defines the value of a HMAC or Symmetric key.

Syntax

setKey(
   key STRING )
  1. key is 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 with the appropriate error number.