5 writes to primaryTokenParameters
System.ServiceModel (5)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (5)
495
this.
primaryTokenParameters
= primaryTokenParameters;
510
this.
primaryTokenParameters
= primaryTokenParameters;
524
this.
primaryTokenParameters
= primaryTokenParameters;
542
this.
primaryTokenParameters
= primaryTokenParameters;
548
this.
primaryTokenParameters
= primaryTokenParameters;
15 references to primaryTokenParameters
System.ServiceModel (15)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (15)
761
if (this.
primaryTokenParameters
!= null)
771
universalTokenResolver.Add(this.outOfBandPrimaryToken, SecurityTokenReferenceStyle.External, this.
primaryTokenParameters
);
772
primaryTokenResolver.Add(this.outOfBandPrimaryToken, SecurityTokenReferenceStyle.External, this.
primaryTokenParameters
);
778
universalTokenResolver.Add(this.outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, this.
primaryTokenParameters
);
779
primaryTokenResolver.Add(this.outOfBandPrimaryTokenCollection[i], SecurityTokenReferenceStyle.External, this.
primaryTokenParameters
);
911
if (this.
primaryTokenParameters
!= null)
913
if (this.
primaryTokenParameters
.RequireDerivedKeys && !this.
primaryTokenParameters
.HasAsymmetricKey && !this.primaryTokenTracker.IsDerivedFrom)
915
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.PrimarySignatureWasNotSignedByDerivedKey, this.
primaryTokenParameters
)));
944
else if (
primaryTokenParameters
!= null && !
primaryTokenParameters
.HasAsymmetricKey &&
primaryTokenParameters
.RequireDerivedKeys && !this.encryptionTracker.IsDerivedToken)
946
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.MessageWasNotEncryptedByDerivedEncryptionToken, this.
primaryTokenParameters
)));
1657
this.universalTokenResolver.Add(token, SecurityTokenReferenceStyle.Internal, this.
primaryTokenParameters
);
1658
this.primaryTokenResolver.Add(token, SecurityTokenReferenceStyle.Internal, this.
primaryTokenParameters
);