6 references to Cryptography_NotValidPrivateKey
System.Security.Cryptography (6)
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 (4)
580throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 644throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 667throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse); 698throw new CryptographicException(SR.Cryptography_NotValidPrivateKey, nse);