11 references to Cryptography_NotValidPrivateKey
System.Security.Cryptography (11)
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)
127
throw new CryptographicException(SR.
Cryptography_NotValidPrivateKey
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellmanCng.Windows.cs (2)
253
throw new CryptographicException(SR.
Cryptography_NotValidPrivateKey
);
263
throw new CryptographicException(SR.
Cryptography_NotValidPrivateKey
);
System\Security\Cryptography\CngHelpers.cs (1)
283
throw new CryptographicException(SR.
Cryptography_NotValidPrivateKey
);
System\Security\Cryptography\HpkeECDiffieHellmanKemAdapter.cs (1)
74
throw new CryptographicException(SR.
Cryptography_NotValidPrivateKey
);