2 types derived from WSSecurityPolicy
System.ServiceModel (2)
System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
14class WSSecurityPolicy11 : WSSecurityPolicy
System\ServiceModel\Security\WSSecurityPolicy12.cs (1)
18class WSSecurityPolicy12 : WSSecurityPolicy
52 references to WSSecurityPolicy
System.ServiceModel (52)
System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
174WSSecurityPolicy sp = null; 175if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out sp))
System\ServiceModel\Channels\SecurityBindingElement.cs (10)
2197WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(binding.MessageSecurityVersion); 2222WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(binding.MessageSecurityVersion); 2307WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(binding.MessageSecurityVersion); 2337WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(security.MessageSecurityVersion); 2400WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(binding.MessageSecurityVersion);
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (14)
103WSSecurityPolicy securityPolicy; 104if (WSSecurityPolicy.TryGetSecurityPolicyDriver(assertions, out securityPolicy)) 474WSSecurityPolicy securityPolicy; 475if (WSSecurityPolicy.TryGetSecurityPolicyDriver(assertions, out securityPolicy)) 498WSSecurityPolicy securityPolicy; 499if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 528WSSecurityPolicy securityPolicy; 529if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 552WSSecurityPolicy securityPolicy; 553if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 579WSSecurityPolicy securityPolicy; 580if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy)) 646WSSecurityPolicy securityPolicy; 647if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
184WSSecurityPolicy sp = null; 186if (WSSecurityPolicy.TryGetSecurityPolicyDriver(policyCollection, out sp) && sp.ContainsWsspHttpsTokenAssertion(policyCollection))
System\ServiceModel\Security\SecurityPolicyVersion.cs (2)
54: base(System.ServiceModel.Security.WSSecurityPolicy11.WsspNamespace, WSSecurityPolicy.WsspPrefix) 72: base(System.ServiceModel.Security.WSSecurityPolicy12.WsspNamespace, WSSecurityPolicy.WsspPrefix)
System\ServiceModel\Security\WSSecurityPolicy.cs (11)
188if (e.NamespaceURI == this.WsspNamespaceUri || e.NamespaceURI == WSSecurityPolicy.MsspNamespace) 1356WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(security.MessageSecurityVersion); 2638WSSecurityPolicy sp = WSSecurityPolicy.GetSecurityPolicyDriver(bootstrapSecurity.MessageSecurityVersion); 3068public static bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out WSSecurityPolicy securityPolicy) 3074public static WSSecurityPolicy GetSecurityPolicyDriver(MessageSecurityVersion version) 3082List<WSSecurityPolicy> drivers; 3086this.drivers = new List<WSSecurityPolicy>(); 3096public bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out WSSecurityPolicy securityPolicy) 3112public WSSecurityPolicy GetSecurityPolicyDriver(MessageSecurityVersion version)
System\ServiceModel\Security\WSSecurityPolicy12.cs (11)
56XmlElement result = CreateWsspAssertion(WSSecurityPolicy.HttpsTokenName); 64policy.AppendChild(CreateWsspAssertion(WSSecurityPolicy.RequireClientCertificateName)); 68policy.AppendChild(CreateWsspAssertion(WSSecurityPolicy.HttpBasicAuthenticationName)); 72policy.AppendChild(CreateWsspAssertion(WSSecurityPolicy.HttpDigestAuthenticationName)); 94if (node is XmlElement && node.LocalName == WSSecurityPolicy.PolicyName && (node.NamespaceURI == WSSecurityPolicy.WspNamespace || node.NamespaceURI == WSSecurityPolicy.Wsp15Namespace)) 107if (node.LocalName == WSSecurityPolicy.RequireClientCertificateName) 111else if (node.LocalName == WSSecurityPolicy.HttpBasicAuthenticationName) 115else if (node.LocalName == WSSecurityPolicy.HttpDigestAuthenticationName) 600parameters.RequireDerivedKeys = TryImportWsspAssertion(assertions, WSSecurityPolicy.RequireDerivedKeysName);