5 writes to X509Certificate
WsatConfig (5)
CommandLine\ArgumentsParser.cs (3)
329
config.
X509Certificate
= CertificateManager.GetMachineIdentityCertificate();
338
config.
X509Certificate
= CertificateManager.GetCertificateFromIssuerAndSubjectName(value);
342
config.
X509Certificate
= CertificateManager.GetCertificateFromThumbprint(value, string.Empty);
Configuration\WsatConfiguration.cs (2)
100
dest.
X509Certificate
= src.X509Certificate;
331
X509Certificate
= CertificateManager.GetCertificateFromThumbprint(
21 references to X509Certificate
WsatConfig (21)
CommandLine\ArgumentsParser.cs (2)
330
if (config.
X509Certificate
== null)
345
if (config.
X509Certificate
!= null)
Configuration\WsatConfiguration.cs (19)
100
dest.X509Certificate = src.
X509Certificate
;
264
ValidateIdentityCertificateThrow(this.
X509Certificate
, !Utilities.IsLocalMachineName(MachineName));
558
endpointCertString = this.
X509Certificate
== null ? "" : " -" + CommandLineOption.EndpointCert + ":" + this.
X509Certificate
.Thumbprint;
621
AddCertificatePrivateKeyAccess(
X509Certificate
);
623
else if (
X509Certificate
!= previousConfig.
X509Certificate
)
625
RemoveCertificatePrivateKeyAccess(previousConfig.
X509Certificate
);
626
AddCertificatePrivateKeyAccess(
X509Certificate
);
784
if (!this.minimalWrite || this.previousConfig == null || this.
X509Certificate
!= this.previousConfig.
X509Certificate
)
786
wsatConfigProvider.WriteString(WsatKeys.RegistryEntryX509CertificateIdentity, (this.
X509Certificate
== null ? string.Empty : this.
X509Certificate
.Thumbprint));
826
if (this.previousConfig != null && this.previousConfig.
X509Certificate
!= null)
828
wsatServiceCertificate = new WsatServiceCertificate(this.previousConfig.
X509Certificate
, previousConfig.HttpsPort);
831
if (this.TransactionBridgeEnabled && this.
X509Certificate
!= null)
833
wsatServiceCertificate = new WsatServiceCertificate(this.
X509Certificate
, HttpsPort);
867
this.
X509Certificate
== null ? SR.GetString(SR.ConfigNone) : this.
X509Certificate
.Thumbprint));