pki:template-get-request( $template as element(pki:template) ) as element(x509:req)
This function returns the request portion of the certificate template.
Parameters | |
---|---|
template | The certificate template from which to extract the request portion. |
(: 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-request(pki:get-template-by-name("test")) (: Returns the request portion of the "test" template. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.