26 references to ThrowIfAsnInvalidLength
System.Security.Cryptography (26)
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLDsa.cs (4)
666
Helpers.
ThrowIfAsnInvalidLength
(source);
746
Helpers.
ThrowIfAsnInvalidLength
(source);
804
Helpers.
ThrowIfAsnInvalidLength
(source);
861
Helpers.
ThrowIfAsnInvalidLength
(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\CompositeMLKem.cs (4)
535
Helpers.
ThrowIfAsnInvalidLength
(source);
631
Helpers.
ThrowIfAsnInvalidLength
(source);
745
Helpers.
ThrowIfAsnInvalidLength
(source);
798
Helpers.
ThrowIfAsnInvalidLength
(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLDsa.cs (4)
1359
Helpers.
ThrowIfAsnInvalidLength
(source);
1422
Helpers.
ThrowIfAsnInvalidLength
(source);
1485
Helpers.
ThrowIfAsnInvalidLength
(source);
1534
Helpers.
ThrowIfAsnInvalidLength
(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\MLKem.cs (5)
1185
Helpers.
ThrowIfAsnInvalidLength
(source);
1247
Helpers.
ThrowIfAsnInvalidLength
(source);
1305
Helpers.
ThrowIfAsnInvalidLength
(source);
1350
Helpers.
ThrowIfAsnInvalidLength
(source);
1400
Helpers.
ThrowIfAsnInvalidLength
(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\SlhDsa.cs (4)
1222
Helpers.
ThrowIfAsnInvalidLength
(source);
1285
Helpers.
ThrowIfAsnInvalidLength
(source);
1364
Helpers.
ThrowIfAsnInvalidLength
(source);
1413
Helpers.
ThrowIfAsnInvalidLength
(source);
src\runtime\src\libraries\Common\src\System\Security\Cryptography\X25519DiffieHellman.cs (5)
1003
Helpers.
ThrowIfAsnInvalidLength
(source);
1077
Helpers.
ThrowIfAsnInvalidLength
(source);
1135
Helpers.
ThrowIfAsnInvalidLength
(source);
1180
Helpers.
ThrowIfAsnInvalidLength
(source);
1230
Helpers.
ThrowIfAsnInvalidLength
(source);