Loading TOC...

MarkLogic 10 Product Documentation
pki:get-trusted-certificate-ids

pki:get-trusted-certificate-ids() as xs:unsignedLong*

Summary

This function returns the ids of all of the trusted certificates in the Security database.

Example

   (: execute this against the security database :)
   xquery version "1.0-ml"; 
   import module namespace pki = "http://marklogic.com/xdmp/pki" 
      at "/MarkLogic/pki.xqy";

   pki:get-trusted-certificate-ids()

   =>
       5182918040410509551
       14829635941505935843
       17428733531660907126
       1566218877500482981
  

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