8 references to Cryptography_NotValidPrivateKey
System.Security.Cryptography (8)
src\libraries\Common\src\System\Security\Cryptography\MLDsaPkcs8.cs (1)
53throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\libraries\Common\src\System\Security\Cryptography\MLKemPkcs8.cs (1)
50throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
src\libraries\Common\src\System\Security\Cryptography\RSAKeyFormatHelper.cs (1)
288throw new CryptographicException(SR.Cryptography_NotValidPrivateKey);
System\Security\Cryptography\X509Certificates\X509CertificateLoader.Unix.cs (5)
580throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 644throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 667throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 690throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 721throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse);