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