xml.CryptoKey.Create

Initializes an xml.CryptoKey object. Constructor of an empty CryptoKey object depending on a url.

Syntax

xml.CryptoKey.Create(
   url STRING )
  RETURNING object xml.CryptoKey
  1. url defines a key identifier according to the XML-Signature and XML-Encryption specification or the Diffie-Hellman specification.

Usage

Returns a CryptoKey object or NULL.

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