Howdy, Developer Community!
Here’s a fun little formatting problem you may run into when trying to use the RSAEncrypt method of %SYSTEM.Encryption (also useable as $System.Encryption.RSAEncrypt()!), which is documented here:
https://docs.intersystems.com/latest/csp/documatic/%25CSP.Documatic.cls…
This uses either a certificate or public key per the documentation. Quote:
Certificate/PublicKey - Either
An X.509 certificate containing the RSA public key to be used for encryption, in PEM encoded or binary DER format.
or