MarkLogic 9 Product Documentation
xdmp.rsaGenerate

xdmp.rsaGenerate(
   options as Object?
) as Sequence

Summary

Generate a new RSA public/private key pair. Returns a list of two PEM encoded strings. The first is the private key, the second is the public key.

Parameters
options

Options with which to customize this function. This function supports the following options:

keyLength
passPhrase

Example

  xdmp.rsaGenerate({keyLength:2048})
Powered by MarkLogic Server | Terms of Use | Privacy Policy