55 references to SecurityTokenAttachmentMode
dotnet-svcutil-lib (55)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityMessageProperty.cs (5)
287SecurityTokenAttachmentMode attachmentMode = _incomingSupportingTokens[i].SecurityTokenAttachmentMode; 290if (attachmentMode == SecurityTokenAttachmentMode.Endorsing 291|| attachmentMode == SecurityTokenAttachmentMode.Signed 292|| attachmentMode == SecurityTokenAttachmentMode.SignedEncrypted 293|| attachmentMode == SecurityTokenAttachmentMode.SignedEndorsing)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (27)
820if (spec.SecurityTokenAttachmentMode == SecurityTokenAttachmentMode.Endorsing || 821spec.SecurityTokenAttachmentMode == SecurityTokenAttachmentMode.SignedEndorsing) 828SecurityTokenAttachmentMode mode = spec.SecurityTokenAttachmentMode; 829if (mode == SecurityTokenAttachmentMode.SignedEncrypted 830|| mode == SecurityTokenAttachmentMode.Signed 831|| mode == SecurityTokenAttachmentMode.SignedEndorsing) 834if (mode == SecurityTokenAttachmentMode.SignedEncrypted) 839if (mode == SecurityTokenAttachmentMode.Endorsing || mode == SecurityTokenAttachmentMode.SignedEndorsing) 866private RecipientServiceModelSecurityTokenRequirement CreateRecipientSecurityTokenRequirement(SecurityTokenParameters parameters, SecurityTokenAttachmentMode attachmentMode) 881SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.Endorsing[i], SecurityTokenAttachmentMode.Endorsing); 886SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Endorsing, supportingTokenParameters.Endorsing[i], isOptional); 899SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.SignedEndorsing[i], SecurityTokenAttachmentMode.SignedEndorsing); 904SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEndorsing, supportingTokenParameters.SignedEndorsing[i], isOptional); 917SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.SignedEncrypted[i], SecurityTokenAttachmentMode.SignedEncrypted); 922SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.SignedEncrypted, supportingTokenParameters.SignedEncrypted[i], isOptional); 935SecurityTokenRequirement requirement = this.CreateRecipientSecurityTokenRequirement(supportingTokenParameters.Signed[i], SecurityTokenAttachmentMode.Signed); 940SupportingTokenAuthenticatorSpecification authenticatorSpec = new SupportingTokenAuthenticatorSpecification(authenticator, resolver, SecurityTokenAttachmentMode.Signed, supportingTokenParameters.Signed[i], isOptional); 983if (tokenAuthenticatorSpec.SecurityTokenAttachmentMode == SecurityTokenAttachmentMode.Endorsing 984|| tokenAuthenticatorSpec.SecurityTokenAttachmentMode == SecurityTokenAttachmentMode.SignedEndorsing) 991SecurityTokenAttachmentMode mode = tokenAuthenticatorSpec.SecurityTokenAttachmentMode; 992if (mode == SecurityTokenAttachmentMode.SignedEncrypted 993|| mode == SecurityTokenAttachmentMode.Signed 994|| mode == SecurityTokenAttachmentMode.SignedEndorsing) 997if (mode == SecurityTokenAttachmentMode.SignedEncrypted) 1002if (mode == SecurityTokenAttachmentMode.Endorsing || mode == SecurityTokenAttachmentMode.SignedEndorsing)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityTokenAttachmentMode.cs (12)
19internal static bool IsDefined(SecurityTokenAttachmentMode value) 21return value == SecurityTokenAttachmentMode.Endorsing 22|| value == SecurityTokenAttachmentMode.Signed 23|| value == SecurityTokenAttachmentMode.SignedEncrypted 24|| value == SecurityTokenAttachmentMode.SignedEndorsing; 27internal static void Validate(SecurityTokenAttachmentMode value) 32typeof(SecurityTokenAttachmentMode))); 36internal static void Categorize(SecurityTokenAttachmentMode value, 43case SecurityTokenAttachmentMode.Endorsing: 48case SecurityTokenAttachmentMode.Signed: 53case SecurityTokenAttachmentMode.SignedEncrypted: 58case SecurityTokenAttachmentMode.SignedEndorsing:
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SupportingTokenAuthenticatorSpecification.cs (4)
12private SecurityTokenAttachmentMode _tokenAttachmentMode; 18public SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters) 23internal SupportingTokenAuthenticatorSpecification(SecurityTokenAuthenticator tokenAuthenticator, SecurityTokenResolver securityTokenResolver, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters, bool isTokenOptional) 53public SecurityTokenAttachmentMode SecurityTokenAttachmentMode
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SupportingTokenProviderSpecification.cs (3)
13private SecurityTokenAttachmentMode _tokenAttachmentMode; 17public SupportingTokenProviderSpecification(SecurityTokenProvider tokenProvider, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters) 38public SecurityTokenAttachmentMode SecurityTokenAttachmentMode
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SupportingTokenSpecification.cs (4)
15private SecurityTokenAttachmentMode _tokenAttachmentMode; 18public SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode) 22public SupportingTokenSpecification(SecurityToken token, ReadOnlyCollection<IAuthorizationPolicy> tokenPolicies, SecurityTokenAttachmentMode attachmentMode, SecurityTokenParameters tokenParameters) 30public SecurityTokenAttachmentMode SecurityTokenAttachmentMode