3 implementations of HashStrength
Microsoft.AspNetCore.Server.HttpSys (1)
RequestProcessing\RequestContext.FeatureCollection.cs (1)
607int ITlsHandshakeFeature.HashStrength => Request.HashStrength;
Microsoft.AspNetCore.Server.IIS (1)
Core\IISHttpContext.FeatureCollection.cs (1)
425int ITlsHandshakeFeature.HashStrength => HashStrength;
Microsoft.AspNetCore.Server.Kestrel.Core (1)
Internal\TlsConnectionFeature.cs (1)
125public int HashStrength => _snapshotted ? _hashStrength : _sslStream.HashStrength;
5 references to HashStrength
IIS.Tests (1)
TlsHandshakeFeatureTests.cs (1)
45var hashStrength = tlsHandshakeFeature.HashStrength;
InMemory.FunctionalTests (3)
HttpsConnectionMiddlewareTests.cs (3)
154Assert.True(tlsFeature.HashStrength >= 0, "HashStrength"); // May be 0 for some algorithms 192Assert.True(tlsFeature.HashStrength >= 0, "HashStrength"); // May be 0 for some algorithms 347Assert.True(handshakeFeature.HashStrength >= 0);
Microsoft.AspNetCore.Server.HttpSys.FunctionalTests (1)
HttpsTests.cs (1)
226Assert.Equal(tlsFeature.HashStrength, (int)tlsCopy.HashStrength);