81 references to WSTrust13Constants
System.IdentityModel (81)
System\IdentityModel\Protocols\WSTrust\WSTrust13ConstantsAdapter.cs (26)
20
NamespaceURI =
WSTrust13Constants
.NamespaceURI;
21
Prefix =
WSTrust13Constants
.Prefix;
104
private string keyWrapAlgorithm =
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm;
105
private string secondaryParameters =
WSTrust13Constants
.ElementNames.SecondaryParameters;
106
private string requestSecurityTokenResponseCollection =
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponseCollection;
107
private string validateTarget =
WSTrust13Constants
.ElementNames.ValidateTarget;
134
Cancel =
WSTrust13Constants
.Actions.Cancel;
135
CancelResponse =
WSTrust13Constants
.Actions.CancelResponse;
136
Issue =
WSTrust13Constants
.Actions.Issue;
137
IssueResponse =
WSTrust13Constants
.Actions.IssueResponse;
138
Renew =
WSTrust13Constants
.Actions.Renew;
139
RenewResponse =
WSTrust13Constants
.Actions.RenewResponse;
140
RequestSecurityContextToken =
WSTrust13Constants
.Actions.RequestSecurityContextToken;
141
RequestSecurityContextTokenCancel =
WSTrust13Constants
.Actions.RequestSecurityContextTokenCancel;
142
RequestSecurityContextTokenResponse =
WSTrust13Constants
.Actions.RequestSecurityContextTokenResponse;
143
RequestSecurityContextTokenResponseCancel =
WSTrust13Constants
.Actions.RequestSecurityContextTokenResponseCancel;
144
Validate =
WSTrust13Constants
.Actions.Validate;
145
ValidateResponse =
WSTrust13Constants
.Actions.ValidateResponse;
153
Psha1 =
WSTrust13Constants
.ComputedKeyAlgorithms.PSHA1;
161
Asymmetric =
WSTrust13Constants
.KeyTypes.Asymmetric;
162
Bearer =
WSTrust13Constants
.KeyTypes.Bearer;
163
Symmetric =
WSTrust13Constants
.KeyTypes.Symmetric;
171
Cancel =
WSTrust13Constants
.RequestTypes.Cancel;
172
Issue =
WSTrust13Constants
.RequestTypes.Issue;
173
Renew =
WSTrust13Constants
.RequestTypes.Renew;
174
Validate =
WSTrust13Constants
.RequestTypes.Validate;
System\IdentityModel\Protocols\WSTrust\WSTrust13RequestSerializer.cs (36)
67
if (reader.IsStartElement(
WSTrust13Constants
.ElementNames.SecondaryParameters,
WSTrust13Constants
.NamespaceURI))
73
if (reader.IsStartElement(
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI))
78
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI, rst.KeyWrapAlgorithm)));
84
if (reader.IsStartElement(
WSTrust13Constants
.ElementNames.ValidateTarget,
WSTrust13Constants
.NamespaceURI))
135
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WSTrustSerializationException(SR.GetString(SR.ID3135,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI, rst.KeyWrapAlgorithm)));
138
this.WriteXmlElement(writer,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm, rst.KeyWrapAlgorithm, rst, context);
143
this.WriteXmlElement(writer,
WSTrust13Constants
.ElementNames.SecondaryParameters, rst.SecondaryParameters, rst, context);
148
this.WriteXmlElement(writer,
WSTrust13Constants
.ElementNames.ValidateTarget, rst.ValidateTarget, rst, context);
212
if (StringComparer.Ordinal.Equals(elementName,
WSTrust13Constants
.ElementNames.SecondaryParameters))
218
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.ID2064,
WSTrust13Constants
.ElementNames.SecondaryParameters)));
227
writer.WriteStartElement(
WSTrust13Constants
.Prefix,
WSTrust13Constants
.ElementNames.SecondaryParameters,
WSTrust13Constants
.NamespaceURI);
243
if (StringComparer.Ordinal.Equals(elementName,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm))
245
writer.WriteElementString(
WSTrust13Constants
.Prefix,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI, (string)elementValue);
249
if (StringComparer.Ordinal.Equals(elementName,
WSTrust13Constants
.ElementNames.ValidateTarget))
255
throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("elementValue", SR.GetString(SR.ID3222,
WSTrust13Constants
.ElementNames.ValidateTarget,
WSTrust13Constants
.NamespaceURI, typeof(SecurityTokenElement), elementValue));
258
writer.WriteStartElement(
WSTrust13Constants
.Prefix,
WSTrust13Constants
.ElementNames.ValidateTarget,
WSTrust13Constants
.NamespaceURI);
292
return reader.IsStartElement(
WSTrust13Constants
.ElementNames.RequestSecurityToken,
WSTrust13Constants
.NamespaceURI);
321
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI))
330
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
331
WSTrust13Constants
.NamespaceURI,
336
WSTrust13Constants
.ElementNames.SecondaryParameters,
WSTrust13Constants
.NamespaceURI))
System\IdentityModel\Protocols\WSTrust\WSTrust13ResponseSerializer.cs (18)
36
if (reader.IsStartElement(
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponseCollection,
WSTrust13Constants
.NamespaceURI))
38
reader.ReadStartElement(
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponseCollection,
WSTrust13Constants
.NamespaceURI);
78
if (reader.IsStartElement(
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI))
117
this.WriteXmlElement(writer,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm, rstr.KeyWrapAlgorithm, rstr, context);
148
writer.WriteStartElement(
WSTrust13Constants
.Prefix,
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponseCollection,
WSTrust13Constants
.NamespaceURI);
191
if (StringComparer.Ordinal.Equals(elementName,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm))
193
writer.WriteElementString(
WSTrust13Constants
.Prefix,
WSTrust13Constants
.ElementNames.KeyWrapAlgorithm,
WSTrust13Constants
.NamespaceURI, (string)elementValue);
217
return reader.IsStartElement(
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponseCollection,
WSTrust13Constants
.NamespaceURI)
218
|| reader.IsStartElement(
WSTrust13Constants
.ElementNames.RequestSecurityTokenResponse,
WSTrust13Constants
.NamespaceURI);
System\IdentityModel\Protocols\WSTrust\WSTrustConstantsAdapter.cs (1)
111
else if (StringComparer.Ordinal.Equals(ns,
WSTrust13Constants
.NamespaceURI))