34 references to SecurityKeyType
Binding.WS.FederationHttp.IntegrationTests (5)
WSFederationHttpBindingTests.cs (5)
25
public static void WSFederationHttpBindingTests_Succeeds(MessageSecurityVersion messageSecurityVersion,
SecurityKeyType
securityKeyType, bool useSecureConversation, string endpointSuffix, WSMessageEncoding encoding)
188
yield return new object[] { MessageSecurityVersion.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10,
SecurityKeyType
.SymmetricKey, false, "wsHttp/wstrust13", messageEncoding };
189
yield return new object[] { MessageSecurityVersion.WSSecurity11WSTrust13WSSecureConversation13WSSecurityPolicy12BasicSecurityProfile10,
SecurityKeyType
.SymmetricKey, true, "wsHttp/wstrust13", messageEncoding };
191
yield return new object[] { MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10,
SecurityKeyType
.SymmetricKey, false, "wsHttp/wstrustFeb2005", messageEncoding };
192
yield return new object[] { MessageSecurityVersion.WSSecurity11WSTrustFebruary2005WSSecureConversationFebruary2005WSSecurityPolicy11BasicSecurityProfile10,
SecurityKeyType
.SymmetricKey, true, "wsHttp/wstrustFeb2005", messageEncoding };
System.ServiceModel.Federation (10)
System\ServiceModel\Federation\WsFederationHttpBinding.cs (1)
59
if (WSTrustTokenParameters.KeyType ==
SecurityKeyType
.BearerKey)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (4)
127
case
SecurityKeyType
.AsymmetricKey:
131
case
SecurityKeyType
.SymmetricKey:
135
case
SecurityKeyType
.BearerKey:
144
if (WSTrustTokenParameters.KeyType !=
SecurityKeyType
.BearerKey &&
System\ServiceModel\Federation\WsTrustTokenParameters.cs (5)
42
public static readonly
SecurityKeyType
DefaultSecurityKeyType =
SecurityKeyType
.SymmetricKey;
52
/// <para>Sets: <see cref="IssuedSecurityTokenParameters.KeyType"/> == <see cref="
SecurityKeyType
.SymmetricKey"/>.</para>
187
KeyType =
SecurityKeyType
.SymmetricKey,
202
KeyType =
SecurityKeyType
.SymmetricKey,
System.ServiceModel.Federation.Tests (1)
WSTrustChannelSecurityTokenProviderTest.cs (1)
40
KeyType =
SecurityKeyType
.SymmetricKey,
System.ServiceModel.Primitives (18)
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (4)
25
private const
SecurityKeyType
defaultKeyType =
SecurityKeyType
.SymmetricKey;
98
public
SecurityKeyType
KeyType
102
SecurityKeyType
result;
System\IdentityModel\Tokens\SecurityKeyType.cs (6)
20
internal static bool IsDefined(
SecurityKeyType
value)
22
return (value ==
SecurityKeyType
.SymmetricKey
23
|| value ==
SecurityKeyType
.AsymmetricKey
24
|| value ==
SecurityKeyType
.BearerKey);
27
internal static void Validate(
SecurityKeyType
value)
32
typeof(
SecurityKeyType
)));
System\ServiceModel\Channels\SecurityBindingElement.cs (1)
544
if (issuedTokenParameters.KeyType ==
SecurityKeyType
.BearerKey)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenParameters.cs (5)
17
internal const
SecurityKeyType
DefaultKeyType =
SecurityKeyType
.SymmetricKey;
28
SecurityKeyType
_keyType = DefaultKeyType;
81
internal protected override bool HasAsymmetricKey { get { return KeyType ==
SecurityKeyType
.AsymmetricKey; } }
95
public
SecurityKeyType
KeyType
System\ServiceModel\Security\Tokens\SecureConversationSecurityTokenParameters.cs (1)
148
requirement.KeyType =
SecurityKeyType
.SymmetricKey;
System\ServiceModel\Security\Tokens\X509SecurityTokenParameters.cs (1)
126
requirement.KeyType =
SecurityKeyType
.AsymmetricKey;