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