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 with the appropriate error number.