8 references to CertificateFile
Microsoft.Build.Tasks.Core (8)
ResolveKeySource.cs (8)
205
if (!string.IsNullOrEmpty(
CertificateFile
) && !certInStore)
209
if (!FileSystems.Default.FileExists(
CertificateFile
))
216
if (X509Certificate2.GetCertContentType(
CertificateFile
) == X509ContentType.Pfx)
225
cert.Import(
CertificateFile
, (string)null, X509KeyStorageFlags.PersistKeySet);
245
Log.LogErrorWithCodeFromResources("ResolveKeySource.KeyImportError",
CertificateFile
);
253
var cert = new X509Certificate2(
CertificateFile
);
261
Log.LogErrorWithCodeFromResources("ResolveKeySource.KeyImportError",
CertificateFile
);
273
else if (!certInStore && !string.IsNullOrEmpty(
CertificateFile
) && !string.IsNullOrEmpty(CertificateThumbprint))