5 writes to KeyType
System.IdentityModel (5)
System\IdentityModel\Protocols\WSTrust\RequestSecurityToken.cs (1)
76KeyType = keyType;
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (1)
51KeyType = message.KeyType;
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (2)
339rst.KeyType = WSTrustSerializationHelper.ReadKeyType(reader, trustConstants); 1575rstr.KeyType = WSTrustSerializationHelper.ReadKeyType(reader, trustConstants);
System\IdentityModel\SecurityTokenService.cs (1)
1088request.KeyType = (string.IsNullOrEmpty(request.KeyType)) ? KeyTypes.Symmetric : request.KeyType;
18 references to KeyType
System.IdentityModel (15)
System\IdentityModel\Protocols\WSTrust\RequestSecurityTokenResponse.cs (2)
51KeyType = message.KeyType; 53if (message.KeySizeInBits > 0 && StringComparer.Ordinal.Equals(message.KeyType, KeyTypes.Symmetric))
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (1)
81StringComparer.Ordinal.Equals(requestSecurityToken.KeyType, KeyTypes.Asymmetric) &&
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (4)
768if (!string.IsNullOrEmpty(rst.KeyType)) 770requestSerializer.WriteXmlElement(writer, trustConstants.Elements.KeyType, rst.KeyType, rst, context); 1805if (!string.IsNullOrEmpty(rstr.KeyType)) 1807responseSerializer.WriteXmlElement(writer, trustConstants.Elements.KeyType, rstr.KeyType, rstr, context);
System\IdentityModel\SecurityTokenService.cs (8)
351string keyType = (string.IsNullOrEmpty(request.KeyType)) ? KeyTypes.Symmetric : request.KeyType; 1071if (request.KeyType != null && !IsKnownType(request.KeyType)) 1077if (StringComparer.Ordinal.Equals(request.KeyType, KeyTypes.Bearer) && request.KeySizeInBits.HasValue && (request.KeySizeInBits.Value != 0)) 1088request.KeyType = (string.IsNullOrEmpty(request.KeyType)) ? KeyTypes.Symmetric : request.KeyType; 1090if (StringComparer.Ordinal.Equals(request.KeyType, KeyTypes.Symmetric))
System.ServiceModel (3)
System\ServiceModel\Security\WSTrustChannel.cs (3)
682ProofKeyType requestKeyType = GetKeyType(request.KeyType); 686return GetUseKeySecurityToken(request.UseKey, request.KeyType); 714new NotSupportedException(SR.GetString(SR.ID3139, request.KeyType)));