I have an RSA base class that has been initialized using ImportParameters. In some cases only the public key will be loaded. How can I determine if the given RSA object is populated with only public key, or populated with the private key? RSACryptoServiceProvider provided a IsPublicOnly (or similar method).
As per (implement RSA in .NET core), I have switch from RSACryptoServiceProvider to RSA base class which has resolved runtime exceptions when hosted in an Azure app service.