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