6 references to Argument_PrivateKeyWrongSizeForAlgorithm
System.Security.Cryptography (6)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (2)
872
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
973
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsaManaged.RSA.cs (2)
161
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
166
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);
src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (1)
1892
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1737
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));