40 references to SecurityKeyUsage
System.IdentityModel (10)
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (5)
25
const
SecurityKeyUsage
defaultKeyUsage =
SecurityKeyUsage
.Signature;
85
public
SecurityKeyUsage
KeyUsage
89
SecurityKeyUsage
result;
90
return (this.TryGetProperty<
SecurityKeyUsage
>(KeyUsageProperty, out result)) ? result : defaultKeyUsage;
System\IdentityModel\Tokens\SecurityKeyUsage.cs (5)
18
internal static bool IsDefined(
SecurityKeyUsage
value)
20
return (value ==
SecurityKeyUsage
.Exchange
21
|| value ==
SecurityKeyUsage
.Signature);
24
internal static void Validate(
SecurityKeyUsage
value)
29
typeof(
SecurityKeyUsage
)));
System.ServiceModel (30)
System\ServiceModel\Channels\MsmqChannelFactoryBase.cs (1)
169
x509Requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Channels\MsmqChannelListenerBase.cs (1)
168
x509Requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
304
if (requirement.TokenType == SecurityTokenTypes.X509Certificate && requirement.KeyUsage ==
SecurityKeyUsage
.Signature)
System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (3)
91
serverCertRequirement.KeyUsage =
SecurityKeyUsage
.Exchange;
771
serverCertRequirement.KeyUsage =
SecurityKeyUsage
.Exchange;
785
clientCertRequirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Channels\TransportSecurityHelpers.cs (1)
432
clientAuthRequirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\AsymmetricSecurityProtocol.cs (3)
77
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
86
providerRequirement.KeyUsage =
SecurityKeyUsage
.Exchange;
94
authenticatorRequirement.KeyUsage =
SecurityKeyUsage
.Exchange;
System\ServiceModel\Security\AsymmetricSecurityProtocolFactory.cs (3)
224
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
255
requirement.KeyUsage = (this.RequiresAsymmetricTokenProviderForForwardDirection) ?
SecurityKeyUsage
.Exchange :
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (4)
131
clientX509Requirement.KeyUsage =
SecurityKeyUsage
.Signature;
149
serverX509Requirement.KeyUsage =
SecurityKeyUsage
.Exchange;
534
if (tokenRequirement is RecipientServiceModelSecurityTokenRequirement && tokenRequirement.TokenType == SecurityTokenTypes.X509Certificate && tokenRequirement.KeyUsage ==
SecurityKeyUsage
.Exchange)
561
if (initiatorRequirement.Properties.ContainsKey(SecurityTokenRequirement.KeyUsageProperty) && initiatorRequirement.KeyUsage ==
SecurityKeyUsage
.Exchange)
System\ServiceModel\Security\SecurityProtocol.cs (1)
207
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
900
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\SecuritySessionClientSettings.cs (1)
586
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\SecuritySessionServerSettings.cs (1)
484
requirement.KeyUsage =
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\ServiceCredentialsSecurityTokenManager.cs (5)
177
clientX509Requirement.KeyUsage =
SecurityKeyUsage
.Signature;
189
serverX509Requirement.KeyUsage =
SecurityKeyUsage
.Exchange;
332
if (tokenType == SecurityTokenTypes.X509Certificate && tokenRequirement.KeyUsage ==
SecurityKeyUsage
.Exchange)
450
SecurityKeyUsage
keyUsage = initiatorRequirement.KeyUsage;
451
if (keyUsage ==
SecurityKeyUsage
.Exchange)
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (2)
68
tokenRequirement.KeyUsage = this.Factory.SecurityTokenParameters.HasAsymmetricKey ?
SecurityKeyUsage
.Exchange :
SecurityKeyUsage
.Signature;
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (2)
145
requirement.KeyUsage = (this.SecurityTokenParameters.HasAsymmetricKey) ?
SecurityKeyUsage
.Exchange :
SecurityKeyUsage
.Signature;