19 references to ServiceCertificate
System.ServiceModel (19)
System\ServiceModel\Administration\ServiceInstanceProvider.cs (3)
216
if (specificBehavior.
ServiceCertificate
!= null && specificBehavior.
ServiceCertificate
.Certificate != null)
218
instance.SetProperty(AdministrationStrings.ServiceCertificate, specificBehavior.
ServiceCertificate
.Certificate.ToString());
System\ServiceModel\Configuration\ServiceCredentialsElement.cs (1)
158
this.ServiceCertificate.ApplyConfiguration(behavior.
ServiceCertificate
);
System\ServiceModel\Description\ServiceCredentials.cs (3)
243
if (this.
ServiceCertificate
!= null)
245
X509Certificate2 serverCert = this.
ServiceCertificate
.Certificate;
323
this.
ServiceCertificate
.MakeReadOnly();
System\ServiceModel\Security\FederatedSecurityTokenManager.cs (2)
421
if ( base.ServiceCredentials.
ServiceCertificate
.Certificate != null )
423
outOfBandTokens.Add( new X509SecurityToken( base.ServiceCredentials.
ServiceCertificate
.Certificate ) );
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (7)
253
if (parent.
ServiceCertificate
.Certificate != null)
255
outOfBandTokens.Add(new X509SecurityToken(parent.
ServiceCertificate
.Certificate));
306
if (parent.
ServiceCertificate
.Certificate == null)
310
SecurityUtils.EnsureCertificateCanDoKeyExchange(parent.
ServiceCertificate
.Certificate);
311
return new ServiceX509SecurityTokenProvider(parent.
ServiceCertificate
.Certificate);
507
if (parent.
ServiceCertificate
.Certificate != null)
509
return EndpointIdentity.CreateX509CertificateIdentity(parent.
ServiceCertificate
.Certificate);
System\ServiceModel\Security\WSTrustServiceContract.cs (3)
157
if (serviceCreds != null && serviceCreds.
ServiceCertificate
!= null && serviceCreds.
ServiceCertificate
.Certificate != null)
160
serviceTokens.Add(new X509SecurityToken(serviceCreds.
ServiceCertificate
.Certificate));