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