Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp:host-get-ssl-fips-enabled

xdmp:host-get-ssl-fips-enabled(
   $host-id as xs:unsignedLong*
) as xs:boolean*

Summary

Returns whether fips mode is enabled.

Parameters
host-id Host IDs.

Required Privileges

http://marklogic.com/xdmp/privileges/status

Usage Notes

The information returned from xdmp:host-get-ssl-fips-enabled is always computed on the host specified in the $host-id parameter, even if the call is evaluated on an App Server running on a different host. That is, when the API call is issued, MarkLogic Server communicates with the specified host for the boolean value whether fips mode is enabled in it and returns the boolean value from the perspective of the specified host (not from the perspective of the host in which the XQuery API is evaluated).

Example

xdmp:host-get-ssl-fips-enabled(xdmp:host("raymond.marklogic.com"))
=> true

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.