xml.CryptoX509.createPublicKey

Creates a new public CryptoKey object for the given url, from the public key embedded in a certificate.

Syntax

createPublicKey(
   url STRING )
  RETURNING object xml.CryptoX509
  1. url is the given url.

Usage

Creates a new public CryptoKey object for the given url, from the public key embedded in this certificate if any; NULL otherwise.

Returns a CryptoX509 object.

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