2 types derived from WSSecurityPolicy
dotnet-svcutil-lib (2)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy11.cs (1)
14
internal class WSSecurityPolicy11 :
WSSecurityPolicy
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy12.cs (1)
18
internal class WSSecurityPolicy12 :
WSSecurityPolicy
42 references to WSSecurityPolicy
dotnet-svcutil-lib (42)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (14)
102
WSSecurityPolicy
securityPolicy;
103
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(assertions, out securityPolicy))
473
WSSecurityPolicy
securityPolicy;
474
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(assertions, out securityPolicy))
497
WSSecurityPolicy
securityPolicy;
498
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
527
WSSecurityPolicy
securityPolicy;
528
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
551
WSSecurityPolicy
securityPolicy;
552
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
578
WSSecurityPolicy
securityPolicy;
579
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
644
WSSecurityPolicy
securityPolicy;
645
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out securityPolicy))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsTransportBindingElement.cs (2)
141
WSSecurityPolicy
sp = null;
142
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyContext.GetBindingAssertions(), out sp))
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
176
WSSecurityPolicy
sp = null;
178
if (
WSSecurityPolicy
.TryGetSecurityPolicyDriver(policyCollection, out sp) && sp.ContainsWsspHttpsTokenAssertion(policyCollection))
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityPolicyVersion.cs (2)
49
: base("http://schemas.xmlsoap.org/ws/2005/07/securitypolicy",
WSSecurityPolicy
.WsspPrefix)
67
: base("http://docs.oasis-open.org/ws-sx/ws-securitypolicy/200702",
WSSecurityPolicy
.WsspPrefix)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (11)
188
if (e.NamespaceURI == this.WsspNamespaceUri || e.NamespaceURI ==
WSSecurityPolicy
.MsspNamespace)
1356
WSSecurityPolicy
sp =
WSSecurityPolicy
.GetSecurityPolicyDriver(security.MessageSecurityVersion);
2638
WSSecurityPolicy
sp =
WSSecurityPolicy
.GetSecurityPolicyDriver(bootstrapSecurity.MessageSecurityVersion);
3067
public static bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out
WSSecurityPolicy
securityPolicy)
3072
public static
WSSecurityPolicy
GetSecurityPolicyDriver(MessageSecurityVersion version)
3079
private List<
WSSecurityPolicy
> _drivers;
3083
_drivers = new List<
WSSecurityPolicy
>();
3093
public bool TryGetSecurityPolicyDriver(ICollection<XmlElement> assertions, out
WSSecurityPolicy
securityPolicy)
3109
public
WSSecurityPolicy
GetSecurityPolicyDriver(MessageSecurityVersion version)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy12.cs (11)
56
XmlElement result = CreateWsspAssertion(
WSSecurityPolicy
.HttpsTokenName);
64
policy.AppendChild(CreateWsspAssertion(
WSSecurityPolicy
.RequireClientCertificateName));
68
policy.AppendChild(CreateWsspAssertion(
WSSecurityPolicy
.HttpBasicAuthenticationName));
72
policy.AppendChild(CreateWsspAssertion(
WSSecurityPolicy
.HttpDigestAuthenticationName));
94
if (node is XmlElement && node.LocalName ==
WSSecurityPolicy
.PolicyName && (node.NamespaceURI ==
WSSecurityPolicy
.WspNamespace || node.NamespaceURI ==
WSSecurityPolicy
.Wsp15Namespace))
107
if (node.LocalName ==
WSSecurityPolicy
.RequireClientCertificateName)
111
else if (node.LocalName ==
WSSecurityPolicy
.HttpBasicAuthenticationName)
115
else if (node.LocalName ==
WSSecurityPolicy
.HttpDigestAuthenticationName)
600
parameters.RequireDerivedKeys = TryImportWsspAssertion(assertions,
WSSecurityPolicy
.RequireDerivedKeysName);