X509Certificate2 PrivateKey and GetRSAPrivateKey
Is it possible in .NET 8 and above that PrivateKey
property returns null
but GetRSAPrivateKey
returns key? How can I write a unit test for such a scenario?
X509Certificate2 PrivateKey and GetRSAPrivateKey
Is it possible in .NET 8 and above that PrivateKey
property returns null
but GetRSAPrivateKey
returns key? How can I write a unit test for such a scenario?