System\IdentityModel\SignedXml.cs (20)
170ReadFrom(XmlDictionaryReader.CreateDictionaryReader(reader));
173public void ReadFrom(XmlDictionaryReader reader)
306public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
372public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
412XmlDictionaryReader GetReader(object callbackContext);
561XmlDictionaryReader signatureReader = this.readerProvider.GetReader(this.signatureReaderProviderCallbackContext);
594signatureReader = XmlDictionaryReader.CreateBinaryReader(buffer, 0, bufferLength, this.DictionaryManager.ParentDictionary, XmlDictionaryReaderQuotas.Max);
637protected void ReadCanonicalizationMethod(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
643public abstract void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager);
645protected void ReadSignatureMethod(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
747public override void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager)
897using (XmlDictionaryReader signedinfoReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.Max))
921public override void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager)
948using (XmlDictionaryReader effectiveReader = XmlDictionaryReader.CreateTextReader(_bufferedStream, XmlDictionaryReaderQuotas.Max))
1228public void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager)
1297public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
1376public void ReadFrom(XmlDictionaryReader reader, TransformFactory transformFactory, DictionaryManager dictionaryManager, bool preserveComments)
1449public void ReadFrom(XmlDictionaryReader reader, DictionaryManager dictionaryManager)
System\IdentityModel\Tokens\SamlAssertion.cs (6)
292protected void ReadSignature(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver, SamlSerializer samlSerializer)
304XmlDictionaryReader effectiveReader = reader;
312effectiveReader = XmlDictionaryReader.CreateBinaryReader(stream.GetBuffer(), 0, (int)stream.Length, samlSerializer.DictionaryManager.ParentDictionary, reader.Quotas);
484public virtual void ReadXml(XmlDictionaryReader reader, SamlSerializer samlSerializer, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
492XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
System\IdentityModel\Tokens\SamlSerializer.cs (8)
54XmlDictionaryReader dictionaryReader = XmlDictionaryReader.CreateDictionaryReader(reader);
76public virtual SamlAssertion LoadAssertion(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
87public virtual SamlCondition LoadCondition(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
108public virtual SamlConditions LoadConditions(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
119public virtual SamlAdvice LoadAdvice(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
130public virtual SamlStatement LoadStatement(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
157public virtual SamlAttribute LoadAttribute(XmlDictionaryReader reader, SecurityTokenSerializer keyInfoSerializer, SecurityTokenResolver outOfBandTokenResolver)
System\IdentityModel\Tokens\SessionSecurityToken.cs (9)
351using (XmlDictionaryReader reader = XmlDictionaryReader.CreateBinaryReader(cookie, 0, cookie.Length, dictionary, XmlDictionaryReaderQuotas.Max, null, null))
791ClaimsPrincipal ReadPrincipal(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary)
859void ReadIdentities(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, Collection<ClaimsIdentity> identities)
899ClaimsIdentity ReadIdentity(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary)
1090void ReadClaims(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, Collection<Claim> claims)
1141void ReadClaimProperties(XmlDictionaryReader dictionaryReader, SessionDictionary dictionary, IDictionary<string, string> properties)
1634private SysClaim DeserializeSysClaim(XmlDictionaryReader reader)
1760static string ReadRightAttribute(XmlDictionaryReader reader, SessionDictionary dictionary)
System\IdentityModel\Tokens\WSSecurityJan2004.cs (13)
220protected virtual string ReadTokenType(XmlDictionaryReader reader)
225public override SecurityKeyIdentifierClause ReadKeyIdentifierClauseCore(XmlDictionaryReader reader)
321public override bool CanReadClause(XmlDictionaryReader reader, string tokenType)
338public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType)
502public override bool CanReadClause(XmlDictionaryReader reader, string tokenType)
515public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType)
566public override bool CanReadClause(XmlDictionaryReader reader, string tokenType)
590public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNone, int derivationLength, string tokenType)
713public override bool CanReadClause(XmlDictionaryReader reader, string tokenType)
732public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNone, int derivationLength, string tokenType)
769public override bool CanReadClause(XmlDictionaryReader reader, string tokenType)
778public override SecurityKeyIdentifierClause ReadClause(XmlDictionaryReader reader, byte[] derivationNonce, int derivationLength, string tokenType)
836public override string ExtractId(XmlDictionaryReader reader)
System\ServiceModel\Channels\Addressing.cs (15)
90public static string ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
101public static ActionHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
203public static FromHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
218public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
295public static FaultToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
310public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
438public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
443public static Uri ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache)
462public static ToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version, UriCache uriCache,
609public static ReplyToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
631public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
708public static UniqueId ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
714public static MessageIDHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
824public static void ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version, out Uri relationshipType, out UniqueId messageId)
845public static RelatesToHeader ReadHeader(XmlDictionaryReader reader, AddressingVersion version,
System\ServiceModel\Channels\BinaryMessageEncoder.cs (23)
28volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool;
210XmlDictionaryReader TakeStreamedReader(Stream stream)
219streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize);
224XmlDictionaryReader xmlReader = streamedReaderPool.Take();
227xmlReader = XmlDictionaryReader.CreateBinaryReader(stream,
249void ReturnStreamedReader(XmlDictionaryReader xmlReader)
290Pool<XmlDictionaryReader> readerPool;
297readerPool = new Pool<XmlDictionaryReader>(maxPoolSize);
316protected override XmlDictionaryReader TakeXmlReader()
319XmlDictionaryReader xmlReader = readerPool.Take();
331xmlReader = XmlDictionaryReader.CreateBinaryReader(buffer.Array, buffer.Offset, buffer.Count,
345protected override void ReturnXmlReader(XmlDictionaryReader reader)
706XmlDictionaryReader reader = factory.TakeStreamedReader(stream);
805XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateBinaryReader(messageData.Array, messageData.Offset, messageData.Count, XD.Dictionary, XmlDictionaryReaderQuotas.Max, this.readerSessionForLogging, null);
1595XmlDictionaryReader reader;
1619XmlDictionaryReader reader = messageData.GetMessageReader();
1657XmlDictionaryReader reader = messageData.GetMessageReader();
1721XmlDictionaryReader GetBufferedReaderAtBody()
1723XmlDictionaryReader reader = messageData.GetMessageReader();
1731using (XmlDictionaryReader reader = GetBufferedReaderAtBody())
1826protected override XmlDictionaryReader OnGetReaderAtBodyContents()
1828XmlDictionaryReader reader = this.reader;
System\ServiceModel\Channels\Message.cs (47)
171return CreateMessage(version, action, XmlDictionaryReader.CreateDictionaryReader(body));
174static public Message CreateMessage(MessageVersion version, string action, XmlDictionaryReader body)
218return CreateMessage(XmlDictionaryReader.CreateDictionaryReader(envelopeReader), maxSizeOfHeaders, version);
221static public Message CreateMessage(XmlDictionaryReader envelopeReader, int maxSizeOfHeaders, MessageVersion version)
276XmlDictionaryReader reader = GetReaderAtBodyContents(); // This call will change the message state to Read.
280protected virtual T OnGetBody<T>(XmlDictionaryReader reader)
292T GetBodyCore<T>(XmlDictionaryReader reader, XmlObjectSerializer serializer)
303internal virtual XmlDictionaryReader GetReaderAtHeader()
315XmlDictionaryReader reader = buffer.GetReader(0);
321public XmlDictionaryReader GetReaderAtBodyContents()
378static internal bool IsFaultStartElement(XmlDictionaryReader reader, EnvelopeVersion version)
407protected virtual XmlDictionaryReader OnGetReaderAtBodyContents()
424XmlDictionaryReader reader = bodyBuffer.GetReader(0);
582internal void ReadFromBodyContentsToEnd(XmlDictionaryReader reader)
587static void ReadFromBodyContentsToEnd(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion)
597internal static bool ReadStartBody(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion, out bool isFault, out bool isEmpty)
924XmlDictionaryReader reader;
927public XmlReaderBodyWriter(XmlDictionaryReader reader, EnvelopeVersion version)
1231protected static bool HasHeaderElement(XmlDictionaryReader reader, EnvelopeVersion envelopeVersion)
1240using (XmlDictionaryReader bodyReader = OnGetReaderAtBodyContents())
1255protected bool ReadStartBody(XmlDictionaryReader reader)
1260protected static EnvelopeVersion ReadStartEnvelope(XmlDictionaryReader reader)
1276protected static void VerifyStartBody(XmlDictionaryReader reader, EnvelopeVersion version)
1293XmlDictionaryReader reader;
1296public StreamedMessage(XmlDictionaryReader reader, int maxSizeOfHeaders, MessageVersion desiredVersion)
1428protected override XmlDictionaryReader OnGetReaderAtBodyContents()
1430XmlDictionaryReader reader = this.reader;
1475XmlDictionaryReader GetMessageReader();
1487XmlDictionaryReader reader;
1505XmlDictionaryReader reader = messageData.GetMessageReader();
1610protected override XmlDictionaryReader OnGetReaderAtBodyContents()
1612XmlDictionaryReader reader = this.reader;
1617internal override XmlDictionaryReader GetReaderAtHeader()
1621XmlDictionaryReader reader = messageData.GetMessageReader();
1630public XmlDictionaryReader GetBufferedReaderAtBody()
1632XmlDictionaryReader reader = messageData.GetMessageReader();
1646public XmlDictionaryReader GetMessageReader()
1653using (XmlDictionaryReader reader = GetBufferedReaderAtBody())
1735using (XmlDictionaryReader reader = GetMessageReader())
1746using (XmlDictionaryReader reader = GetMessageReader())
1765using (XmlDictionaryReader reader = GetBufferedReaderAtBody())
1802using (XmlDictionaryReader reader = GetBufferedReaderAtBody())
1859public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader)
1865public static XmlAttributeHolder[] ReadAttributes(XmlDictionaryReader reader, ref int maxSizeOfHeaders)
1984public MessageHeaderInfo TakeHeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam)
2048public HeaderInfo(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isReferenceParameter)
2087public bool Matches(XmlDictionaryReader reader, string actor, bool mustUnderstand, bool relay, bool isRefParam)
System\ServiceModel\Channels\MessageHeaders.cs (22)
48internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, XmlAttributeHolder[] envelopeAttributes, XmlAttributeHolder[] headerAttributes, ref int maxSizeOfHeaders)
94internal MessageHeaders(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
130using (XmlDictionaryReader reader = GetReaderAtHeader(index))
174using (XmlDictionaryReader reader = GetReaderAtHeader(index))
198using (XmlDictionaryReader reader = GetReaderAtHeader(index))
237using (XmlDictionaryReader reader = GetReaderAtHeader(index))
278using (XmlDictionaryReader reader = GetReaderAtHeader(index))
302using (XmlDictionaryReader reader = GetReaderAtHeader(index))
413using (XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(bufferedMessageData))
438BufferedHeader CaptureBufferedHeader(XmlDictionaryReader reader, MessageHeaderInfo headerInfo)
771static XmlDictionaryReader GetBufferedMessageHeaderReaderAtHeaderContents(IBufferedMessageData bufferedMessageData)
773XmlDictionaryReader reader = bufferedMessageData.GetMessageReader();
785XmlDictionaryReader GetBufferedMessageHeaderReader(IBufferedMessageData bufferedMessageData, int bufferedMessageHeaderIndex)
794XmlDictionaryReader reader = GetBufferedMessageHeaderReaderAtHeaderContents(bufferedMessageData);
808void Skip(XmlDictionaryReader reader)
875using (XmlDictionaryReader reader = GetReaderAtHeader(index))
962public XmlDictionaryReader GetReaderAtHeader(int headerIndex)
1008using (XmlDictionaryReader reader = GetReaderAtHeader(index))
1021XmlDictionaryReader reader = bufferedMessageData.GetMessageReader();
1045using (XmlDictionaryReader reader = GetReaderAtHeader(index))
1167internal void Init(MessageVersion version, XmlDictionaryReader reader, IBufferedMessageData bufferedMessageData, RecycledMessageState recycledMessageState, bool[] understoodHeaders, bool understoodHeadersModified)
1301void ReadBufferedHeader(XmlDictionaryReader reader, RecycledMessageState recycledMessageState, XmlDictionaryString[] localNames, bool understood)
System\ServiceModel\Channels\MtomMessageEncoder.cs (15)
78volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool;
356XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateMtomReader(messageData.Array, messageData.Offset, messageData.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, XmlDictionaryReaderQuotas.Max, int.MaxValue, null);
527streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize);
531XmlDictionaryReader xmlReader = streamedReaderPool.Take();
542xmlReader = XmlDictionaryReader.CreateMtomReader(stream, MtomMessageEncoderFactory.GetSupportedEncodings(), contentType, this.readerQuotas, this.maxBufferSize, onStreamedReaderClose);
557xmlReader = XmlDictionaryReader.CreateTextReader(stream, TextMessageEncoderFactory.GetEncodingFromContentType(contentType, this.contentEncodingMap), this.readerQuotas, onStreamedReaderClose);
579void ReturnStreamedReader(XmlDictionaryReader xmlReader)
610Pool<XmlDictionaryReader> readerPool;
618readerPool = new Pool<XmlDictionaryReader>(maxReaderPoolSize);
637protected override XmlDictionaryReader TakeXmlReader()
643XmlDictionaryReader xmlReader = readerPool.Take();
652xmlReader = XmlDictionaryReader.CreateMtomReader(buffer.Array, buffer.Offset, buffer.Count, MtomMessageEncoderFactory.GetSupportedEncodings(), ContentType, this.Quotas, this.messageEncoder.MaxBufferSize, onClose);
667xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, TextMessageEncoderFactory.GetEncodingFromContentType(ContentType, this.messageEncoder.contentEncodingMap), this.Quotas, onClose);
688protected override void ReturnXmlReader(XmlDictionaryReader xmlReader)
System\ServiceModel\Channels\TextMessageEncoder.cs (13)
252volatile SynchronizedPool<XmlDictionaryReader> streamedReaderPool;
503XmlDictionaryReader xmlDictionaryReader = XmlDictionaryReader.CreateTextReader(messageData.Array, messageData.Offset, messageData.Count, null, XmlDictionaryReaderQuotas.Max, null);
709streamedReaderPool = new SynchronizedPool<XmlDictionaryReader>(maxReadPoolSize);
713XmlDictionaryReader xmlReader = streamedReaderPool.Take();
716xmlReader = XmlDictionaryReader.CreateTextReader(stream, enc, this.readerQuotas, null);
729void ReturnStreamedReader(XmlDictionaryReader xmlReader)
798Pool<XmlDictionaryReader> readerPool;
808readerPool = new Pool<XmlDictionaryReader>(maxReaderPoolSize);
835protected override XmlDictionaryReader TakeXmlReader()
839XmlDictionaryReader xmlReader = readerPool.Take();
842xmlReader = XmlDictionaryReader.CreateTextReader(buffer.Array, buffer.Offset, buffer.Count, this.encoding, this.Quotas, onClose);
856protected override void ReturnXmlReader(XmlDictionaryReader xmlReader)
System\ServiceModel\Channels\WsrmFault.cs (19)
248protected WsrmHeaderFault(FaultCode code, string subcode, FaultReason reason, XmlDictionaryReader detailReader,
294string subcode, FaultReason reason, XmlDictionaryReader detailReader)
390static UniqueId ParseDetail(XmlDictionaryReader reader, ReliableMessagingVersion reliableMessagingVersion)
432XmlDictionaryReader detailReader = WsrmSequenceFaultHeader.GetReaderAtDetailContents(detailName,
472XmlDictionaryReader detailReader = fault.GetReaderAtDetailContents();
492XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion)
532XmlDictionaryReader detailReader, ReliableMessagingVersion reliableMessagingVersion)
547public MessageNumberRolloverFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader,
602public SequenceClosedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader,
616public SequenceTerminatedFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader,
653public UnknownSequenceFault(FaultCode code, FaultReason reason, XmlDictionaryReader detailReader,
711public static XmlDictionaryReader GetReaderAtDetailContents(string detailName, string detailNamespace,
712XmlDictionaryReader headerReader, ReliableMessagingVersion reliableMessagingVersion)
724public static XmlDictionaryReader GetReaderAtDetailContents11(string detailName, string detailNamespace,
725XmlDictionaryReader headerReader)
743public static XmlDictionaryReader GetReaderAtDetailContentsFeb2005(string detailName, string detailNamespace,
744XmlDictionaryReader headerReader)
797XmlDictionaryReader detailReader = buffer.GetReader(index);
806public static string GetSubcode(XmlDictionaryReader headerReader,
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (9)
292XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i);
322XmlDictionaryReader headerReader = headers.GetReaderAtHeader(i);
349object DeserializeHeaderContents(XmlDictionaryReader reader, MessageDescription messageDescription, MessageHeaderDescription headerDescription)
362protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
404void DeserializeParameters(XmlDictionaryReader reader, PartInfo[] parts, object[] parameters, bool isRequest)
427object DeserializeParameter(XmlDictionaryReader reader, PartInfo part, bool isRequest)
439object DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, bool isRequest)
583public object ReadObject(XmlDictionaryReader reader)
588public object ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (6)
184XmlDictionaryReader headerReader = headers.GetReaderAtHeader(headerIndex);
216XmlDictionaryReader bufferReader = XmlDictionaryReader.CreateTextReader(memoryStream.GetBuffer(), 0, (int)memoryStream.Length, XmlDictionaryReaderQuotas.Max);
249private static void AddUnknownHeader(MessageHeaderDescription unknownHeaderDescription, ArrayList unknownHeaders, XmlDocument xmlDoc, XmlDictionaryWriter bufferWriter, MessageHeaderInfo header, XmlDictionaryReader headerReader)
337protected override object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, string action, MessageDescription messageDescription, object[] parameters, bool isRequest)
368object DeserializeBody(XmlDictionaryReader reader, MessageVersion version, XmlSerializer serializer, MessagePartDescription returnPart, MessagePartDescriptionCollection bodyParts, object[] parameters, bool isRequest)
System\ServiceModel\EndpointAddress.cs (36)
134internal EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader, XmlDictionaryReader pspReader)
164public EndpointAddress(Uri uri, EndpointIdentity identity, AddressHeaderCollection headers, XmlDictionaryReader metadataReader, XmlDictionaryReader extensionReader)
490internal XmlDictionaryReader GetReaderAtPsp()
496public XmlDictionaryReader GetReaderAtMetadata()
502public XmlDictionaryReader GetReaderAtExtensions()
507static XmlDictionaryReader GetReaderAtSection(XmlBuffer buffer, int section)
512XmlDictionaryReader reader = buffer.GetReader(section);
519void PossiblyPopulateBuffer(XmlDictionaryReader reader, ref XmlBuffer buffer, out int section)
539public static EndpointAddress ReadFrom(XmlDictionaryReader reader)
545internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version)
577public static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
583internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version)
617return ReadFrom(addressingVersion, XmlDictionaryReader.CreateDictionaryReader(reader));
627XmlDictionaryReader dictReader = XmlDictionaryReader.CreateDictionaryReader(reader);
634public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader)
647public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
660static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader)
695internal static XmlBuffer ReadExtensions(XmlDictionaryReader reader, AddressingVersion version, XmlBuffer buffer, out EndpointIdentity identity, out int section)
749static bool ReadContentsFrom200408(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection, out int pspSection)
905static bool ReadContentsFrom10(XmlDictionaryReader reader, out Uri uri, out AddressHeaderCollection headers, out EndpointIdentity identity, out XmlBuffer buffer, out int metadataSection, out int extensionSection)
974static XmlException CreateXmlException(XmlDictionaryReader reader, string message)
986static bool Done(XmlDictionaryReader reader)
993static internal void Copy(XmlDictionaryWriter writer, XmlDictionaryReader reader)
1077XmlDictionaryReader reader = null;
1143XmlDictionaryReader reader = GetReaderAtSection(this.buffer, metadataSection);
1158XmlDictionaryReader reader = GetReaderAtSection(this.buffer, this.extensionSection);
1313public XmlDictionaryReader GetReaderAtMetadata()
1325XmlDictionaryReader reader = this.metadataBuffer.GetReader(0);
1332public void SetMetadataReader(XmlDictionaryReader reader)
1347public XmlDictionaryReader GetReaderAtExtensions()
1359XmlDictionaryReader reader = this.extensionBuffer.GetReader(0);
1366public void SetExtensionReader(XmlDictionaryReader reader)
System\ServiceModel\Security\SctClaimSerializer.cs (6)
38static string ReadRightAttribute(XmlDictionaryReader reader, SctClaimDictionary dictionary)
51static SecurityIdentifier ReadSidAttribute(XmlDictionaryReader reader, SctClaimDictionary dictionary)
226public static Claim DeserializeClaim(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
343public static ClaimSet DeserializeClaimSet(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer, XmlObjectSerializer claimSerializer)
475public static IList<IIdentity> DeserializeIdentities(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
495static IIdentity DeserializePrimaryIdentity(XmlDictionaryReader reader, SctClaimDictionary dictionary, XmlObjectSerializer serializer)
System\ServiceModel\Security\WSSecureConversation.cs (9)
52public virtual bool IsAtDerivedKeyToken(XmlDictionaryReader reader)
57public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive)
131public virtual void ReadDerivedKeyTokenParameters(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, out string id, out string derivationAlgorithm, out string label, out int length, out byte[] nonce, out int offset, out int generation, out SecurityKeyIdentifierClause tokenToDeriveIdentifier, out SecurityToken tokenToDerive)
236public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
370protected abstract bool CanReadGeneration(XmlDictionaryReader reader);
372protected abstract UniqueId ReadGeneration(XmlDictionaryReader reader);
422public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
562public override UniqueId GetSecurityContextTokenId(XmlDictionaryReader reader)
577public override bool IsAtSecurityContextToken(XmlDictionaryReader reader)
System\ServiceModel\Security\WSSecurityJan2004.cs (11)
143public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
216public override bool CanReadTokenCore(XmlDictionaryReader reader)
227public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
237using (XmlDictionaryReader reader = bufferedXmlToken.TokenXmlBuffer.GetReader(0))
325public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
353public override IAsyncResult BeginReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver, AsyncCallback callback, object state)
387public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
429static string ParsePassword(XmlDictionaryReader reader)
440static void ParseToken(XmlDictionaryReader reader, out string id, out string userName, out string password)
514public override SecurityToken ReadTokenCore(XmlDictionaryReader reader, SecurityTokenResolver tokenResolver)
667public override string ExtractId(XmlDictionaryReader reader)
System\ServiceModel\Security\XmlHelper.cs (8)
220internal static string ReadEmptyElementAndRequiredAttribute(XmlDictionaryReader reader,
241internal static string GetRequiredNonEmptyAttribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns)
251internal static byte[] GetRequiredBase64Attribute(XmlDictionaryReader reader, XmlDictionaryString name, XmlDictionaryString ns)
328internal static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
333static UniqueId GetAttributeAsUniqueId(XmlDictionaryReader reader, string name, string ns)
413static public Int64 ReadElementContentAsInt64(XmlDictionaryReader reader)
426static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
440static public UniqueId ReadElementStringAsUniqueId(XmlDictionaryReader reader)