45 references to XmlHelper
System.ServiceModel.Primitives (45)
System\ServiceModel\Security\SecurityMessageProperty.cs (1)
113XmlHelper.ValidateIdPrefix(value);
System\ServiceModel\Security\SecurityVersion.cs (2)
236string id = XmlHelper.GetRequiredNonEmptyAttribute(reader, XD.UtilityDictionary.IdAttribute, XD.UtilityDictionary.Namespace); 237byte[] signatureValue = XmlHelper.GetRequiredBase64Attribute(reader, XD.SecurityXXX2005Dictionary.ValueAttribute, null);
System\ServiceModel\Security\WSKeyInfoSerializer.cs (6)
139UniqueId uri = XmlHelper.GetAttributeAsUniqueId(reader, XD.SecurityJan2004Dictionary.URI, null); 170XmlHelper.WriteAttributeStringAsUniqueId(writer, null, XD.SecurityJan2004Dictionary.URI, null, sctClause.ContextId); 260return XmlHelper.GetAttributeAsUniqueId( 271XmlHelper.WriteAttributeStringAsUniqueId( 316return XmlHelper.GetAttributeAsUniqueId(reader, Parent.SecurityTokenSerializer.DictionaryManager.SecureConversationDec2005Dictionary.Instance, 325XmlHelper.WriteAttributeStringAsUniqueId(
System\ServiceModel\Security\WSSecureConversation.cs (3)
339contextId = XmlHelper.ReadTextElementAsUniqueId(element); 484XmlHelper.WriteStringAsUniqueId(writer, sct.ContextId); 552UniqueId contextId = XmlHelper.ReadElementStringAsUniqueId(reader, DriverDictionary.Identifier, DriverDictionary.Namespace);
System\ServiceModel\Security\WSSecureConversationDec2005.cs (2)
88return XmlHelper.ReadTextElementAsUniqueId(element); 99XmlHelper.WriteStringAsUniqueId(writer, sct.KeyGeneration);
System\ServiceModel\Security\WSSecureConversationFeb2005.cs (2)
73return XmlHelper.ReadTextElementAsUniqueId(element); 83XmlHelper.WriteStringAsUniqueId(writer, sct.KeyGeneration);
System\ServiceModel\Security\WSSecurityJan2004.cs (2)
359XmlHelper.OnUnexpectedChildNodeError(SecurityJan2004Strings.UserNameTokenElement, reader); 366XmlHelper.OnRequiredElementMissing(SecurityJan2004Strings.UserNameElement, SecurityJan2004Strings.Namespace);
System\ServiceModel\Security\WSTrust.cs (24)
247tokenTypeUri = XmlHelper.ReadTextElementAsTrimmedString(child); 251requestType = XmlHelper.ReadTextElementAsTrimmedString(child); 255keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 306XmlHelper.OnRequiredElementMissing(DriverDictionary.RequestSecurityTokenResponse.Value, DriverDictionary.Namespace.Value); 349tokenTypeUri = XmlHelper.ReadTextElementAsTrimmedString(child); 353keySize = Int32.Parse(XmlHelper.ReadTextElementAsTrimmedString(child), NumberFormatInfo.InvariantInfo); 357XmlElement proofXml = XmlHelper.GetChildElement(child); 360string computedKeyAlgorithm = XmlHelper.ReadTextElementAsTrimmedString(proofXml); 370XmlElement createdXml = XmlHelper.GetChildElement(child, UtilityStrings.CreatedElement, UtilityStrings.Namespace); 373created = DateTime.ParseExact(XmlHelper.ReadTextElementAsTrimmedString(createdXml), 376XmlElement expiresXml = XmlHelper.GetChildElement(child, UtilityStrings.ExpiresElement, UtilityStrings.Namespace); 379expires = DateTime.ParseExact(XmlHelper.ReadTextElementAsTrimmedString(expiresXml), 454XmlElement combinedHashElement = XmlHelper.GetChildElement(element); 457string authenticatorString = XmlHelper.ReadTextElementAsTrimmedString(combinedHashElement); 540XmlElement tokenXml = XmlHelper.GetChildElement(element); 571issuedTokenXml = XmlHelper.GetChildElement(elem); 579proofTokenXml = XmlHelper.GetChildElement(elem); 786XmlHelper.OnRequiredAttributeMissing("EncodingType", elem.Name); 790XmlHelper.OnRequiredAttributeMissing("ValueType", elem.Name); 792string encodedBlob = XmlHelper.ReadTextElementAsTrimmedString(elem); 819issuedTokenXml = XmlHelper.GetChildElement(child); 823requestedUnattachedReference = GetKeyIdentifierXmlReferenceClause(XmlHelper.GetChildElement(child)); 955XmlHelper.AddNamespaceDeclaration(writer, DriverDictionary.Prefix.Value, DriverDictionary.Namespace); 1058XmlHelper.AddNamespaceDeclaration(writer, UtilityStrings.Prefix, XD.UtilityDictionary.Namespace);
System\ServiceModel\Security\WSTrustFeb2005.cs (3)
107issuedTokenXml = XmlHelper.GetChildElement(child); 111requestedAttachedReference = GetKeyIdentifierXmlReferenceClause(XmlHelper.GetChildElement(child)); 115requestedUnattachedReference = GetKeyIdentifierXmlReferenceClause(XmlHelper.GetChildElement(child));