6 instantiations of AsymmetricSecurityBindingElement
System.ServiceModel (6)
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (1)
466
return new
AsymmetricSecurityBindingElement
(this);
System\ServiceModel\Channels\SecurityBindingElement.cs (4)
933
result = new
AsymmetricSecurityBindingElement
(
968
result = new
AsymmetricSecurityBindingElement
(
1124
result = new
AsymmetricSecurityBindingElement
(
1136
result = new
AsymmetricSecurityBindingElement
(
System\ServiceModel\Security\WSSecurityPolicy.cs (1)
532
binding = new
AsymmetricSecurityBindingElement
();
58 references to AsymmetricSecurityBindingElement
System.ServiceModel (58)
System\ServiceModel\Administration\EndpointInstanceProvider.cs (3)
329
if (bindingElement is
AsymmetricSecurityBindingElement
)
331
AsymmetricSecurityBindingElement
specificElement1 = (
AsymmetricSecurityBindingElement
)bindingElement;
System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (2)
30
AsymmetricSecurityBindingElement(
AsymmetricSecurityBindingElement
elementToBeCloned)
56
: this(recipientTokenParameters, initiatorTokenParameters,
AsymmetricSecurityBindingElement
.defaultAllowSerializedSigningTokenOnReply)
System\ServiceModel\Channels\SecurityBindingElement.cs (13)
929
static public
AsymmetricSecurityBindingElement
CreateCertificateSignatureBindingElement()
931
AsymmetricSecurityBindingElement
result;
1004
AsymmetricSecurityBindingElement
asbe = sbe as
AsymmetricSecurityBindingElement
;
1032
AsymmetricSecurityBindingElement
asbe = sbe as
AsymmetricSecurityBindingElement
;
1109
static public
AsymmetricSecurityBindingElement
CreateMutualCertificateDuplexBindingElement()
1114
static public
AsymmetricSecurityBindingElement
CreateMutualCertificateDuplexBindingElement(MessageSecurityVersion version)
1120
AsymmetricSecurityBindingElement
result;
1885
if ((security is SymmetricSecurityBindingElement) || (security is
AsymmetricSecurityBindingElement
))
2068
else if (binding is
AsymmetricSecurityBindingElement
)
2070
ExportAsymmetricSecurityBindingElement((
AsymmetricSecurityBindingElement
)binding, exporter, context);
2195
static void ExportAsymmetricSecurityBindingElement(
AsymmetricSecurityBindingElement
binding, MetadataExporter exporter, PolicyConversionContext policyContext)
System\ServiceModel\Channels\SecurityBindingElementImporter.cs (1)
550
AsymmetricSecurityBindingElement
binding = null;
System\ServiceModel\Configuration\SecurityElementBase.cs (12)
44
[ConfigurationProperty(ConfigurationStrings.AllowSerializedSigningTokenOnReply, DefaultValue =
AsymmetricSecurityBindingElement
.defaultAllowSerializedSigningTokenOnReply)]
212
AsymmetricSecurityBindingElement
asbe = sbe as
AsymmetricSecurityBindingElement
;
530
AsymmetricSecurityBindingElement
asbe1 = b1 as
AsymmetricSecurityBindingElement
;
533
AsymmetricSecurityBindingElement
asbe2 = (
AsymmetricSecurityBindingElement
)b2;
705
AsymmetricSecurityBindingElement
asbe = sbe as
AsymmetricSecurityBindingElement
;
759
else if ( sbe is
AsymmetricSecurityBindingElement
)
761
X509SecurityTokenParameters initiatorParamameters = ( (
AsymmetricSecurityBindingElement
)sbe ).InitiatorTokenParameters as X509SecurityTokenParameters;
765
X509SecurityTokenParameters recepientParamameters = ( (
AsymmetricSecurityBindingElement
)sbe ).RecipientTokenParameters as X509SecurityTokenParameters;
System\ServiceModel\Dispatcher\PartialTrustValidationBehavior.cs (1)
97
typeof(
AsymmetricSecurityBindingElement
),
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (10)
235
if (sbe is SymmetricSecurityBindingElement || sbe is
AsymmetricSecurityBindingElement
)
406
if (sbe is SymmetricSecurityBindingElement || sbe is
AsymmetricSecurityBindingElement
)
493
if (sbe is SymmetricSecurityBindingElement || sbe is
AsymmetricSecurityBindingElement
)
595
if ((sbe is
AsymmetricSecurityBindingElement
) && (IsBearerKeyType(((
AsymmetricSecurityBindingElement
)sbe).InitiatorTokenParameters) || IsBearerKeyType(((
AsymmetricSecurityBindingElement
)sbe).RecipientTokenParameters)))
798
AsymmetricSecurityBindingElement
asbe = (sbe as
AsymmetricSecurityBindingElement
);
909
if (sbe is
AsymmetricSecurityBindingElement
&& ((
AsymmetricSecurityBindingElement
)sbe).IsCertificateSignatureBinding)
System\ServiceModel\Security\InfoCardHelper.cs (3)
855
else if (this.sbe is
AsymmetricSecurityBindingElement
)
857
AsymmetricSecurityBindingElement
asbe = (
AsymmetricSecurityBindingElement
)sbe;
System\ServiceModel\Security\SecurityTokenParametersEnumerable.cs (3)
36
else if (this.sbe is
AsymmetricSecurityBindingElement
)
38
AsymmetricSecurityBindingElement
asbe = (
AsymmetricSecurityBindingElement
)sbe;
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (1)
525
SecurityTokenParameters bootstrapProtectionParameters = (securityBindingElement is SymmetricSecurityBindingElement) ? ((SymmetricSecurityBindingElement)securityBindingElement).ProtectionTokenParameters : ((
AsymmetricSecurityBindingElement
)securityBindingElement).RecipientTokenParameters;
System\ServiceModel\Security\WSSecurityPolicy.cs (9)
494
public virtual XmlElement CreateWsspAsymmetricBindingAssertion(MetadataExporter exporter, PolicyConversionContext policyContext,
AsymmetricSecurityBindingElement
binding)
519
public virtual bool TryImportWsspAsymmetricBindingAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions, out
AsymmetricSecurityBindingElement
binding, out XmlElement assertion)
629
else if (binding is
AsymmetricSecurityBindingElement
)
631
return CreateWsspWss11Assertion(exporter, ((
AsymmetricSecurityBindingElement
)binding).RequireSignatureConfirmation);
697
else if (binding is
AsymmetricSecurityBindingElement
)
699
((
AsymmetricSecurityBindingElement
)binding).RequireSignatureConfirmation = requireSignatureConfirmation;
1306
protectionOrder = ((
AsymmetricSecurityBindingElement
)binding).MessageProtectionOrder;
1737
public virtual bool TryImportWsspInitiatorTokenAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions,
AsymmetricSecurityBindingElement
binding)
1763
public virtual bool TryImportWsspRecipientTokenAssertion(MetadataImporter importer, PolicyConversionContext policyContext, ICollection<XmlElement> assertions,
AsymmetricSecurityBindingElement
binding)