22 writes to KeyUsage
System.IdentityModel (1)
System\IdentityModel\Selectors\SecurityTokenRequirement.cs (1)
141
this.
KeyUsage
= defaultKeyUsage;
System.ServiceModel (21)
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\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 (2)
224
requirement.
KeyUsage
= SecurityKeyUsage.Signature;
255
requirement.
KeyUsage
= (this.RequiresAsymmetricTokenProviderForForwardDirection) ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
131
clientX509Requirement.
KeyUsage
= SecurityKeyUsage.Signature;
149
serverX509Requirement.
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 (2)
177
clientX509Requirement.
KeyUsage
= SecurityKeyUsage.Signature;
189
serverX509Requirement.
KeyUsage
= SecurityKeyUsage.Exchange;
System\ServiceModel\Security\SymmetricSecurityProtocol.cs (1)
68
tokenRequirement.
KeyUsage
= this.Factory.SecurityTokenParameters.HasAsymmetricKey ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
System\ServiceModel\Security\SymmetricSecurityProtocolFactory.cs (1)
145
requirement.
KeyUsage
= (this.SecurityTokenParameters.HasAsymmetricKey) ? SecurityKeyUsage.Exchange : SecurityKeyUsage.Signature;
5 references to KeyUsage
System.ServiceModel (5)
System\ServiceModel\Channels\PeerSecurityHelpers.cs (1)
304
if (requirement.TokenType == SecurityTokenTypes.X509Certificate && requirement.
KeyUsage
== SecurityKeyUsage.Signature)
System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
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\ServiceCredentialsSecurityTokenManager.cs (2)
332
if (tokenType == SecurityTokenTypes.X509Certificate && tokenRequirement.
KeyUsage
== SecurityKeyUsage.Exchange)
450
SecurityKeyUsage keyUsage = initiatorRequirement.
KeyUsage
;