45 references to GetResourceString
System.ServiceModel.Federation (45)
artifacts\obj\System.ServiceModel.Federation\Debug\net8.0\System.SR.cs (27)
20
internal static string @SecurityEndpointNotFound =>
GetResourceString
("SecurityEndpointNotFound");
22
internal static string @SecurityServerTooBusy =>
GetResourceString
("SecurityServerTooBusy");
24
internal static string @CommunicationObjectFaulted1 =>
GetResourceString
("CommunicationObjectFaulted1");
26
internal static string @CommunicationObjectCannotBeUsed =>
GetResourceString
("CommunicationObjectCannotBeUsed");
28
internal static string @RequestTypeNotSupported =>
GetResourceString
("RequestTypeNotSupported");
30
internal static string @TokenProviderUnableToGetToken =>
GetResourceString
("TokenProviderUnableToGetToken");
32
internal static string @UseKeysAreNotSupported =>
GetResourceString
("UseKeysAreNotSupported");
34
internal static string @WsTrustVersionNotSupported =>
GetResourceString
("WsTrustVersionNotSupported");
36
internal static string @ChannelFactoryMustSupportIRequestChannel =>
GetResourceString
("ChannelFactoryMustSupportIRequestChannel");
38
internal static string @BearerKeyShouldNotIincludeAProofToken =>
GetResourceString
("BearerKeyShouldNotIincludeAProofToken");
40
internal static string @ComputedKeyProofTokensAreOnlySupportedWithSymmetricKeyTypes =>
GetResourceString
("ComputedKeyProofTokensAreOnlySupportedWithSymmetricKeyTypes");
42
internal static string @ComputedKeyProofTokensRequireIssuerToSupplyKeyMaterialViaEntropy =>
GetResourceString
("ComputedKeyProofTokensRequireIssuerToSupplyKeyMaterialViaEntropy");
44
internal static string @ComputedKeyProofTokensRequireRequesterToSupplyKeyMaterialViaEntropy =>
GetResourceString
("ComputedKeyProofTokensRequireRequesterToSupplyKeyMaterialViaEntropy");
46
internal static string @EncryptedKeysForProofTokensNotSupported =>
GetResourceString
("EncryptedKeysForProofTokensNotSupported");
48
internal static string @NoKeySizeProvided =>
GetResourceString
("NoKeySizeProvided");
50
internal static string @OnlyPSHA1ComputedKeysAreSupported =>
GetResourceString
("OnlyPSHA1ComputedKeysAreSupported");
52
internal static string @ProtectedKeyEntropyIsNotSupported =>
GetResourceString
("ProtectedKeyEntropyIsNotSupported");
54
internal static string @RSTRProofTokenShouldNotHaveAComputedKeyAlgorithmOrIssuerEntropy =>
GetResourceString
("RSTRProofTokenShouldNotHaveAComputedKeyAlgorithmOrIssuerEntropy");
56
internal static string @IRequestChannelMustBeCreated =>
GetResourceString
("IRequestChannelMustBeCreated");
58
internal static string @IssuedSecurityTokenParametersIncorrectType =>
GetResourceString
("IssuedSecurityTokenParametersIncorrectType");
60
internal static string @IssuedTokenRenewalThresholdPercentageIncorrect =>
GetResourceString
("IssuedTokenRenewalThresholdPercentageIncorrect");
62
internal static string @MaxIssuedTokenCachingTimeMustBeGreaterThanTimeSpanZero =>
GetResourceString
("MaxIssuedTokenCachingTimeMustBeGreaterThanTimeSpanZero");
64
internal static string @SFxTimeoutOutOfRange0 =>
GetResourceString
("SFxTimeoutOutOfRange0");
66
internal static string @ValueMustBePositive =>
GetResourceString
("ValueMustBePositive");
68
internal static string @InsufficentMemory =>
GetResourceString
("InsufficentMemory");
70
internal static string @ActivityProcessAction =>
GetResourceString
("ActivityProcessAction");
72
internal static string @CannotDetermineSPNBasedOnAddress =>
GetResourceString
("CannotDetermineSPNBasedOnAddress");
System\ServiceModel\Federation\WSTrustChannel.cs (4)
32
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(LogHelper.FormatInvariant(SR.
GetResourceString
(SR.IRequestChannelMustBeCreated), requestChannel.State)));
98
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.
GetResourceString
(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString())));
109
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.
GetResourceString
(SR.RequestTypeNotSupported, trustRequest.RequestType)));
142
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR.
GetResourceString
(SR.WsTrustVersionNotSupported, trustRequest.WsTrustVersion.ToString())));
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
64
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentException(LogHelper.FormatInvariant(SR.
GetResourceString
(SR.IssuedSecurityTokenParametersIncorrectType), issuedSecurityTokenParameters), nameof(tokenRequirement)), EventLevel.Error);
322
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(LogHelper.FormatInvariant(SR.
GetResourceString
(SR.WsTrustVersionNotSupported), MessageSecurityVersion.TrustVersion)), EventLevel.Error);
System\ServiceModel\Federation\WsTrustTokenParameters.cs (2)
128
? throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentOutOfRangeException(nameof(value), LogHelper.FormatInvariant(SR.
GetResourceString
(SR.IssuedTokenRenewalThresholdPercentageIncorrect), value)), EventLevel.Error)
156
? throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new ArgumentOutOfRangeException(nameof(value), LogHelper.FormatInvariant(SR.
GetResourceString
(SR.MaxIssuedTokenCachingTimeMustBeGreaterThanTimeSpanZero), value)), EventLevel.Error)
System\ServiceModel\Federation\WSTrustUtilities.cs (10)
47
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(SR.
GetResourceString
(SR.EncryptedKeysForProofTokensNotSupported)), EventLevel.Error);
53
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.BearerKeyShouldNotIincludeAProofToken)), EventLevel.Error);
64
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.RSTRProofTokenShouldNotHaveAComputedKeyAlgorithmOrIssuerEntropy)), EventLevel.Error);
73
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.ComputedKeyProofTokensAreOnlySupportedWithSymmetricKeyTypes)), EventLevel.Error);
81
throw DiagnosticUtility.ExceptionUtility.ThrowHelper( new NotSupportedException(SR.
GetResourceString
(SR.ProtectedKeyEntropyIsNotSupported)), EventLevel.Error);
86
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.ComputedKeyProofTokensRequireIssuerToSupplyKeyMaterialViaEntropy)), EventLevel.Error);
90
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.ComputedKeyProofTokensRequireRequesterToSupplyKeyMaterialViaEntropy)), EventLevel.Error);
101
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidOperationException(SR.
GetResourceString
(SR.NoKeySizeProvided)), EventLevel.Error);
107
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(SR.
GetResourceString
(SR.OnlyPSHA1ComputedKeysAreSupported)), EventLevel.Error);
115
throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new NotSupportedException(SR.
GetResourceString
(SR.ProtectedKeyEntropyIsNotSupported)), EventLevel.Error);