11 references to Argument_PrivateKeyWrongSizeForAlgorithm
System.Security.Cryptography (11)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (3)
882
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
983
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
1821
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (3)
455
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
651
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
2092
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
1857
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsaCng.Windows.cs (1)
179
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1736
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (2)
913
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
1599
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);