sec.getCredentialById( credential-id as (Number|String) ) as element(sec.credential)
This function returns the specified PEM encoded X509 certificate.
Parameters | |
---|---|
credential-id | Credential id. |
const sec = require('/MarkLogic/security.xqy'); sec.getCredentialById(3417729992254373588)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.