43 references to Argument_DestinationTooShort
System.Security.Cryptography (43)
src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (5)
218
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
1542
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
1547
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
1667
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
1672
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
System\Security\Cryptography\Aes.cs (1)
226
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\CryptographicOperations.cs (3)
153
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
462
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
1104
throw new ArgumentException(SR.
Argument_DestinationTooShort
, "destination");
System\Security\Cryptography\ECDsa.cs (4)
374
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
407
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
671
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
716
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\HashStatic.cs (3)
44
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
70
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
109
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\HKDF.cs (2)
123
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(output));
180
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(output));
System\Security\Cryptography\HMACStatic.cs (3)
63
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
90
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
147
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\IncrementalHash.cs (2)
154
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
226
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\RSA.cs (6)
220
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
303
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
529
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
631
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
1418
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
1437
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
System\Security\Cryptography\SymmetricAlgorithm.cs (9)
531
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
564
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
682
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
781
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
826
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
979
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
1132
throw new CryptographicException(SR.
Argument_DestinationTooShort
);
1200
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
1432
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
System\Security\Cryptography\SymmetricPadding.cs (5)
50
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
65
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
82
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
99
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));
120
throw new ArgumentException(SR.
Argument_DestinationTooShort
, nameof(destination));