35 references to SecurityKeyEntropyMode
System.ServiceModel.Federation (7)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (7)
43private SecurityKeyEntropyMode _keyEntropyMode; 147(KeyEntropyMode == SecurityKeyEntropyMode.ClientEntropy || KeyEntropyMode == SecurityKeyEntropyMode.CombinedEntropy)) 334KeyEntropyMode = SecurityKeyEntropyMode.CombinedEntropy; 378internal SecurityKeyEntropyMode KeyEntropyMode 383if (!Enum.IsDefined(typeof(SecurityKeyEntropyMode), value)) 384throw DiagnosticUtility.ExceptionUtility.ThrowHelper(new InvalidEnumArgumentException(nameof(value), (int)value, typeof(SecurityKeyEntropyMode)), EventLevel.Error);
System.ServiceModel.Primitives (28)
System\ServiceModel\Channels\SecurityBindingElement.cs (2)
27private SecurityKeyEntropyMode _keyEntropyMode; 137public SecurityKeyEntropyMode KeyEntropyMode
System\ServiceModel\Security\AcceleratedTokenProvider.cs (6)
19internal const SecurityKeyEntropyMode defaultKeyEntropyMode = SecurityKeyEntropyMode.CombinedEntropy; 20private SecurityKeyEntropyMode _keyEntropyMode = defaultKeyEntropyMode; 29public SecurityKeyEntropyMode KeyEntropyMode 158if (_keyEntropyMode == SecurityKeyEntropyMode.ClientEntropy || _keyEntropyMode == SecurityKeyEntropyMode.CombinedEntropy)
System\ServiceModel\Security\RequestSecurityTokenResponse.cs (1)
631public virtual GenericXmlSecurityToken GetIssuedToken(SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType,
System\ServiceModel\Security\SecurityKeyEntropyMode.cs (6)
19internal static bool IsDefined(SecurityKeyEntropyMode value) 21return (value == SecurityKeyEntropyMode.ClientEntropy 22|| value == SecurityKeyEntropyMode.ServerEntropy 23|| value == SecurityKeyEntropyMode.CombinedEntropy); 26internal static void Validate(SecurityKeyEntropyMode value) 31typeof(SecurityKeyEntropyMode)));
System\ServiceModel\Security\SecuritySessionSecurityTokenProvider.cs (5)
31private SecurityKeyEntropyMode _keyEntropyMode; 47_keyEntropyMode = SecurityKeyEntropyMode.CombinedEntropy; 63public SecurityKeyEntropyMode KeyEntropyMode 565if (KeyEntropyMode == SecurityKeyEntropyMode.ClientEntropy || KeyEntropyMode == SecurityKeyEntropyMode.CombinedEntropy)
System\ServiceModel\Security\TrustDriver.cs (1)
132public abstract GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy,
System\ServiceModel\Security\WSTrust.cs (7)
595public override GenericXmlSecurityToken GetIssuedToken(RequestSecurityTokenResponse rstr, SecurityTokenResolver resolver, IList<SecurityTokenAuthenticator> allowedAuthenticators, SecurityKeyEntropyMode keyEntropyMode, byte[] requestorEntropy, string expectedTokenType, 648if (keyEntropyMode == SecurityKeyEntropyMode.ClientEntropy) 661else if (keyEntropyMode == SecurityKeyEntropyMode.ServerEntropy) 1255private static void ValidateRequestorEntropy(SecurityToken entropy, SecurityKeyEntropyMode mode) 1257if ((mode == SecurityKeyEntropyMode.ClientEntropy || mode == SecurityKeyEntropyMode.CombinedEntropy) 1262if (mode == SecurityKeyEntropyMode.ServerEntropy && entropy != null)