System\ServiceModel\Security\SecurityProtocol.cs (9)
217SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.Endorsing[i], SecurityTokenAttachmentMode.Endorsing);
229SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.Endorsing[i]);
242SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.SignedEndorsing[i], SecurityTokenAttachmentMode.SignedEndorsing);
254SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEndorsing, supportingTokenParameters.SignedEndorsing[i]);
267SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.SignedEncrypted[i], SecurityTokenAttachmentMode.SignedEncrypted);
279SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.SignedEncrypted[i]);
292SecurityTokenRequirement requirement = this.CreateInitiatorSecurityTokenRequirement(supportingTokenParameters.Signed[i], SecurityTokenAttachmentMode.Signed);
304SupportingTokenProviderSpecification providerSpec = new SupportingTokenProviderSpecification(provider, SecurityTokenAttachmentMode.Signed, supportingTokenParameters.Signed[i]);
563SupportingTokenSpecification spec = supportingTokensProperty.OutgoingSupportingTokens[i];
System\ServiceModel\Security\SecurityProtocolFactory.cs (8)
911SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.Endorsing[i], SecurityTokenAttachmentMode.Endorsing);
916SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.Endorsing[i], isOptional);
929SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.SignedEndorsing[i], SecurityTokenAttachmentMode.SignedEndorsing);
934SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEndorsing, supportingTokenParameters.SignedEndorsing[i], isOptional);
947SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.SignedEncrypted[i], SecurityTokenAttachmentMode.SignedEncrypted);
952SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.SignedEncrypted[i], isOptional);
965SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.Signed[i], SecurityTokenAttachmentMode.Signed);
970SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Signed, supportingTokenParameters.Signed[i], isOptional);
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (28)
308this.AdditionalRequestParameters.Add(unknownRequestParameters[i]);
404if (driver.IsEncryptionAlgorithmElement(tmpCollection[i], out algorithm))
406encryptionAlgorithmElement = tmpCollection[i];
408else if (driver.IsCanonicalizationAlgorithmElement(tmpCollection[i], out algorithm))
410canonicalizationAlgorithmElement = tmpCollection[i];
412else if (driver.IsKeyWrapAlgorithmElement(tmpCollection[i], out algorithm))
414keyWrapAlgorithmElement = tmpCollection[i];
416else if (((WSTrustDec2005.DriverDec2005)driver).IsSecondaryParametersElement(tmpCollection[i]))
418secondaryParameter = tmpCollection[i];
483if (trustFeb2005Driver.IsSignWithElement(tmpCollection[i], out algorithmParameter))
487else if (trustFeb2005Driver.IsEncryptWithElement(tmpCollection[i], out algorithmParameter))
491else if (trustFeb2005Driver.IsEncryptionAlgorithmElement(tmpCollection[i], out algorithmParameter))
495else if (trustFeb2005Driver.IsCanonicalizationAlgorithmElement(tmpCollection[i], out algorithmParameter))
573childrenToPromote.Remove(processedElements[i]);
584if (trust13Driver.IsSignWithElement(tmpCollection[i], out algorithmParameter))
588else if (trust13Driver.IsEncryptWithElement(tmpCollection[i], out algorithmParameter))
592else if (trust13Driver.IsEncryptionAlgorithmElement(tmpCollection[i], out algorithmParameter) && (encryptionElement != null))
597else if (trust13Driver.IsCanonicalizationAlgorithmElement(tmpCollection[i], out algorithmParameter) && (canonicalizationElement != null))
602else if (trust13Driver.IsKeyWrapAlgorithmElement(tmpCollection[i], out algorithmParameter) && (keyWrapAlgorithmElement == null))
604keyWrapAlgorithmElement = tmpCollection[i];
606else if (trust13Driver.TryParseRequiredClaimsElement(tmpCollection[i], out reqClaims) && (requiredClaimsElement != null))
629tmpCollection.Add(childrenToPromote[i]);
643if ((collection[i] != null) && (collection[i].NamespaceURI == trustNamespace))
745XmlElement element = trustVersionNormalizedParameterCollection[i];
939sb.AppendLine(" " + bindingElements[i].ToString().Trim().Replace("\n", "\n "));
952sb.AppendLine(String.Format(CultureInfo.InvariantCulture, " {0}, optional={1}", this.claimTypeRequirements[i].ClaimType, this.claimTypeRequirements[i].IsOptional));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (5)
421Atom10FeedFormatter.WriteCategory(writer, categories.Categories[i], version);
737writer.WriteElementString(App10Constants.Prefix, App10Constants.Accept, App10Constants.Namespace, collection.Accepts[i]);
741WriteCategories(writer, collection.Categories[i], baseUri, this.Version);
764WriteWorkspace(writer, this.Document.Workspaces[i], baseUri);
785WriteCollection(writer, workspace.Collections[i], baseUri);