10 references to ListCertificates
Templates.Tests (10)
src\Shared\CertificateGeneration\CertificateManager.cs (6)
182
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
196
var currentUserCertificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: true, requireExportable: true);
197
var localMachineCertificates =
ListCertificates
(StoreName.My, StoreLocation.LocalMachine, isValid: true, requireExportable: true);
406
var certificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false, requireExportable: false);
465
var certificates =
ListCertificates
(StoreName.My, StoreLocation.CurrentUser, isValid: false);
876
/// <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);