15 references to SecurityKeyUsage
dotnet-svcutil-lib (15)
FrameworkFork\System.ServiceModel\System\IdentityModel\Selectors\SecurityTokenRequirement.cs (5)
24
private const
SecurityKeyUsage
defaultKeyUsage =
SecurityKeyUsage
.Signature;
84
public
SecurityKeyUsage
KeyUsage
88
SecurityKeyUsage
result;
89
return (this.TryGetProperty<
SecurityKeyUsage
>(KeyUsageProperty, out result)) ? result : defaultKeyUsage;
FrameworkFork\System.ServiceModel\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
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\SslStreamSecurityUpgradeProvider.cs (2)
460
serverCertRequirement.KeyUsage =
SecurityKeyUsage
.Exchange;
474
clientCertRequirement.KeyUsage =
SecurityKeyUsage
.Signature;
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\ClientCredentialsSecurityTokenManager.cs (2)
104
if (tokenRequirement is RecipientServiceModelSecurityTokenRequirement && tokenRequirement.TokenType == SecurityTokenTypes.X509Certificate && tokenRequirement.KeyUsage ==
SecurityKeyUsage
.Exchange)
123
if (initiatorRequirement.Properties.ContainsKey(SecurityTokenRequirement.KeyUsageProperty) && initiatorRequirement.KeyUsage ==
SecurityKeyUsage
.Exchange)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityProtocolFactory.cs (1)
870
requirement.KeyUsage =
SecurityKeyUsage
.Signature;