9 references to Argument_PublicKeyWrongSizeForAlgorithm
System.Security.Cryptography (9)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
684
throw new CryptographicException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
);
933
throw new CryptographicException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (2)
377
throw new CryptographicException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
);
552
throw new CryptographicException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
);
src\runtime\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));
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (3)
969
throw new ArgumentException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
, nameof(source));
1028
throw new CryptographicException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
);
1613
throw new ArgumentException(SR.
Argument_PublicKeyWrongSizeForAlgorithm
, paramName);