23 references to Elements
System.IdentityModel (23)
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (8)
517
throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(SR.ID3061, WSSE.
Elements
.SecurityTokenReference, WSSE.Namespace));
571
if (reader.IsStartElement(WSSE.
Elements
.Reference, WSSE.Namespace))
577
if (!reader.IsStartElement(WSSE.
Elements
.KeyIdentifier, WSSE.Namespace))
579
reader.ReadStartElement(WSSE.
Elements
.KeyIdentifier, WSSE.Namespace);
586
throw DiagnosticUtility.ThrowHelperXml(reader, SR.GetString(SR.ID0001, WSSE.Attributes.ValueType, WSSE.
Elements
.KeyIdentifier));
689
writer.WriteStartElement(WSSE.
Elements
.SecurityTokenReference, WSSE.Namespace);
711
writer.WriteStartElement(WSSE.
Elements
.KeyIdentifier, WSSE.Namespace);
854
if (!reader.IsStartElement(WSSE.
Elements
.SecurityTokenReference, WSSE.Namespace))
System\IdentityModel\Tokens\UserNameSecurityTokenHandler.cs (10)
53
return reader.IsStartElement(WSSecurity10Constants.
Elements
.UsernameToken, WSSecurity10Constants.Namespace);
109
WSSecurity10Constants.
Elements
.Username,
122
reader.ReadStartElement(WSSecurity10Constants.
Elements
.UsernameToken, WSSecurity10Constants.Namespace);
125
if (reader.IsStartElement(WSSecurity10Constants.
Elements
.Username, WSSecurity10Constants.Namespace))
129
else if (reader.IsStartElement(WSSecurity10Constants.
Elements
.Password, WSSecurity10Constants.Namespace))
139
else if (reader.IsStartElement(WSSecurity10Constants.
Elements
.Nonce, WSSecurity10Constants.Namespace))
151
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(SR.GetString(SR.ID4060, reader.LocalName, reader.NamespaceURI, WSSecurity10Constants.
Elements
.UsernameToken, WSSecurity10Constants.Namespace)));
195
WSSecurity10Constants.
Elements
.UsernameToken,
209
WSSecurity10Constants.
Elements
.Username,
218
WSSecurity10Constants.
Elements
.Password,
System\IdentityModel\Tokens\X509SecurityTokenHandler.cs (5)
356
if (reader.IsStartElement(WSSecurity10Constants.
Elements
.BinarySecurityToken, WSSecurity10Constants.Namespace))
427
if (!dicReader.IsStartElement(WSSecurity10Constants.
Elements
.BinarySecurityToken, WSSecurity10Constants.Namespace))
433
WSSecurity10Constants.
Elements
.BinarySecurityToken,
447
WSSecurity10Constants.
Elements
.BinarySecurityToken,
659
writer.WriteStartElement(WSSecurity10Constants.
Elements
.BinarySecurityToken, WSSecurity10Constants.Namespace);