108 references to Log
System.Security.Cryptography (108)
System\Security\Cryptography\X509Certificates\ChainPal.OpenSsl.cs (18)
44
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
46
OpenSslX509ChainEventSource.
Log
.ChainStart();
67
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
69
OpenSslX509ChainEventSource.
Log
.ChainStop();
126
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
128
OpenSslX509ChainEventSource.
Log
.FindFirstChainFinished(status);
135
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
137
OpenSslX509ChainEventSource.
Log
.AiaDisabled();
145
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
147
OpenSslX509ChainEventSource.
Log
.FindChainViaAiaFinished(status, tmp?.Count ?? 0);
178
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
180
OpenSslX509ChainEventSource.
Log
.UntrustedChainWithRevocation();
215
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
217
OpenSslX509ChainEventSource.
Log
.CouldNotOpenCAStore();
227
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
229
OpenSslX509ChainEventSource.
Log
.CachingIntermediate(cert);
238
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
240
OpenSslX509ChainEventSource.
Log
.CachingIntermediateFailedMessage();
System\Security\Cryptography\X509Certificates\OpenSslCertificateAssetDownloader.cs (20)
49
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
51
OpenSslX509ChainEventSource.
Log
.InvalidDownloadedCertificate();
97
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
99
OpenSslX509ChainEventSource.
Log
.InvalidDownloadedCrl();
124
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
126
OpenSslX509ChainEventSource.
Log
.InvalidDownloadedOcsp();
146
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
148
OpenSslX509ChainEventSource.
Log
.HttpClientNotAvailable();
154
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
156
OpenSslX509ChainEventSource.
Log
.DownloadTimeExceeded();
162
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
164
OpenSslX509ChainEventSource.
Log
.AssetDownloadStart(totalMillis, uri);
170
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
172
OpenSslX509ChainEventSource.
Log
.AssetDownloadStop(bytesDownloaded);
178
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
180
OpenSslX509ChainEventSource.
Log
.DownloadRedirectsExceeded();
186
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
188
OpenSslX509ChainEventSource.
Log
.DownloadRedirected(newUri);
194
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
196
OpenSslX509ChainEventSource.
Log
.DownloadRedirectNotFollowed(redirectUri);
System\Security\Cryptography\X509Certificates\OpenSslCrlCache.cs (38)
55
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
57
OpenSslX509ChainEventSource.
Log
.CrlIdentifiersDetermined(cert, url, crlFileName);
68
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
70
OpenSslX509ChainEventSource.
Log
.CrlCheckOffline();
95
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
97
OpenSslX509ChainEventSource.
Log
.CrlCacheInMemoryHit(cacheEntry.Expiration);
104
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
106
OpenSslX509ChainEventSource.
Log
.CrlCacheInMemoryExpired(verificationTime, cacheEntry.Expiration);
114
else if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
116
OpenSslX509ChainEventSource.
Log
.CrlCacheInMemoryMiss();
172
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
174
OpenSslX509ChainEventSource.
Log
.CrlCacheCheckStart();
183
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
185
OpenSslX509ChainEventSource.
Log
.CrlCacheCheckStop();
196
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
198
OpenSslX509ChainEventSource.
Log
.CrlCacheOpenError();
210
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
212
OpenSslX509ChainEventSource.
Log
.CrlCacheDecodeError();
233
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
235
OpenSslX509ChainEventSource.
Log
.CrlCacheFileBasedExpiry();
260
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
262
OpenSslX509ChainEventSource.
Log
.CrlCacheExpired(verificationTime, nextUpdate);
269
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
271
OpenSslX509ChainEventSource.
Log
.CrlCacheAcceptedFile(nextUpdate);
335
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
337
OpenSslX509ChainEventSource.
Log
.CrlCacheWriteFailed(crlFile);
347
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
349
OpenSslX509ChainEventSource.
Log
.CrlCacheWriteSucceeded();
417
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
419
OpenSslX509ChainEventSource.
Log
.NoCdpFound(cert);
451
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
453
OpenSslX509ChainEventSource.
Log
.NonHttpCdpEntry(name.Uri);
459
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
461
OpenSslX509ChainEventSource.
Log
.NoMatchingCdpEntry();
582
if (fullMemberKey is not null && OpenSslX509ChainEventSource.
Log
.IsEnabled())
584
OpenSslX509ChainEventSource.
Log
.CrlCacheInMemoryFull(fullMemberKey);
705
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
707
OpenSslX509ChainEventSource.
Log
.CrlCacheInMemoryPruned(countStart - countEnd, countEnd);
System\Security\Cryptography\X509Certificates\OpenSslX509ChainProcessor.cs (32)
245
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
247
OpenSslX509ChainEventSource.
Log
.NoAiaFound(currentCert);
344
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
346
OpenSslX509ChainEventSource.
Log
.FlushStores();
365
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
367
OpenSslX509ChainEventSource.
Log
.RevocationCheckStart(revocationMode, revocationFlag, chainSize);
390
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
392
OpenSslX509ChainEventSource.
Log
.StapledOcspPresent();
417
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
419
OpenSslX509ChainEventSource.
Log
.CrlChainFinished(errorCode);
429
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
431
OpenSslX509ChainEventSource.
Log
.RevocationCheckStop();
446
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
448
OpenSslX509ChainEventSource.
Log
.AllRevocationErrorsIgnored();
454
if (OpenSslX509ChainEventSource.
Log
.IsEnabled() && OpenSslX509ChainEventSource.
Log
.ShouldLogElementStatuses())
458
OpenSslX509ChainEventSource.
Log
.RawElementStatus(
625
if (OpenSslX509ChainEventSource.
Log
.IsEnabled() && OpenSslX509ChainEventSource.
Log
.ShouldLogElementStatuses())
629
OpenSslX509ChainEventSource.
Log
.FinalElementStatus(
753
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
755
OpenSslX509ChainEventSource.
Log
.OcspResponseFromCache(chainDepth, status);
818
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
820
OpenSslX509ChainEventSource.
Log
.OcspResponseFromDownload(chainDepth, status);
1240
else if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
1242
OpenSslX509ChainEventSource.
Log
.NonHttpAiaEntry(name.Uri);
1248
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
1250
OpenSslX509ChainEventSource.
Log
.NoMatchingAiaEntry(recordTypeOid);
1257
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
1259
OpenSslX509ChainEventSource.
Log
.InvalidAia();
1266
if (OpenSslX509ChainEventSource.
Log
.IsEnabled())
1268
OpenSslX509ChainEventSource.
Log
.InvalidAia();