1 write to credential
System.ServiceModel (1)
System\ServiceModel\Channels\PeerSecurityManager.cs (1)
847this.credential = credential;
17 references to credential
System.ServiceModel (17)
System\ServiceModel\Channels\PeerSecurityManager.cs (17)
890return new UserNameSecurityTokenProvider(string.Empty, credential.MeshPassword); 934if (this.credential.Certificate != null) 935result = new X509SecurityTokenProvider(this.credential.Certificate); 955if (!this.credential.MessageSenderAuthentication.TryGetCertificateValidator(out validator)) 957return new PeerX509TokenProvider(validator, this.credential.Certificate); 1024if (!this.credential.PeerAuthentication.TryGetCertificateValidator(out validator)) 1032if (!this.credential.MessageSenderAuthentication.TryGetCertificateValidator(out validator)) 1055if (this.credential != null) 1057if (that.credential == null || !this.credential.Equals(that.credential, this.mode, this.messageAuth)) 1069if (this.credential != null) 1070return (that.credential != null && this.credential.Equals(that.credential)); 1077if (credential != null) 1078return credential.GetHashCode();