9 references to Argument_PublicKeyWrongSizeForAlgorithm
System.Security.Cryptography (9)
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)
377throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm); 552throw new CryptographicException(SR.Argument_PublicKeyWrongSizeForAlgorithm);
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);