6 references to Argument_PublicKeyWrongSizeForAlgorithm
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
679throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 923throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.RSA.cs (2)
216throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 221throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm);
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (2)
1235throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 1687throw new ArgumentException(SR.Argument_PublicKeyWrongSizeForAlgorithm, nameof(source));