83 references to XmlDsigNamespaceUrl
Microsoft.Build.Tasks.Core (4)
ManifestUtil\mansign2.cs (4)
405nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 450nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 847nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 899XmlElement dsObject = licenseDom.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl);
Microsoft.DotNet.SignCheckLibrary (1)
Verification\XmlVerifier.cs (1)
47XmlNodeList signatureNodes = xmlDoc.GetElementsByTagName("Signature", SignedXml.XmlDsigNamespaceUrl);
System.Security.Cryptography.Xml (78)
System\Security\Cryptography\Xml\DataObject.cs (4)
115XmlElement objectElement = document.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl); 139_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 140_mimeType = Utils.GetAttribute(value, "MimeType", SignedXml.XmlDsigNamespaceUrl); 141_encoding = Utils.GetAttribute(value, "Encoding", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\DSAKeyValue.cs (12)
90XmlElement keyValueElement = xmlDocument.CreateElement(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 91XmlElement dsaKeyValueElement = xmlDocument.CreateElement(DSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 93XmlElement pElement = xmlDocument.CreateElement(PElementName, SignedXml.XmlDsigNamespaceUrl); 97XmlElement qElement = xmlDocument.CreateElement(QElementName, SignedXml.XmlDsigNamespaceUrl); 101XmlElement gElement = xmlDocument.CreateElement(GElementName, SignedXml.XmlDsigNamespaceUrl); 105XmlElement yElement = xmlDocument.CreateElement(YElementName, SignedXml.XmlDsigNamespaceUrl); 112XmlElement jElement = xmlDocument.CreateElement(JElementName, SignedXml.XmlDsigNamespaceUrl); 119XmlElement seedElement = xmlDocument.CreateElement(SeedElementName, SignedXml.XmlDsigNamespaceUrl); 123XmlElement counterElement = xmlDocument.CreateElement(PgenCounterElementName, SignedXml.XmlDsigNamespaceUrl); 153|| value.NamespaceURI != SignedXml.XmlDsigNamespaceUrl) 155throw new CryptographicException(SR.Format(SR.WrongRootElement, KeyValueElementName, SignedXml.XmlDsigNamespaceUrl)); 160xmlNamespaceManager.AddNamespace(xmlDsigNamespacePrefix, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedData.cs (1)
19nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
58nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedReference.cs (2)
100referenceElement.AppendChild(TransformChain.GetXml(document, SignedXml.XmlDsigNamespaceUrl)); 120nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfo.cs (2)
44XmlElement keyInfoElement = xmlDocument.CreateElement("KeyInfo", SignedXml.XmlDsigNamespaceUrl); 68_id = Utils.GetAttribute(keyInfoElement, "Id", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoName.cs (1)
46XmlElement nameElement = xmlDocument.CreateElement("KeyName", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoRetrievalMethod.cs (3)
56XmlElement retrievalMethodElement = xmlDocument.CreateElement("RetrievalMethod", SignedXml.XmlDsigNamespaceUrl); 70_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 71_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (9)
217XmlElement x509DataElement = xmlDocument.CreateElement("X509Data", SignedXml.XmlDsigNamespaceUrl); 223XmlElement issuerSerialElement = xmlDocument.CreateElement("X509IssuerSerial", SignedXml.XmlDsigNamespaceUrl); 224XmlElement issuerNameElement = xmlDocument.CreateElement("X509IssuerName", SignedXml.XmlDsigNamespaceUrl); 227XmlElement serialNumberElement = xmlDocument.CreateElement("X509SerialNumber", SignedXml.XmlDsigNamespaceUrl); 238XmlElement subjectKeyIdElement = xmlDocument.CreateElement("X509SKI", SignedXml.XmlDsigNamespaceUrl); 248XmlElement subjectNameElement = xmlDocument.CreateElement("X509SubjectName", SignedXml.XmlDsigNamespaceUrl); 258XmlElement x509Element = xmlDocument.CreateElement("X509Certificate", SignedXml.XmlDsigNamespaceUrl); 266XmlElement crlElement = xmlDocument.CreateElement("X509CRL", SignedXml.XmlDsigNamespaceUrl); 279nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Reference.cs (12)
170XmlElement referenceElement = document.CreateElement("Reference", SignedXml.XmlDsigNamespaceUrl); 183referenceElement.AppendChild(TransformChain.GetXml(document, SignedXml.XmlDsigNamespaceUrl)); 189XmlElement digestMethodElement = document.CreateElement("DigestMethod", SignedXml.XmlDsigNamespaceUrl); 200XmlElement digestValueElement = document.CreateElement("DigestValue", SignedXml.XmlDsigNamespaceUrl); 213_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 214_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 215_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl); 220nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 252string? algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 316_digestMethod = Utils.GetAttribute(digestMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl)!; 433if ((tempElem != null) && (Utils.HasAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)) 434&& (Utils.GetAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)!.Equals(idref)))
System\Security\Cryptography\Xml\RSAKeyValue.cs (7)
72XmlElement keyValueElement = xmlDocument.CreateElement(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 73XmlElement rsaKeyValueElement = xmlDocument.CreateElement(RSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 75XmlElement modulusElement = xmlDocument.CreateElement(ModulusElementName, SignedXml.XmlDsigNamespaceUrl); 79XmlElement exponentElement = xmlDocument.CreateElement(ExponentElementName, SignedXml.XmlDsigNamespaceUrl); 108|| value.NamespaceURI != SignedXml.XmlDsigNamespaceUrl) 110throw new CryptographicException(SR.Format(SR.WrongRootElement, KeyValueElementName, SignedXml.XmlDsigNamespaceUrl)); 115xmlNamespaceManager.AddNamespace(xmlDsigNamespacePrefix, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Signature.cs (5)
95XmlElement signatureElement = (XmlElement)document.CreateElement("Signature", SignedXml.XmlDsigNamespaceUrl); 109XmlElement signatureValueElement = document.CreateElement("SignatureValue", SignedXml.XmlDsigNamespaceUrl); 144_id = Utils.GetAttribute(signatureElement, "Id", SignedXml.XmlDsigNamespaceUrl); 149nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 169_signatureValueId = Utils.GetAttribute(signatureValueElement, "Id", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\SignedInfo.cs (7)
167XmlElement signedInfoElement = document.CreateElement("SignedInfo", SignedXml.XmlDsigNamespaceUrl); 179XmlElement signatureMethodElement = document.CreateElement("SignatureMethod", SignedXml.XmlDsigNamespaceUrl); 184XmlElement hmacLengthElement = document.CreateElement(null, "HMACOutputLength", SignedXml.XmlDsigNamespaceUrl); 215nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 219_id = Utils.GetAttribute(signedInfoElement, "Id", SignedXml.XmlDsigNamespaceUrl); 229_canonicalizationMethod = Utils.GetAttribute(canonicalizationMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 242_signatureMethod = Utils.GetAttribute(signatureMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\Transform.cs (1)
130XmlElement transformElement = document.CreateElement(name, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\TransformChain.cs (2)
177nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 187string? algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
122XmlElement element = document.CreateElement("Transform", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (3)
89_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 101_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 111_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigExcC14NTransform.cs (3)
57Utils.HasAttribute(e, "PrefixList", SignedXml.XmlDsigNamespaceUrl)) 63this.InclusiveNamespacesPrefixList = Utils.GetAttribute(e, "PrefixList", SignedXml.XmlDsigNamespaceUrl); 99XmlElement element = document.CreateElement("Transform", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigXPathTransform.cs (1)
89XmlElement element = document.CreateElement(null, "XPath", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlLicenseTransform.cs (1)
138_namespaceManager.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl);