xml.CryptoX509.CreateFromNode

Constructor of a new CryptoX509 object from a XML X509 certificate node.

Syntax

xml.CryptoX509.CreateFromNode(
   node xml.DomNode )
  RETURNS xml.CryptoX509
  1. node defines an element in xml.DomNode node with X509Data as local name, which is based on the XML-Signature specification namespace "http://www.w3.org/2000/09/xmldsig#".

Usage

Returns a xml.CryptoX509 object or NULL.

If the X509 certificate is incomplete, the certificate will be created from the application global certificate list if one of SubjectName or Issuer matches. (See xml.KeyStore.addCertificate for more details.)

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