43 references to Fill
dotnet-dev-certs (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
InMemory.FunctionalTests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
283RandomNumberGenerator.Fill(serial);
Microsoft.AspNetCore.Antiforgery (1)
Internal\BinaryBlob.cs (1)
93RandomNumberGenerator.Fill(data);
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenGeneratorTest.cs (1)
151RandomNumberGenerator.Fill(data);
Microsoft.AspNetCore.Authentication (1)
RemoteAuthenticationHandler.cs (1)
231RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Authentication.MicrosoftAccount (1)
MicrosoftAccountHandler.cs (1)
82RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Authentication.OAuth (1)
OAuthHandler.cs (1)
316RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Authentication.OpenIdConnect (1)
OpenIdConnectHandler.cs (1)
414RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Components.Endpoints (1)
DependencyInjection\ServerComponentInvocationSequence.cs (1)
16RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Components.Server (1)
Circuits\CircuitIdFactory.cs (1)
35RandomNumberGenerator.Fill(buffer);
Microsoft.AspNetCore.Components.Server.Tests (1)
src\Components\Endpoints\src\DependencyInjection\ServerComponentInvocationSequence.cs (1)
16RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.DataProtection (1)
Managed\ManagedGenRandomImpl.cs (1)
25RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.DeveloperCertificates.XPlat (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Microsoft.AspNetCore.Http.Connections (1)
Internal\HttpConnectionManager.cs (1)
113RandomNumberGenerator.Fill(buffer);
Microsoft.AspNetCore.Identity.FunctionalTests (1)
src\Identity\Extensions.Core\src\Base32.cs (1)
29RandomNumberGenerator.Fill(bytes);
Microsoft.AspNetCore.Server.Kestrel.Core (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Microsoft.AspNetCore.Server.Kestrel.Core.Tests (1)
src\Servers\Kestrel\shared\test\CertificateAuthority.cs (1)
283RandomNumberGenerator.Fill(serial);
Microsoft.AspNetCore.Session (2)
DistributedSession.cs (1)
115RandomNumberGenerator.Fill(_sessionIdBytes);
SessionMiddleware.cs (1)
74RandomNumberGenerator.Fill(guidBytes);
Microsoft.AspNetCore.TestHost (1)
WebSocketClient.cs (1)
116RandomNumberGenerator.Fill(data);
System.Net.Security (3)
src\libraries\Common\src\Interop\Unix\System.Security.Cryptography.Native\Interop.OpenSsl.cs (1)
254RandomNumberGenerator.Fill(contextId);
System\Net\NegotiateAuthenticationPal.ManagedNtlm.cs (2)
640RandomNumberGenerator.Fill(clientChallenge); 658RandomNumberGenerator.Fill(exportedSessionKey);
System.Net.WebSockets (1)
System\Net\WebSockets\ManagedWebSocket.cs (1)
678RandomNumberGenerator.Fill(buffer.AsSpan(offset, MaskLength));
System.Security.Cryptography (12)
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
205RandomNumberGenerator.Fill(salt);
src\libraries\Common\src\System\Security\Cryptography\RsaPaddingProcessor.cs (2)
346RandomNumberGenerator.Fill(seed); 428RandomNumberGenerator.Fill(salt);
System\Security\Cryptography\DesImplementation.cs (2)
49RandomNumberGenerator.Fill(key); 53RandomNumberGenerator.Fill(key);
System\Security\Cryptography\RandomNumberGenerator.cs (2)
318RandomNumberGenerator.Fill(remainingRandom); 338RandomNumberGenerator.Fill(remainingRandom);
System\Security\Cryptography\Rfc2898DeriveBytes.cs (1)
83RandomNumberGenerator.Fill(_salt.AsSpan(0, saltSize));
System\Security\Cryptography\SymmetricPadding.cs (1)
86RandomNumberGenerator.Fill(destination.Slice(count, padBytes - 1));
System\Security\Cryptography\X509Certificates\CertificateRequest.cs (1)
506RandomNumberGenerator.Fill(serialNumber);
System\Security\Cryptography\X509Certificates\UnixExportProvider.cs (2)
247RandomNumberGenerator.Fill(salt); 488RandomNumberGenerator.Fill(macSalt);
System.Security.Cryptography.Pkcs (2)
src\libraries\Common\src\System\Security\Cryptography\KeyFormatHelper.Encrypted.cs (1)
205RandomNumberGenerator.Fill(salt);
System\Security\Cryptography\Pkcs\Pkcs12SafeContents.cs (1)
391RandomNumberGenerator.Fill(salt);
Templates.Blazor.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Templates.Blazor.WebAssembly.Auth.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Templates.Blazor.WebAssembly.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Templates.Mvc.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);
Templates.Tests (1)
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
334RandomNumberGenerator.Fill(passwordBytes.AsSpan()[0..35]);