xml.CryptoX509.CreateFromNode

Constructor of a new CryptoX509 object from a XML X509 certificate node, according to the XML-Signature specification

Syntax

xml.CryptoX509.CreateFromNode(
   node xml.DomNode )
  RETURNING object xml.CryptoX509
  1. node is an ELEMENT DomNode node with X509Data as local name, and belonging to the XML-Signature namespace http://www.w3.org/2000/09/xmldsig#.

Usage

Returns a 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 addCertificate for more details.)

In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.