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