40 references to SR
System.ServiceModel.Federation (40)
System\IdentityModel\Security\WrapperSecurityCommunicationObject.cs (4)
149return new InvalidOperationException(SR.Format(SR.CommunicationObjectCannotBeUsed, GetCommunicationObjectType().ToString(), State.ToString())); 159string message = SR.Format(SR.CommunicationObjectFaulted1, GetCommunicationObjectType().ToString());
System\Runtime\OperationWithTimeoutAsyncResult.cs (2)
132throw new InvalidOperationException(SR.Format(SR.AsyncResultCompletedTwice, GetType()));
System\ServiceModel\Federation\WSTrustChannel.cs (10)
32throw new InvalidOperationException(SR.Format(SR.IRequestChannelMustBeCreated, requestChannel.State)); 98throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString())); 109throw new NotSupportedException(SR.Format(SR.RequestTypeNotSupported, trustRequest.RequestType)); 142throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString())); 371throw new SecurityTokenException(SR.Format(SR.TokenProviderUnableToGetToken, string.IsNullOrEmpty(Address) ? ToString() : Address));
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (6)
62throw new ArgumentException(SR.Format(SR.IssuedSecurityTokenParametersIncorrectType, issuedSecurityTokenParameters), nameof(tokenRequirement)); 140throw new NotSupportedException(SR.Format(SR.KeyTypeNotSupported, WSTrustTokenParameters.KeyType)); 308throw new NotSupportedException(SR.Format(SR.WsTrustVersionNotSupported, MessageSecurityVersion.TrustVersion));
System\ServiceModel\Federation\WsTrustTokenParameters.cs (4)
128? throw new ArgumentOutOfRangeException(nameof(value), SR.Format(SR.IssuedTokenRenewalThresholdPercentageIncorrect, value)) 156? throw new ArgumentOutOfRangeException(nameof(value), SR.Format(SR.MaxIssuedTokenCachingTimeMustBeGreaterThanTimeSpanZero, value))
System\ServiceModel\Federation\WSTrustUtilities.cs (10)
47throw new NotSupportedException(SR.EncryptedKeysForProofTokensNotSupported); 53throw new InvalidOperationException(SR.BearerKeyShouldNotIincludeAProofToken); 64throw new InvalidOperationException(SR.RSTRProofTokenShouldNotHaveAComputedKeyAlgorithmOrIssuerEntropy); 73throw new InvalidOperationException(SR.ComputedKeyProofTokensAreOnlySupportedWithSymmetricKeyTypes); 81throw new NotSupportedException(SR.ProtectedKeyEntropyIsNotSupported); 86throw new InvalidOperationException(SR.ComputedKeyProofTokensRequireIssuerToSupplyKeyMaterialViaEntropy); 90throw new InvalidOperationException(SR.ComputedKeyProofTokensRequireRequesterToSupplyKeyMaterialViaEntropy); 101throw new InvalidOperationException(SR.NoKeySizeProvided); 107throw new NotSupportedException(SR.OnlyPSHA1ComputedKeysAreSupported); 115throw new NotSupportedException(SR.ProtectedKeyEntropyIsNotSupported);
System\ServiceModel\Security\SecurityUtils.cs (4)
24throw new ServerTooBusyException(SR.Format(SR.SecurityServerTooBusy, target), faultException); 28throw new EndpointNotFoundException(SR.Format(SR.SecurityEndpointNotFound, target), faultException);