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