I cannot use the RSA_PrivateKeyFromPEM.
My private key is RSA Encrypted 2048 Bytes PKCS-1 Padding required.
My Private Key is
-----BEGIN PRIVATE KEY-----
base 64 encoded string here
-----END PRIVATE KEY-----
I copy the string as shown above exactly.
I tried to removed the -----BEGIN PRIVATE KEY-----,
-----END PRIVATE KEY----- and place the string into the private Key input parameters it does not work.
Only XML notation of the key worked. To get the XML notation key, I need to do manual calculation of the RSA algorithm which is quite time consuming. The C# .NET 4.0 supports ImportParameters or FromXMLString.
If I need to use an online XML converter,
https://superdry.apphb.com/tools/online-rsa-key-converter
My Private key is submitted via the internet which is undesirable.
If I need to convert my PEM to XML String, I do not need this extension, I can write me own C# Extension because the specification required to Sign the Data with custom parameters , furthermore I have to create an Extension to Call the SOAP Request , Parse the Response and decrypt the message to get the security token.

This is the Actions I have been using
RSA_PrivateKeyFromPEM

The PEM I input is the private key I copied directly and the following error occured.
RSA_PrivateKeyFromPEM
System.ArgumentOutOfRangeException: Length cannot be less than zero.
Parameter name: length
Development platform: Reactive
Outsystems Service Studio Versions:11.11.13, Build 47944