System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (9)
337if (reader.IsStartElement(trustConstants.Elements.KeyType, trustConstants.NamespaceURI))
770requestSerializer.WriteXmlElement(writer, trustConstants.Elements.KeyType, rst.KeyType, rst, context);
1019if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeyType))
1573if (reader.IsStartElement(trustConstants.Elements.KeyType, trustConstants.NamespaceURI))
1807responseSerializer.WriteXmlElement(writer, trustConstants.Elements.KeyType, rstr.KeyType, rstr, context);
1982if (StringComparer.Ordinal.Equals(elementName, trustConstants.Elements.KeyType))
2713throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.KeyType, trustConstants.NamespaceURI, incomingKeyType)));
2753throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135, trustConstants.Elements.KeyType, trustConstants.NamespaceURI, keyType)));
2775writer.WriteElementString(trustConstants.Prefix, trustConstants.Elements.KeyType, trustConstants.NamespaceURI, keyTypeAsStr);