Loading TOC...

pki:get-pending-certificate-requests-pem

pki:get-pending-certificate-requests-pem(
   $template-id as xs:unsignedLong
) as xs:string*

Summary

This function returns any pending certificate requests for the specified template. The pending requests are returned as PEM encoded strings.

Parameters
$template-id The certificate template id for the certificate requests to be returned.

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";

  for $tid in pki:get-template-ids()
     return pki:get-pending-certificate-requests-pem($tid) 

  (: Returns all of the pending certificate requests in the security database in PEM 
  encoded format. :)
  

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