103 references to XmlSignatureConstants
System.IdentityModel (103)
System\IdentityModel\EnvelopedSignatureTransform.cs (2)
42
reader.XmlTokens.SetElementExclusion(
XmlSignatureConstants
.Elements.Signature,
XmlSignatureConstants
.Namespace, 1 );
System\IdentityModel\KeyInfo.cs (1)
59
if ( reader.IsStartElement(
XmlSignatureConstants
.Elements.RetrievalMethod, XD.XmlSignatureDictionary.Namespace.Value ) )
System\IdentityModel\Metadata\MetadataSerializer.cs (4)
998
if (reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace))
1043
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MetadataSerializationException(SR.GetString(SR.ID3200,
XmlSignatureConstants
.Elements.KeyInfo)));
2478
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new MetadataSerializationException(SR.GetString(SR.ID3203,
XmlSignatureConstants
.Elements.KeyInfo)));
System\IdentityModel\SignedXml.cs (6)
923
reader.MoveToStartElement(
XmlSignatureConstants
.Elements.SignedInfo,
XmlSignatureConstants
.Namespace);
953
effectiveReader.MoveToStartElement(
XmlSignatureConstants
.Elements.SignedInfo,
XmlSignatureConstants
.Namespace);
960
while (effectiveReader.IsStartElement(
XmlSignatureConstants
.Elements.Reference,
XmlSignatureConstants
.Namespace))
System\IdentityModel\Tokens\RsaSecurityTokenHandler.cs (20)
41
return reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace);
93
if (!dicReader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace))
99
XmlSignatureConstants
.Elements.KeyInfo,
100
XmlSignatureConstants
.Namespace,
107
if (!dicReader.IsStartElement(
XmlSignatureConstants
.Elements.KeyValue,
XmlSignatureConstants
.Namespace))
113
XmlSignatureConstants
.Elements.KeyValue,
114
XmlSignatureConstants
.Namespace,
226
writer.WriteStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace);
227
writer.WriteStartElement(
XmlSignatureConstants
.Elements.KeyValue,
XmlSignatureConstants
.Namespace);
232
writer.WriteStartElement(
XmlSignatureConstants
.Elements.RsaKeyValue,
XmlSignatureConstants
.Namespace);
234
writer.WriteStartElement(
XmlSignatureConstants
.Elements.Modulus,
XmlSignatureConstants
.Namespace);
240
writer.WriteStartElement(
XmlSignatureConstants
.Elements.Exponent,
XmlSignatureConstants
.Namespace);
System\IdentityModel\Tokens\Saml2SecurityTokenHandler.cs (2)
5324
while (reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace))
System\IdentityModel\Tokens\SamlSecurityTokenHandler.cs (2)
2359
if (reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace))
System\IdentityModel\Tokens\SecurityTokenSerializerAdapter.cs (4)
115
return (reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace));
132
if (reader.IsStartElement(
XmlSignatureConstants
.Elements.KeyInfo,
XmlSignatureConstants
.Namespace))
System\IdentityModel\Tokens\X509DataSecurityKeyIdentifierClauseSerializer.cs (56)
31
return reader.IsStartElement(
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace);
68
SR.GetString(SR.ID3032, reader.LocalName, reader.NamespaceURI,
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace));
74
dictionaryReader.ReadStartElement(
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace);
79
if (dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509IssuerSerial,
XmlSignatureConstants
.Namespace))
83
else if (dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509SKI,
XmlSignatureConstants
.Namespace))
87
else if (dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509Certificate,
XmlSignatureConstants
.Namespace))
127
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace);
128
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509IssuerSerial,
XmlSignatureConstants
.Namespace);
129
writer.WriteElementString(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509IssuerName,
XmlSignatureConstants
.Namespace, issuerSerialClause.IssuerName);
130
writer.WriteElementString(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509SerialNumber,
XmlSignatureConstants
.Namespace, issuerSerialClause.IssuerSerialNumber);
139
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace);
140
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509SKI,
XmlSignatureConstants
.Namespace);
167
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace);
168
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509Certificate,
XmlSignatureConstants
.Namespace);
186
dictionaryReader.ReadStartElement(
XmlSignatureConstants
.Elements.X509IssuerSerial,
XmlSignatureConstants
.Namespace);
188
if (!dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509IssuerName,
XmlSignatureConstants
.Namespace))
190
throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID3032, dictionaryReader.LocalName, dictionaryReader.NamespaceURI,
XmlSignatureConstants
.Elements.X509IssuerName,
XmlSignatureConstants
.Namespace));
193
string issuerName = dictionaryReader.ReadElementContentAsString(
XmlSignatureConstants
.Elements.X509IssuerName,
XmlSignatureConstants
.Namespace);
195
if (!dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509SerialNumber,
XmlSignatureConstants
.Namespace))
197
throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID3032, dictionaryReader.LocalName, dictionaryReader.NamespaceURI,
XmlSignatureConstants
.Elements.X509SerialNumber,
XmlSignatureConstants
.Namespace));
200
string serialNumber = dictionaryReader.ReadElementContentAsString(
XmlSignatureConstants
.Elements.X509SerialNumber,
XmlSignatureConstants
.Namespace);
217
throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID4258,
XmlSignatureConstants
.Elements.X509SKI,
XmlSignatureConstants
.Namespace));
253
while (dictionaryReader.IsStartElement(
XmlSignatureConstants
.Elements.X509Certificate,
XmlSignatureConstants
.Namespace))
260
throw DiagnosticUtility.ThrowHelperInvalidOperation(SR.GetString(SR.ID4258,
XmlSignatureConstants
.Elements.X509Certificate,
XmlSignatureConstants
.Namespace));
System\IdentityModel\Tokens\XmlDsigSep2000.cs (6)
324
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509Data,
XmlSignatureConstants
.Namespace );
325
writer.WriteStartElement(
XmlSignatureConstants
.Prefix,
XmlSignatureConstants
.Elements.X509SKI,
XmlSignatureConstants
.Namespace );