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)