6 references to Argument_PrivateKeyWrongSizeForAlgorithm
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
872throw new CryptographicException(SR.Argument_PrivateKeyWrongSizeForAlgorithm); 973throw new CryptographicException(SR.Argument_PrivateKeyWrongSizeForAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.RSA.cs (2)
161throw new CryptographicException(SR.Argument_PrivateKeyWrongSizeForAlgorithm); 166throw new CryptographicException(SR.Argument_PrivateKeyWrongSizeForAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
1892throw new ArgumentException(SR.Argument_PrivateKeyWrongSizeForAlgorithm, nameof(source));
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1737throw new ArgumentException(SR.Argument_PrivateKeyWrongSizeForAlgorithm, nameof(source));