46 references to ReceiveSecurityHeaderBindingModes
System.ServiceModel (46)
System\ServiceModel\Security\LaxModeSecurityHeaderElementInferenceEngine.cs (3)
57
elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Endorsing);
89
elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Endorsing);
99
elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Primary);
System\ServiceModel\Security\ReceiveSecurityHeader.cs (9)
1023
if (entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Primary)
1128
this.elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Endorsing);
1134
this.elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Primary);
1276
this.elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Endorsing);
1282
this.elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Primary);
1380
this.elementManager.AppendToken(wrappedKeyToken,
ReceiveSecurityHeaderBindingModes
.Primary, null);
1652
ReceiveSecurityHeaderBindingModes
mode;
1665
mode =
ReceiveSecurityHeaderBindingModes
.Primary;
1682
mode =
ReceiveSecurityHeaderBindingModes
.Unknown;
System\ServiceModel\Security\ReceiveSecurityHeaderElementManager.cs (22)
52
ReceiveSecurityHeaderBindingModes
bindingMode, string id, TokenTracker supportingTokenTracker)
65
ReceiveSecurityHeaderBindingModes
.Unknown, signedXml.Id, null);
71
ReceiveSecurityHeaderBindingModes
.Unknown, null, null);
77
ReceiveSecurityHeaderBindingModes
.Unknown, encryptedData.Id, null);
83
ReceiveSecurityHeaderBindingModes
.Unknown, signatureConfirmationElement.Id, null);
89
ReceiveSecurityHeaderBindingModes
.Unknown, timestamp.Id, null);
97
AppendElement(ReceiveSecurityHeaderElementCategory.SecurityTokenReference, strClause,
ReceiveSecurityHeaderBindingModes
.Unknown, strId, null);
101
public void AppendToken(SecurityToken token,
ReceiveSecurityHeaderBindingModes
mode, TokenTracker supportingTokenTracker)
125
case
ReceiveSecurityHeaderBindingModes
.Signed:
126
case
ReceiveSecurityHeaderBindingModes
.SignedEndorsing:
127
case
ReceiveSecurityHeaderBindingModes
.Basic:
138
entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Basic)
188
entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Primary)
227
bool isSignedToken = (entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Signed) || (entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.SignedEndorsing);
233
this.IsPrimaryTokenSigned = entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Primary && entry.elementCategory == ReceiveSecurityHeaderElementCategory.Token;
242
this.IsPrimaryTokenSigned = entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Primary && entry.elementCategory == ReceiveSecurityHeaderElementCategory.Token;
256
public void SetBindingMode(int index,
ReceiveSecurityHeaderBindingModes
bindingMode)
277
ReceiveSecurityHeaderBindingModes
bindingMode, string id, byte[] decryptedBuffer, TokenTracker supportingTokenTracker)
292
signedXml,
ReceiveSecurityHeaderBindingModes
.Unknown, signedXml.Id, decryptedBuffer, null);
298
signatureConfirmationElement,
ReceiveSecurityHeaderBindingModes
.Unknown, signatureConfirmationElement.Id, decryptedBuffer, null);
323
public void SetTokenAfterDecryption(int index, SecurityToken token,
ReceiveSecurityHeaderBindingModes
mode, byte[] decryptedBuffer, TokenTracker supportingTokenTracker)
System\ServiceModel\Security\ReceiveSecurityHeaderEntry.cs (2)
11
internal
ReceiveSecurityHeaderBindingModes
bindingMode;
47
ReceiveSecurityHeaderBindingModes
bindingMode, string id, bool encrypted, byte[] decryptedBuffer, TokenTracker supportingTokenTracker)
System\ServiceModel\Security\SecurityTokenAttachmentMode.cs (5)
37
out bool isBasic, out bool isSignedButNotBasic, out
ReceiveSecurityHeaderBindingModes
mode)
47
mode =
ReceiveSecurityHeaderBindingModes
.Endorsing;
52
mode =
ReceiveSecurityHeaderBindingModes
.Signed;
57
mode =
ReceiveSecurityHeaderBindingModes
.Basic;
62
mode =
ReceiveSecurityHeaderBindingModes
.SignedEndorsing;
System\ServiceModel\Security\StrictModeSecurityHeaderElementInferenceEngine.cs (2)
37
elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Endorsing);
41
elementManager.SetBindingMode(position,
ReceiveSecurityHeaderBindingModes
.Primary);
System\ServiceModel\Security\WSSecurityOneDotZeroReceiveSecurityHeader.cs (3)
680
bool isSignedToken = (entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Signed)
681
|| (entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.SignedEndorsing);
685
this.ElementManager.IsPrimaryTokenSigned = entry.bindingMode ==
ReceiveSecurityHeaderBindingModes
.Primary &&