xml.CryptoKey.CreateDerivedKey

Constructor of an empty CryptoKey object based on a URL. The crypto key must be derived before use.

Syntax

xml.CryptoKey.CreateDerivedKey(
   url STRING )
  RETURNS xml.CryptoKey
  1. url defines a key identifier based on the XML-Signature and XML-Encryption specification.

Usage

Returns a xml.CryptoKey object or NULL. Only symmetric and HMAC keys can be derived.

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).