Loading TOC...

MarkLogic Server 11.0 Product Documentation
pki:template-get-key-options

pki:template-get-key-options(
   $template as element(pki:template)
) as element(pki:key-options)

Summary

This function returns all of the template key options set in the specified certificate template.

Parameters
template The certificate template from which to get the key options.

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:template-get-key-options(pki:get-template-by-name("test"))

    (: Return all of the key options in the certificate template, named "test." :)
  

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