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