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