22 references to TokenParameters
System.ServiceModel (22)
System\ServiceModel\Security\ReceiveSecurityHeader.cs (16)
659
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenNotProvided, spec.
TokenParameters
, spec.SecurityTokenAttachmentMode)));
666
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotEndorsing, spec.
TokenParameters
)));
668
if (this.EnforceDerivedKeyRequirement && spec.
TokenParameters
.RequireDerivedKeys && !spec.
TokenParameters
.HasAsymmetricKey && !tracker.IsDerivedFrom)
670
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingSignatureIsNotDerivedFrom, spec.
TokenParameters
)));
677
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotSigned, spec.
TokenParameters
)));
684
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotSigned, spec.
TokenParameters
)));
688
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotEncrypted, spec.
TokenParameters
)));
695
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotSigned, spec.
TokenParameters
)));
699
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingTokenIsNotEndorsing, spec.
TokenParameters
)));
701
if (this.EnforceDerivedKeyRequirement && spec.
TokenParameters
.RequireDerivedKeys && !spec.
TokenParameters
.HasAsymmetricKey && !tracker.IsDerivedFrom)
703
throw DiagnosticUtility.ExceptionUtility.ThrowHelperWarning(new MessageSecurityException(SR.GetString(SR.SupportingSignatureIsNotDerivedFrom, spec.
TokenParameters
)));
848
if (spec.
TokenParameters
.RequireDerivedKeys && !spec.
TokenParameters
.HasAsymmetricKey &&
1725
this.universalTokenResolver.Add(token, SecurityTokenReferenceStyle.Internal, supportingTokenSpec.
TokenParameters
);
System\ServiceModel\Security\SecurityProtocolFactory.cs (6)
772
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MultipleSupportingAuthenticatorsOfSameType, spec.
TokenParameters
.GetType())));
779
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR.GetString(SR.MultipleSupportingAuthenticatorsOfSameType, spec.
TokenParameters
.GetType())));
846
if (spec.
TokenParameters
.RequireDerivedKeys && !spec.
TokenParameters
.HasAsymmetricKey)
1038
if (tokenAuthenticatorSpec.
TokenParameters
.RequireDerivedKeys && !tokenAuthenticatorSpec.
TokenParameters
.HasAsymmetricKey)