10 references to Argument_PublicKeyWrongSizeForAlgorithm
System.Security.Cryptography (10)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
684throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 933throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (2)
411throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 586throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\Hpke.cs (1)
277throw new ArgumentException(SR.Argument_PublicKeyWrongSizeForAlgorithm, nameof(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (2)
1235throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 1686throw new ArgumentException(SR.Argument_PublicKeyWrongSizeForAlgorithm, nameof(source));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (3)
969throw new ArgumentException(SR.Argument_PublicKeyWrongSizeForAlgorithm, nameof(source)); 1028throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 1613throw new ArgumentException(SR.Argument_PublicKeyWrongSizeForAlgorithm, paramName);