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