8 references to CertificateFile
Microsoft.Build.Tasks.Core (8)
ResolveKeySource.cs (8)
206
if (!string.IsNullOrEmpty(
CertificateFile
) && !certInStore)
210
if (!FileSystems.Default.FileExists(
CertificateFile
))
217
if (X509Certificate2.GetCertContentType(
CertificateFile
) == X509ContentType.Pfx)
226
cert.Import(
CertificateFile
, (string)null, X509KeyStorageFlags.PersistKeySet);
246
Log.LogErrorWithCodeFromResources("ResolveKeySource.KeyImportError",
CertificateFile
);
254
var cert = new X509Certificate2(
CertificateFile
);
262
Log.LogErrorWithCodeFromResources("ResolveKeySource.KeyImportError",
CertificateFile
);
274
else if (!certInStore && !string.IsNullOrEmpty(
CertificateFile
) && !string.IsNullOrEmpty(CertificateThumbprint))