8 references to Argument_PrivateKeyWrongSizeForAlgorithm
System.Security.Cryptography (8)
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)
1857
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (1)
1736
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
System\Security\Cryptography\X25519DiffieHellman.cs (2)
824
throw new ArgumentException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
, nameof(source));
1477
throw new CryptographicException(SR.
Argument_PrivateKeyWrongSizeForAlgorithm
);