CACERT |
Input |
(required) The file path of the Certificate Authority
Public key.
|
XMLFILEPATH |
Input |
(required) The file path of the signed XML document.
|
TEMPCERTFILEPATH |
Both |
(optional) When the certificate is extracted from the
XML document specified in the XMLFILEPATH parameter, the certificate is stored
as a temp file on the server. The TEMPCERTFILEPATH parameter allows the user
to specify where the temp file is stored. The only requirement is that the
path begins with /tmp. If no path is specified, the API writes the file to
/tmp. If passed by reference and no path is set, TEMPCERTFILEPATH will be set
to the directory path in /tmp where the file was written to, so that the user
knows where the file has been stored.
|
CHECKINDCA |
Input |
(optional) Boolean (1 or 0) that determines whether
the API should search through the certificate bundle provided in CACERT. The
API will look for a certificate whose Subject equals the Issuer of the
certificate in the XML document provided in XMLFILEPATH. If there is a match,
the API will then verify that the CA certificate generated the leaf
certificate. If so, $$VERIFYCHAIN^XUDSIGVALIDATE will return 1. Otherwise, the
API will return 0 or -1.
|
CASUBJECT |
Output |
If CHECKINDCA is set to 1, and a CA certificate was
successfully found a validated, then CASUBJECT will be set to the subject of
the CA certificate.
|
CACONTENT |
Output |
If CHECKINDCA is set to 1, and a CA certificate was
successfully found a validated, then CASUBJECT will be set to the contents of
the CA certificate.
|
ELAPSEDTIMEMS |
Output |
(optional) The amount of time in milliseconds that
the API call took to complete.
|