52 references to WSTrustSerializationHelper
System.IdentityModel (52)
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (7)
38return WSTrustSerializationHelper.CreateRequest(reader, context, this, WSTrustConstantsAdapter.Trust13); 88rst.ValidateTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 99WSTrustSerializationHelper.ReadRSTXml(reader, rst, context, WSTrustConstantsAdapter.Trust13); 128WSTrustSerializationHelper.WriteKnownRequestElement(rst, writer, context, this, WSTrustConstantsAdapter.Trust13); 176WSTrustSerializationHelper.WriteRequest(request, writer, context, this, WSTrustConstantsAdapter.Trust13); 272WSTrustSerializationHelper.WriteRSTXml(writer, elementName, elementValue, context, WSTrustConstantsAdapter.Trust13); 343WSTrustSerializationHelper.ReadRSTXml(
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (5)
42RequestSecurityTokenResponse rstr = WSTrustSerializationHelper.CreateResponse(reader, context, this, WSTrustConstantsAdapter.Trust13); 84WSTrustSerializationHelper.ReadRSTRXml(reader, rstr, context, WSTrustConstantsAdapter.Trust13); 112WSTrustSerializationHelper.WriteKnownResponseElement(rstr, writer, context, this, WSTrustConstantsAdapter.Trust13); 151WSTrustSerializationHelper.WriteResponse(response, writer, context, this, WSTrustConstantsAdapter.Trust13); 197WSTrustSerializationHelper.WriteRSTRXml(writer, elementName, elementValue, context, WSTrustConstantsAdapter.Trust13);
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005RequestSerializer.cs (5)
36return WSTrustSerializationHelper.CreateRequest(reader, context, this, WSTrustConstantsAdapter.TrustFeb2005); 64WSTrustSerializationHelper.ReadRSTXml(reader, rst, context, WSTrustConstantsAdapter.TrustFeb2005); 92WSTrustSerializationHelper.WriteKnownRequestElement(rst, writer, context, this, WSTrustConstantsAdapter.TrustFeb2005); 119WSTrustSerializationHelper.WriteRequest(request, writer, context, this, WSTrustConstantsAdapter.TrustFeb2005); 154WSTrustSerializationHelper.WriteRSTXml(writer, elementName, elementValue, context, WSTrustConstantsAdapter.TrustFeb2005);
System\IdentityModel\Protocols\WSTrust\WSTrustFeb2005ResponseSerializer.cs (5)
36return WSTrustSerializationHelper.CreateResponse(reader, context, this, WSTrustConstantsAdapter.TrustFeb2005); 64WSTrustSerializationHelper.ReadRSTRXml(reader, rstr, context, WSTrustConstantsAdapter.TrustFeb2005); 91WSTrustSerializationHelper.WriteKnownResponseElement(rstr, writer, context, this, WSTrustConstantsAdapter.TrustFeb2005); 118WSTrustSerializationHelper.WriteResponse(response, writer, context, this, WSTrustConstantsAdapter.TrustFeb2005); 153WSTrustSerializationHelper.WriteRSTRXml(writer, elementName, elementValue, context, WSTrustConstantsAdapter.TrustFeb2005);
System\IdentityModel\Protocols\WSTrust\WSTrustSerializationHelper.cs (30)
104rst.RequestType = WSTrustSerializationHelper.ReadRequestType(reader, trustConstants); 110rst.AppliesTo = WSTrustSerializationHelper.ReadAppliesTo(reader, trustConstants); 116rst.Issuer = WSTrustSerializationHelper.ReadOnBehalfOfIssuer(reader, trustConstants); 124rst.ProofEncryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 139rst.Encryption = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 154rst.DelegateTo = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 181string ns = WSTrustSerializationHelper.GetRequestClaimNamespace(rst.Claims.Dialect); 270rst.Lifetime = WSTrustSerializationHelper.ReadLifetime(reader, trustConstants); 280rst.RenewTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 298rst.OnBehalfOf = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.OnBehalfOf]); 321rst.ActAs = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlerCollectionManager[SecurityTokenHandlerCollectionManager.Usage.ActAs]); 339rst.KeyType = WSTrustSerializationHelper.ReadKeyType(reader, trustConstants); 539rst.CancelTarget = new SecurityTokenElement(WSTrustSerializationHelper.ReadInnerXml(reader), context.SecurityTokenHandlers); 914WSTrustSerializationHelper.WriteAppliesTo(writer, appliesTo, trustConstants); 927string ns = WSTrustSerializationHelper.GetRequestClaimNamespace(claims.Dialect); 931prefix = WSTrustSerializationHelper.GetRequestClaimPrefix(claims.Dialect); 1021WSTrustSerializationHelper.WriteKeyType(writer, ((string)elementValue), trustConstants); 1028WSTrustSerializationHelper.WriteLifetime(writer, lifeTime, trustConstants); 1080WSTrustSerializationHelper.WriteRequestType(writer, (string)elementValue, trustConstants); 1464rstr.RequestType = WSTrustSerializationHelper.ReadRequestType(reader, trustConstants); 1470rstr.Lifetime = WSTrustSerializationHelper.ReadLifetime(reader, trustConstants); 1478rstr.RequestedSecurityToken = new RequestedSecurityToken(WSTrustSerializationHelper.ReadInnerXml(reader)); 1491rstr.AppliesTo = WSTrustSerializationHelper.ReadAppliesTo(reader, trustConstants); 1575rstr.KeyType = WSTrustSerializationHelper.ReadKeyType(reader, trustConstants); 1647rstr.BinaryExchange = WSTrustSerializationHelper.ReadBinaryExchange(reader, trustConstants); 1653rstr.Status = WSTrustSerializationHelper.ReadStatus(reader, trustConstants); 1890WSTrustSerializationHelper.WriteLifetime(writer, lifeTime, trustConstants); 1897WSTrustSerializationHelper.WriteAppliesTo(writer, appliesTo, trustConstants); 1978WSTrustSerializationHelper.WriteRequestType(writer, (string)elementValue, trustConstants); 1984WSTrustSerializationHelper.WriteKeyType(writer, (string)elementValue, trustConstants);