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