xml.CryptoX509.createPublicKey

Creates a new public CryptoKey object for the given URL.

Syntax

createPublicKey(
   url STRING )
  RETURNS xml.CryptoX509
  1. url defines the given url.

Usage

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