116 references to ID
WindowsBase (116)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
165
if (String.CompareOrdinal(dataObject.Id, XTable.Get(XTable.
ID
.OpcAttrValue)) != 0)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (10)
501
|| (String.CompareOrdinal(transformName, XTable.Get(XTable.
ID
.RelationshipsTransformName)) == 0))
550
writer.WriteStartElement(XTable.Get(XTable.
ID
.RelationshipsTagName), PackagingUtilities.RelationshipNamespaceUri);
702
(String.CompareOrdinal(node.LocalName, XTable.Get(XTable.
ID
.SignatureTagName)) != 0))
842
Reference objectReference = new Reference(XTable.Get(XTable.
ID
.OpcLinkAttrValue));
843
objectReference.Type = XTable.Get(XTable.
ID
.W3CSignatureNamespaceRoot) + "Object";
1074
string signaturePropertiesTagName = XTable.Get(XTable.
ID
.SignaturePropertiesTagName);
1075
string manifestTagName = XTable.Get(XTable.
ID
.ManifestTagName);
1126
String opcId = XTable.Get(XTable.
ID
.OpcAttrValue);
1184
dataObject.Id = XTable.Get(XTable.
ID
.OpcAttrValue);
1257
if (String.CompareOrdinal(currentReference.Uri, XTable.Get(XTable.
ID
.OpcLinkAttrValue)) == 0)
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (40)
128
string referenceTagName = XTable.Get(XTable.
ID
.ReferenceTagName);
178
hashAlgorithm = reader.GetAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
224
string uriAttrValue = reader.GetAttribute(XTable.Get(XTable.
ID
.UriAttrName));
233
throw new XmlException(SR.Get(SRID.RequiredXmlAttributeMissing, XTable.Get(XTable.
ID
.UriAttrName)));
271
String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.DigestMethodTagName)) == 0)
279
String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.DigestValueTagName)) == 0)
287
String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.TransformsTagName)) == 0)
344
|| String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.TransformTagName)) != 0)
352
transformName = reader.GetAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
359
if (String.CompareOrdinal(transformName, XTable.Get(XTable.
ID
.RelationshipsTransformName)) == 0)
432
&& (String.CompareOrdinal(reader.NamespaceURI, XTable.Get(XTable.
ID
.OpcSignatureNamespace)) == 0))
435
if (String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.RelationshipReferenceTagName)) == 0)
439
string id = reader.GetAttribute(XTable.Get(XTable.
ID
.SourceIdAttrName));
450
else if ((String.CompareOrdinal(reader.LocalName, XTable.Get(XTable.
ID
.RelationshipsGroupReferenceTagName)) == 0))
453
string type = reader.GetAttribute(XTable.Get(XTable.
ID
.SourceTypeAttrName));
499
XTable.Get(XTable.
ID
.ManifestTagName),
577
xmlE.SetAttribute(XTable.Get(XTable.
ID
.OpcSignatureNamespaceAttribute),
578
XTable.Get(XTable.
ID
.OpcSignatureNamespace));
652
XmlElement reference = xDoc.CreateElement(XTable.Get(XTable.
ID
.ReferenceTagName), SignedXml.XmlDsigNamespaceUrl);
662
XmlAttribute uriAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.UriAttrName));
669
XmlElement transforms = xDoc.CreateElement(XTable.Get(XTable.
ID
.TransformsTagName), SignedXml.XmlDsigNamespaceUrl);
672
String opcNamespace = XTable.Get(XTable.
ID
.OpcSignatureNamespace);
673
String opcNamespacePrefix = XTable.Get(XTable.
ID
.OpcSignatureNamespacePrefix);
675
XmlElement transform = xDoc.CreateElement(XTable.Get(XTable.
ID
.TransformTagName), SignedXml.XmlDsigNamespaceUrl);
676
XmlAttribute algorithmAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
677
algorithmAttr.Value = XTable.Get(XTable.
ID
.RelationshipsTransformName);
688
XmlNode relationshipNode = xDoc.CreateElement(opcNamespacePrefix, XTable.Get(XTable.
ID
.RelationshipReferenceTagName), opcNamespace);
689
XmlAttribute idAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.SourceIdAttrName));
697
XmlNode relationshipNode = xDoc.CreateElement(opcNamespacePrefix, XTable.Get(XTable.
ID
.RelationshipsGroupReferenceTagName), opcNamespace);
698
XmlAttribute typeAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.SourceTypeAttrName));
726
transform = xDoc.CreateElement(XTable.Get(XTable.
ID
.TransformTagName), SignedXml.XmlDsigNamespaceUrl);
727
algorithmAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
756
XmlElement reference = xDoc.CreateElement(XTable.Get(XTable.
ID
.ReferenceTagName), SignedXml.XmlDsigNamespaceUrl);
759
XmlAttribute uriAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.UriAttrName));
770
XmlElement transforms = xDoc.CreateElement(XTable.Get(XTable.
ID
.TransformsTagName), SignedXml.XmlDsigNamespaceUrl);
773
XmlElement transform = xDoc.CreateElement(XTable.Get(XTable.
ID
.TransformTagName), SignedXml.XmlDsigNamespaceUrl);
774
XmlAttribute algorithmAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
799
XmlElement digestMethod = xDoc.CreateElement(XTable.Get(XTable.
ID
.DigestMethodTagName), SignedXml.XmlDsigNamespaceUrl);
800
XmlAttribute digestAlgorithmAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.AlgorithmAttrName));
809
XmlElement digestValue = xDoc.CreateElement(XTable.Get(XTable.
ID
.DigestValueTagName), SignedXml.XmlDsigNamespaceUrl);
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (21)
115
XmlElement signatureProperties = xDoc.CreateElement(XTable.Get(XTable.
ID
.SignaturePropertiesTagName),
119
XmlElement signatureProperty = xDoc.CreateElement(XTable.Get(XTable.
ID
.SignaturePropertyTagName),
122
XmlAttribute idAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.SignaturePropertyIdAttrName));
123
idAttr.Value = XTable.Get(XTable.
ID
.SignaturePropertyIdAttrValue);
125
XmlAttribute targetAttr = xDoc.CreateAttribute(XTable.Get(XTable.
ID
.TargetAttrName));
130
XmlElement signatureTime = xDoc.CreateElement(XTable.Get(XTable.
ID
.SignatureTimeTagName),
131
XTable.Get(XTable.
ID
.OpcSignatureNamespace));
132
XmlElement signatureTimeFormat = xDoc.CreateElement(XTable.Get(XTable.
ID
.SignatureTimeFormatTagName),
133
XTable.Get(XTable.
ID
.OpcSignatureNamespace));
134
XmlElement signatureTimeValue = xDoc.CreateElement(XTable.Get(XTable.
ID
.SignatureTimeValueTagName),
135
XTable.Get(XTable.
ID
.OpcSignatureNamespace));
166
string signaturePropertyTag = XTable.Get(XTable.
ID
.SignaturePropertyTagName);
167
string signaturePropertiesTag = XTable.Get(XTable.
ID
.SignaturePropertiesTagName);
247
string opcSignatureNameSpace = XTable.Get(XTable.
ID
.OpcSignatureNamespace);
248
string signaturePropertyTag = XTable.Get(XTable.
ID
.SignaturePropertyTagName);
249
string signatureTimeTag = XTable.Get(XTable.
ID
.SignatureTimeTagName);
250
string timeValueTagName = XTable.Get(XTable.
ID
.SignatureTimeValueTagName);
251
string timeFormatTagName = XTable.Get(XTable.
ID
.SignatureTimeFormatTagName);
417
string idAttrValue = reader.GetAttribute(XTable.Get(XTable.
ID
.SignaturePropertyIdAttrName));
420
&& (String.CompareOrdinal(idAttrValue,XTable.Get(XTable.
ID
.SignaturePropertyIdAttrValue)) == 0))
434
string idTargetValue = reader.GetAttribute(XTable.Get(XTable.
ID
.TargetAttrName));
Base\MS\Internal\IO\Packaging\XmlStringTable.cs (42)
33
internal static String Get(
ID
i)
36
Debug.Assert((int)
ID
._IllegalValue == _table.Length - 1, "ID enumeration should match TableEntry array - verify edits are matching");
37
Debug.Assert(i >=
ID
.OpcSignatureNamespace && i <
ID
._IllegalValue, "string index out of bounds");
93
internal XTable.
ID
id;
96
internal TableEntry(XTable.
ID
index, string str) { id = index; s = str; }
101
new TableEntry(
ID
.OpcSignatureNamespace, "http://schemas.openxmlformats.org/package/2006/digital-signature" ),
102
new TableEntry(
ID
.OpcSignatureNamespacePrefix, "opc" ),
103
new TableEntry(
ID
.OpcSignatureNamespaceAttribute, "xmlns:opc" ),
104
new TableEntry(
ID
.W3CSignatureNamespaceRoot, "http://www.w3.org/2000/09/xmldsig#" ),
105
new TableEntry(
ID
.RelationshipsTransformName, "http://schemas.openxmlformats.org/package/2006/RelationshipTransform" ),
107
new TableEntry(
ID
.SignatureTagName, "Signature" ),
108
new TableEntry(
ID
.OpcSignatureAttrValue, "SignatureIdValue" ),
109
new TableEntry(
ID
.SignedInfoTagName, "SignedInfo" ),
110
new TableEntry(
ID
.ReferenceTagName, "Reference" ),
112
new TableEntry(
ID
.SignatureMethodTagName, "SignatureMethod" ),
113
new TableEntry(
ID
.ObjectTagName, "Object" ),
114
new TableEntry(
ID
.KeyInfoTagName, "KeyInfo" ),
115
new TableEntry(
ID
.ManifestTagName, "Manifest" ),
116
new TableEntry(
ID
.TransformTagName, "Transform" ),
117
new TableEntry(
ID
.TransformsTagName, "Transforms" ),
118
new TableEntry(
ID
.AlgorithmAttrName, "Algorithm" ),
119
new TableEntry(
ID
.SourceIdAttrName, "SourceId" ),
120
new TableEntry(
ID
.OpcAttrValue, "idPackageObject" ),
121
new TableEntry(
ID
.OpcLinkAttrValue, "#idPackageObject" ),
122
new TableEntry(
ID
.TargetAttrName, "Target" ),
123
new TableEntry(
ID
.SignatureValueTagName, "SignatureValue" ),
124
new TableEntry(
ID
.UriAttrName, "URI" ),
125
new TableEntry(
ID
.DigestMethodTagName, "DigestMethod" ),
126
new TableEntry(
ID
.DigestValueTagName, "DigestValue" ),
127
new TableEntry(
ID
.SignaturePropertiesTagName, "SignatureProperties" ),
128
new TableEntry(
ID
.SignaturePropertyTagName, "SignatureProperty" ),
129
new TableEntry(
ID
.SignatureTimeTagName, "SignatureTime" ),
130
new TableEntry(
ID
.SignatureTimeFormatTagName, "Format" ),
131
new TableEntry(
ID
.SignatureTimeValueTagName, "Value" ),
132
new TableEntry(
ID
.RelationshipsTagName, "Relationships" ),
133
new TableEntry(
ID
.RelationshipReferenceTagName, "RelationshipReference" ),
134
new TableEntry(
ID
.RelationshipsGroupReferenceTagName, "RelationshipsGroupReference" ),
135
new TableEntry(
ID
.SourceTypeAttrName, "SourceType" ),
136
new TableEntry(
ID
.SignaturePropertyIdAttrName, "Id" ),
137
new TableEntry(
ID
.SignaturePropertyIdAttrValue, "idSignatureTime" ),
139
new TableEntry(
ID
._IllegalValue, "" ),
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (2)
397
return Sign(parts, certificate, relationshipSelectors, XTable.Get(XTable.
ID
.OpcSignatureAttrValue));
1013
if (String.CompareOrdinal(obj.Id, XTable.Get(XTable.
ID
.OpcAttrValue)) == 0)