7 instantiations of IssuedSecurityTokenParameters
System.ServiceModel (7)
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (1)
213
IssuedSecurityTokenParameters result = new
IssuedSecurityTokenParameters
();
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (1)
149
IssuedSecurityTokenParameters issuedParameters = new
IssuedSecurityTokenParameters
(this.IssuedTokenType, this.IssuerAddress, this.IssuerBinding);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (2)
229
return new
IssuedSecurityTokenParameters
(this);
820
IssuedSecurityTokenParameters result = new
IssuedSecurityTokenParameters
(SecurityXXX2005Strings.SamlTokenType);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (1)
717
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotSigned, new
IssuedSecurityTokenParameters
())));
System\ServiceModel\Security\WSSecurityPolicy.cs (2)
2438
IssuedSecurityTokenParameters issued = new
IssuedSecurityTokenParameters
();
2462
IssuedSecurityTokenParameters issued = new
IssuedSecurityTokenParameters
();
101 references to IssuedSecurityTokenParameters
System.ServiceModel (101)
System\ServiceModel\Channels\SecurityBindingElement.cs (15)
1283
static public SymmetricSecurityBindingElement CreateIssuedTokenBindingElement(
IssuedSecurityTokenParameters
issuedTokenParameters)
1295
static public SymmetricSecurityBindingElement CreateIssuedTokenForCertificateBindingElement(
IssuedSecurityTokenParameters
issuedTokenParameters)
1319
internal static bool IsIssuedTokenForCertificateBinding(SecurityBindingElement sbe, out
IssuedSecurityTokenParameters
issuedTokenParameters)
1341
issuedTokenParameters = parameters.SignedEncrypted[0] as
IssuedSecurityTokenParameters
;
1347
issuedTokenParameters = parameters.Endorsing[0] as
IssuedSecurityTokenParameters
;
1356
static public SymmetricSecurityBindingElement CreateIssuedTokenForSslBindingElement(
IssuedSecurityTokenParameters
issuedTokenParameters)
1362
internal static bool IsIssuedTokenForSslBinding(SecurityBindingElement sbe, out
IssuedSecurityTokenParameters
issuedTokenParameters)
1369
static public SymmetricSecurityBindingElement CreateIssuedTokenForSslBindingElement(
IssuedSecurityTokenParameters
issuedTokenParameters, bool requireCancellation)
1391
internal static bool IsIssuedTokenForSslBinding(SecurityBindingElement sbe, bool requireCancellation, out
IssuedSecurityTokenParameters
issuedTokenParameters)
1416
issuedTokenParameters = parameters.SignedEncrypted[0] as
IssuedSecurityTokenParameters
;
1422
issuedTokenParameters = parameters.Endorsing[0] as
IssuedSecurityTokenParameters
;
1665
static public TransportSecurityBindingElement CreateIssuedTokenOverTransportBindingElement(
IssuedSecurityTokenParameters
issuedTokenParameters)
1690
internal static bool IsIssuedTokenOverTransportBinding(SecurityBindingElement sbe, out
IssuedSecurityTokenParameters
issuedTokenParameters)
1706
issuedTokenParameters = parameters.Signed[0] as
IssuedSecurityTokenParameters
;
1712
issuedTokenParameters = parameters.Endorsing[0] as
IssuedSecurityTokenParameters
;
System\ServiceModel\Configuration\IssuedTokenParametersElement.cs (6)
68
[ConfigurationProperty(ConfigurationStrings.KeyType, DefaultValue =
IssuedSecurityTokenParameters
.defaultKeyType)]
124
internal void ApplyConfiguration(
IssuedSecurityTokenParameters
parameters)
211
internal
IssuedSecurityTokenParameters
Create(bool createTemplateOnly, SecurityKeyType templateKeyType)
213
IssuedSecurityTokenParameters
result = new IssuedSecurityTokenParameters();
225
internal void InitializeFrom(
IssuedSecurityTokenParameters
source, bool initializeNestedBindings)
269
foreach (
IssuedSecurityTokenParameters
.AlternativeIssuerEndpoint alternativeIssuer in source.AlternativeIssuerEndpoints)
System\ServiceModel\Configuration\SecurityElementBase.cs (13)
26
SecurityKeyType templateKeyType =
IssuedSecurityTokenParameters
.defaultKeyType;
419
else if (p1 is
IssuedSecurityTokenParameters
)
421
if (((
IssuedSecurityTokenParameters
)p1).KeyType != ((
IssuedSecurityTokenParameters
)p2).KeyType)
607
sbe.EndpointSupportingTokenParameters.Endorsing[0] is
IssuedSecurityTokenParameters
)
609
this.templateKeyType = ((
IssuedSecurityTokenParameters
)sbe.EndpointSupportingTokenParameters.Endorsing[0]).KeyType;
612
sbe.EndpointSupportingTokenParameters.Signed[0] is
IssuedSecurityTokenParameters
)
614
this.templateKeyType = ((
IssuedSecurityTokenParameters
)sbe.EndpointSupportingTokenParameters.Signed[0]).KeyType;
617
sbe.EndpointSupportingTokenParameters.SignedEncrypted[0] is
IssuedSecurityTokenParameters
)
619
this.templateKeyType = ((
IssuedSecurityTokenParameters
)sbe.EndpointSupportingTokenParameters.SignedEncrypted[0]).KeyType;
623
this.templateKeyType =
IssuedSecurityTokenParameters
.defaultKeyType;
633
else if (sp is
IssuedSecurityTokenParameters
)
634
this.IssuedTokenParameters.InitializeFrom((
IssuedSecurityTokenParameters
)sp, initializeNestedBindings);
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (8)
583
if (stp is
IssuedSecurityTokenParameters
)
585
IssuedSecurityTokenParameters
issuedParameters = stp as
IssuedSecurityTokenParameters
;
638
if (!(tokenParameters is
IssuedSecurityTokenParameters
))
641
return ((
IssuedSecurityTokenParameters
)tokenParameters).KeyType == SecurityKeyType.BearerKey;
731
if (stp is
IssuedSecurityTokenParameters
)
733
IssuedSecurityTokenParameters
issuedParameters = stp as
IssuedSecurityTokenParameters
;
System\ServiceModel\FederatedMessageSecurityOverHttp.cs (2)
149
IssuedSecurityTokenParameters
issuedParameters = new IssuedSecurityTokenParameters(this.IssuedTokenType, this.IssuerAddress, this.IssuerBinding);
258
IssuedSecurityTokenParameters
issuedTokenParameters;
System\ServiceModel\MessageSecurityOverHttp.cs (7)
102
oneShotSecurity = SecurityBindingElement.CreateIssuedTokenOverTransportBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(new WSSecurityTokenSerializer(emitBspAttributes)), this.algorithmSuite));
136
oneShotSecurity = SecurityBindingElement.CreateIssuedTokenForSslBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(new WSSecurityTokenSerializer(emitBspAttributes)), this.algorithmSuite), true);
161
oneShotSecurity = SecurityBindingElement.CreateIssuedTokenForCertificateBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(new WSSecurityTokenSerializer(emitBspAttributes)), this.algorithmSuite));
264
IssuedSecurityTokenParameters
infocardParameters;
281
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
326
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
359
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
System\ServiceModel\MessageSecurityOverMsmq.cs (3)
82
result = SecurityBindingElement.CreateIssuedTokenForCertificateBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(), this.algorithmSuite));
131
IssuedSecurityTokenParameters
issuedParameters;
151
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
System\ServiceModel\MessageSecurityOverTcp.cs (5)
82
oneShotSecurity = SecurityBindingElement.CreateIssuedTokenOverTransportBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(), this.algorithmSuite));
109
oneShotSecurity = SecurityBindingElement.CreateIssuedTokenForSslBindingElement(
IssuedSecurityTokenParameters
.CreateInfoCardParameters(new SecurityStandardsManager(), this.algorithmSuite), true);
170
IssuedSecurityTokenParameters
infocardParameters;
181
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
210
if (!
IssuedSecurityTokenParameters
.IsInfoCardParameters(
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
494
IssuedSecurityTokenParameters
issuedTokenParameters = initiatorRequirement.GetProperty<
IssuedSecurityTokenParameters
>(ServiceModelSecurityTokenRequirement.IssuedSecurityTokenParametersProperty);
System\ServiceModel\Security\InfoCardHelper.cs (16)
92
IssuedSecurityTokenParameters
issuedTokenParameters = tokenRequirement.GetProperty<
IssuedSecurityTokenParameters
>(ServiceModelSecurityTokenRequirement.IssuedSecurityTokenParametersProperty);
127
IssuedSecurityTokenParameters
parameters = TryGetNextStsIssuedTokenParameters(binding);
165
static PolicyElement[] GetPolicyChain(EndpointAddress target, Binding outerBinding,
IssuedSecurityTokenParameters
parameters, Uri firstPrivacyNoticeLink, int firstPrivacyNoticeVersion, SecurityTokenManager clientCredentialsTokenManager)
168
IssuedSecurityTokenParameters
nextParameters = parameters;
456
static
IssuedSecurityTokenParameters
TryGetNextStsIssuedTokenParameters(Binding currentStsBinding)
479
static
IssuedSecurityTokenParameters
TryGetNextStsIssuedTokenParameters(SecurityBindingElement securityBindingEle)
490
ThrowOnMultipleAssignment<
IssuedSecurityTokenParameters
> issuedTokenParameters =
491
new ThrowOnMultipleAssignment<
IssuedSecurityTokenParameters
>(SR.GetString(SR.TooManyIssuedSecurityTokenParameters));
498
static void FindInfoCardIssuerBinding(SecurityBindingElement secBindingElement, ThrowOnMultipleAssignment<
IssuedSecurityTokenParameters
> issuedSecurityTokenParameters)
510
IssuedSecurityTokenParameters
issuedTokenParam = param as
IssuedSecurityTokenParameters
;
523
IssuedSecurityTokenParameters
istp = TryGetNextStsIssuedTokenParameters(((SecureConversationSecurityTokenParameters)param).BootstrapSecurityBindingElement);
533
IssuedSecurityTokenParameters
istp = TryGetNextStsIssuedTokenParameters(innerSecurityBindingElement);
711
IssuedSecurityTokenParameters
issuedTokenParameters = tokenRequirement.GetProperty<
IssuedSecurityTokenParameters
>(ServiceModelSecurityTokenRequirement.IssuedSecurityTokenParametersProperty);
System\ServiceModel\Security\SecurityUtils.cs (2)
2075
else if (stp is
IssuedSecurityTokenParameters
)
2077
SafeFreeCredentials result = GetCredentialsHandle(((
IssuedSecurityTokenParameters
)stp).IssuerBinding, clientCredentials);
System\ServiceModel\Security\SendSecurityHeader.cs (4)
982
IssuedSecurityTokenParameters
tokenParams = null;
988
tokenParams = this.signedEndorsingTokenParameters[position] as
IssuedSecurityTokenParameters
;
991
tokenParams = this.signedTokenParameters[position] as
IssuedSecurityTokenParameters
;
994
tokenParams = this.basicSupportingTokenParameters[position] as
IssuedSecurityTokenParameters
;
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (4)
46
protected IssuedSecurityTokenParameters(
IssuedSecurityTokenParameters
other)
818
internal static
IssuedSecurityTokenParameters
CreateInfoCardParameters(SecurityStandardsManager standardsManager, SecurityAlgorithmSuite algorithm)
820
IssuedSecurityTokenParameters
result = new IssuedSecurityTokenParameters(SecurityXXX2005Strings.SamlTokenType);
828
internal static bool IsInfoCardParameters(
IssuedSecurityTokenParameters
parameters, SecurityStandardsManager standardsManager)
System\ServiceModel\Security\WSSecurityOneDotZeroSendSecurityHeader.cs (4)
102
IssuedSecurityTokenParameters
istp = securityTokenParameters as
IssuedSecurityTokenParameters
;
723
IssuedSecurityTokenParameters
issuedSecurityTokenParameters = securityTokenParameters as
IssuedSecurityTokenParameters
;
System\ServiceModel\Security\WSSecurityPolicy.cs (10)
1878
else if (parameters is
IssuedSecurityTokenParameters
)
1880
result = CreateWsspIssuedTokenAssertion(exporter, (
IssuedSecurityTokenParameters
)parameters);
2258
public virtual bool TryImportReferenceStyleAssertion(ICollection<XmlElement> assertions,
IssuedSecurityTokenParameters
parameters)
2372
public virtual XmlElement CreateWsspIssuedTokenAssertion(MetadataExporter exporter,
IssuedSecurityTokenParameters
parameters)
2438
IssuedSecurityTokenParameters
issued = new IssuedSecurityTokenParameters();
2462
IssuedSecurityTokenParameters
issued = new IssuedSecurityTokenParameters();
2840
public void ResolveTokenIssuerPolicy(MetadataImporter importer, PolicyConversionContext policyContext,
IssuedSecurityTokenParameters
parameters)
2983
void AddCompatibleFederationEndpoints(ServiceEndpointCollection serviceEndpoints,
IssuedSecurityTokenParameters
parameters)
3039
IssuedSecurityTokenParameters
.AlternativeIssuerEndpoint endpointInfo = new
IssuedSecurityTokenParameters
.AlternativeIssuerEndpoint();