I am needing to access the ABM API via C#. Searching has directed me to use BouncyCastle. I have downloaded the PEM file. However, using the following:
using (var reader = File.OpenText(pemFilePath))
{
var pemReader = new PemReader(reader);
var keyObject = pemReader.ReadObject();
I get the error "problem creating EC private key: System.NullReferenceException: Object reference not set to an instance of an object."