2 instantiations of WSTrustSerializationContext
System.ServiceModel (2)
System\ServiceModel\Security\WSTrustChannelFactory.cs (1)
508
return new
WSTrustSerializationContext
(_securityTokenHandlerCollectionManager, resolver, useKeyResolver);
System\ServiceModel\Security\WSTrustServiceContract.cs (1)
175
return new
WSTrustSerializationContext
(_securityTokenServiceConfiguration.SecurityTokenHandlerCollectionManager,
74 references to WSTrustSerializationContext
System.IdentityModel (49)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (6)
26
public override RequestSecurityToken ReadXml(XmlReader reader,
WSTrustSerializationContext
context)
49
public override void ReadXmlElement(XmlReader reader, RequestSecurityToken rst,
WSTrustSerializationContext
context)
110
public override void WriteKnownRequestElement(RequestSecurityToken rst, XmlWriter writer,
WSTrustSerializationContext
context)
159
public override void WriteXml(RequestSecurityToken request, XmlWriter writer,
WSTrustSerializationContext
context)
189
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityToken rst,
WSTrustSerializationContext
context)
306
WSTrustSerializationContext
context)
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (5)
23
public override RequestSecurityTokenResponse ReadXml(XmlReader reader,
WSTrustSerializationContext
context)
61
public override void ReadXmlElement(XmlReader reader, RequestSecurityTokenResponse rstr,
WSTrustSerializationContext
context)
94
public override void WriteKnownResponseElement(RequestSecurityTokenResponse rstr, XmlWriter writer,
WSTrustSerializationContext
context)
129
public override void WriteXml(RequestSecurityTokenResponse response, XmlWriter writer,
WSTrustSerializationContext
context)
169
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityTokenResponse rstr,
WSTrustSerializationContext
context)
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005RequestSerializer.cs (5)
24
public override RequestSecurityToken ReadXml(XmlReader reader,
WSTrustSerializationContext
context)
47
public override void ReadXmlElement(XmlReader reader, RequestSecurityToken rst,
WSTrustSerializationContext
context)
75
public override void WriteKnownRequestElement(RequestSecurityToken rst, XmlWriter writer,
WSTrustSerializationContext
context)
102
public override void WriteXml(RequestSecurityToken request, XmlWriter writer,
WSTrustSerializationContext
context)
132
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityToken rst,
WSTrustSerializationContext
context)
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005ResponseSerializer.cs (5)
24
public override RequestSecurityTokenResponse ReadXml(XmlReader reader,
WSTrustSerializationContext
context)
47
public override void ReadXmlElement(XmlReader reader, RequestSecurityTokenResponse rstr,
WSTrustSerializationContext
context)
74
public override void WriteKnownResponseElement(RequestSecurityTokenResponse rstr, XmlWriter writer,
WSTrustSerializationContext
context)
101
public override void WriteXml(RequestSecurityTokenResponse response, XmlWriter writer,
WSTrustSerializationContext
context)
131
public override void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityTokenResponse rstr,
WSTrustSerializationContext
context)
System\IdentityModel\Protocols\WSTrust\WSTrustRequestSerializer.cs (6)
22
public abstract RequestSecurityToken ReadXml(XmlReader reader,
WSTrustSerializationContext
context);
30
public abstract void ReadXmlElement(XmlReader reader, RequestSecurityToken requestSecurityToken,
WSTrustSerializationContext
context);
38
public abstract void WriteKnownRequestElement(RequestSecurityToken requestSecurityToken, XmlWriter writer,
WSTrustSerializationContext
context);
46
public abstract void WriteXml(RequestSecurityToken request, XmlWriter writer,
WSTrustSerializationContext
context);
56
public abstract void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityToken requestSecurityToken,
WSTrustSerializationContext
context);
100
protected virtual void ReadCustomElement(XmlReader reader,
WSTrustSerializationContext
context)
System\IdentityModel\Protocols\WSTrust\WSTrustResponseSerializer.cs (5)
22
public abstract RequestSecurityTokenResponse ReadXml(XmlReader reader,
WSTrustSerializationContext
context);
30
public abstract void ReadXmlElement(XmlReader reader, RequestSecurityTokenResponse requestSecurityTokenResponse,
WSTrustSerializationContext
context);
38
public abstract void WriteKnownResponseElement(RequestSecurityTokenResponse requestSecurityTokenResponse, XmlWriter writer,
WSTrustSerializationContext
context);
46
public abstract void WriteXml(RequestSecurityTokenResponse response, XmlWriter writer,
WSTrustSerializationContext
context);
56
public abstract void WriteXmlElement(XmlWriter writer, string elementName, object elementValue, RequestSecurityTokenResponse requestSecurityTokenResponse,
WSTrustSerializationContext
context);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationContext.cs (3)
21
/// Initializes an instance <see cref="
WSTrustSerializationContext
"/>
29
/// Initializes an instance of <see cref="
WSTrustSerializationContext
"/>
38
/// Initializes an instance of <see cref="
WSTrustSerializationContext
"/>
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (14)
21
public static RequestSecurityToken CreateRequest(XmlReader reader,
WSTrustSerializationContext
context, WSTrustRequestSerializer requestSerializer, WSTrustConstantsAdapter trustConstants)
67
public static void ReadRSTXml(XmlReader reader, RequestSecurityToken rst,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
652
public static void WriteRequest(RequestSecurityToken rst, XmlWriter writer,
WSTrustSerializationContext
context, WSTrustRequestSerializer requestSerializer, WSTrustConstantsAdapter trustConstants)
706
public static void WriteKnownRequestElement(RequestSecurityToken rst, XmlWriter writer,
WSTrustSerializationContext
context, WSTrustRequestSerializer requestSerializer, WSTrustConstantsAdapter trustConstants)
889
public static void WriteRSTXml(XmlWriter writer, string elementName, object elementValue,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
1353
public static RequestSecurityTokenResponse CreateResponse(XmlReader reader,
WSTrustSerializationContext
context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
1400
public static void ReadRSTRXml(XmlReader reader, RequestSecurityTokenResponse rstr,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
1667
public static void WriteResponse(RequestSecurityTokenResponse response, XmlWriter writer,
WSTrustSerializationContext
context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
1718
public static void WriteKnownResponseElement(RequestSecurityTokenResponse rstr, XmlWriter writer,
WSTrustSerializationContext
context, WSTrustResponseSerializer responseSerializer, WSTrustConstantsAdapter trustConstants)
1846
public static void WriteRSTRXml(XmlWriter writer, string elementName, object elementValue,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
2342
public static ProtectedKey ReadProtectedKey(XmlReader reader,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
2400
public static void WriteProtectedKey(XmlWriter writer, ProtectedKey protectedKey,
WSTrustSerializationContext
context, WSTrustConstantsAdapter trustConstants)
2916
/// <param name="context">The <see cref="
WSTrustSerializationContext
"/> of the request.</param>
2918
private static void WriteTokenElement(SecurityTokenElement tokenElement, string usage,
WSTrustSerializationContext
context, XmlWriter writer)
System.ServiceModel (25)
System\ServiceModel\Security\WSTrustChannel.cs (7)
36
WSTrustSerializationContext
_serializationContext;
43
WSTrustSerializationContext
serializationContext,
91
public
WSTrustSerializationContext
SerializationContext
166
WSTrustSerializationContext
_context;
237
public
WSTrustSerializationContext
WSTrustSerializationContext
304
WSTrustSerializationContext
context,
1033
WSTrustSerializationContext
context = this.WSTrustSerializationContext;
System\ServiceModel\Security\WSTrustChannelFactory.cs (5)
41
public
WSTrustSerializationContext
Context;
361
/// The <see cref="
WSTrustSerializationContext
" /> that should be used to serialize WS-Trust messages.
372
WSTrustSerializationContext
context,
463
/// Creates a <see cref="
WSTrustSerializationContext
" /> used by <see cref="WSTrustChannel" /> objects created
478
protected virtual
WSTrustSerializationContext
CreateSerializationContext()
System\ServiceModel\Security\WSTrustRequestBodyWriter.cs (2)
18
WSTrustSerializationContext
_serializationContext;
31
public WSTrustRequestBodyWriter(System.IdentityModel.Protocols.WSTrust.RequestSecurityToken requestSecurityToken, WSTrustRequestSerializer serializer,
WSTrustSerializationContext
serializationContext)
System\ServiceModel\Security\WSTrustResponseBodyWriter.cs (3)
20
WSTrustSerializationContext
_context;
27
/// <param name="context">The <see cref="
WSTrustSerializationContext
"/> of this request.</param>
29
public WSTrustResponseBodyWriter(RSTR requestSecurityTokenResponse, WSTrustResponseSerializer serializer,
WSTrustSerializationContext
context)
System\ServiceModel\Security\WSTrustServiceContract.cs (8)
173
protected virtual
WSTrustSerializationContext
CreateSerializationContext()
300
WSTrustSerializationContext
serializationContext = CreateSerializationContext();
349
/// <param name="serializationContext">The <see cref="
WSTrustSerializationContext
"/> to use
358
WSTrustSerializationContext
serializationContext)
565
WSTrustSerializationContext
serializationContext = CreateSerializationContext();
1360
WSTrustSerializationContext
_serializationContext;
1366
WSTrustSerializationContext
serializationContext,
1420
public
WSTrustSerializationContext
SerializationContext