10 references to Cryptography_NotValidPrivateKey
System.Security.Cryptography (10)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\DSACng.ImportExport.cs (1)
432throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\ECCng.ImportExport.cs (1)
298throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (2)
141throw new CryptographicException(SR.Cryptography_NotValidPrivateKey); 202throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaPkcs8.cs (1)
49throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKemPkcs8.cs (1)
49throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.Pkcs1.cs (1)
125throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
245throw new CryptographicException(SR.Cryptography_NotValidPrivateKey); 255throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
System\Security\Cryptography\CngHelpers.cs (1)
283throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);