2 writes to keyType
System.ServiceModel (2)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (2)
684
this.isKeyTypePresentInRstProperties = TryGetKeyType(out this.
keyType
);
687
this.
keyType
= SecurityKeyType.SymmetricKey;
14 references to keyType
System.ServiceModel (14)
System\ServiceModel\Security\Tokens\IssuedSecurityTokenProvider.cs (14)
690
if (!this.isKeySizePresentInRstProperties && this.
keyType
!= SecurityKeyType.BearerKey)
692
this.keySize = (this.
keyType
== SecurityKeyType.SymmetricKey) ? this.SecurityAlgorithmSuite.DefaultSymmetricKeyLength : this.defaultPublicKeySize;
839
if ((this.
keyType
== SecurityKeyType.SymmetricKey) || (this.
keyType
== SecurityKeyType.BearerKey))
853
else if (this.
keyType
== SecurityKeyType.AsymmetricKey)
902
XmlElement keyTypeElement = this.StandardsManager.TrustDriver.CreateKeyTypeElement(this.
keyType
);
905
if (this.
keyType
== SecurityKeyType.SymmetricKey)
910
else if (this.
keyType
== SecurityKeyType.AsymmetricKey)
924
if (this.
keyType
== SecurityKeyType.SymmetricKey && this.KeyEntropyMode == SecurityKeyEntropyMode.CombinedEntropy)
989
if ((this.
keyType
== SecurityKeyType.SymmetricKey) ||
990
(this.
keyType
== SecurityKeyType.BearerKey))
994
serviceToken = rstr.GetIssuedToken(null, null, this.KeyEntropyMode, keyEntropy, null, authorizationPolicies, this.keySize, this.
keyType
== SecurityKeyType.BearerKey);
996
else if (this.
keyType
== SecurityKeyType.AsymmetricKey)
1089
if (this.
keyType
== SecurityKeyType.BearerKey)