10 references to ListCertificates
Templates.Tests (10)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
219
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
233
var currentUserCertificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
234
var localMachineCertificates =
ListCertificates
(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
443
var certificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
502
var certificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false);
915
/// <remarks><see cref="
ListCertificates
"/> has richer filtering and a lot of debugging output that's unhelpful here.</remarks>
src\Shared\CertificateGeneration\MacOSCertificateManager.cs (1)
378
return
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false);
src\Shared\CertificateGeneration\UnixCertificateManager.cs (1)
453
return
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
src\Shared\CertificateGeneration\WindowsCertificateManager.cs (2)
122
var isTrusted =
ListCertificates
(StoreName.Root, StoreLocation.CurrentUser, isValid: true, requireExportable: false)
129
return
ListCertificates
(storeName, storeLocation, isValid: false);