83 references to XmlDsigNamespaceUrl
Microsoft.Build.Tasks.Core (4)
ManifestUtil\mansign2.cs (4)
405nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 450nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 900nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 952XmlElement 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)
118XmlElement objectElement = document.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl); 145_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 146_mimeType = Utils.GetAttribute(value, "MimeType", SignedXml.XmlDsigNamespaceUrl); 147_encoding = Utils.GetAttribute(value, "Encoding", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\DSAKeyValue.cs (12)
96XmlElement keyValueElement = xmlDocument.CreateElement(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 97XmlElement dsaKeyValueElement = xmlDocument.CreateElement(DSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 99XmlElement pElement = xmlDocument.CreateElement(PElementName, SignedXml.XmlDsigNamespaceUrl); 103XmlElement qElement = xmlDocument.CreateElement(QElementName, SignedXml.XmlDsigNamespaceUrl); 107XmlElement gElement = xmlDocument.CreateElement(GElementName, SignedXml.XmlDsigNamespaceUrl); 111XmlElement yElement = xmlDocument.CreateElement(YElementName, SignedXml.XmlDsigNamespaceUrl); 118XmlElement jElement = xmlDocument.CreateElement(JElementName, SignedXml.XmlDsigNamespaceUrl); 125XmlElement seedElement = xmlDocument.CreateElement(SeedElementName, SignedXml.XmlDsigNamespaceUrl); 129XmlElement counterElement = xmlDocument.CreateElement(PgenCounterElementName, SignedXml.XmlDsigNamespaceUrl); 162|| value.NamespaceURI != SignedXml.XmlDsigNamespaceUrl) 164throw new CryptographicException(SR.Format(SR.WrongRootElement, KeyValueElementName, SignedXml.XmlDsigNamespaceUrl)); 169xmlNamespaceManager.AddNamespace(xmlDsigNamespacePrefix, SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedData.cs (1)
22nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedKey.cs (1)
61nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\EncryptedReference.cs (2)
100referenceElement.AppendChild(TransformChain.GetXml(document, SignedXml.XmlDsigNamespaceUrl)); 123nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfo.cs (2)
44XmlElement keyInfoElement = xmlDocument.CreateElement("KeyInfo", SignedXml.XmlDsigNamespaceUrl); 71_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); 73_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 74_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\KeyInfoX509Data.cs (9)
223XmlElement x509DataElement = xmlDocument.CreateElement("X509Data", SignedXml.XmlDsigNamespaceUrl); 229XmlElement issuerSerialElement = xmlDocument.CreateElement("X509IssuerSerial", SignedXml.XmlDsigNamespaceUrl); 230XmlElement issuerNameElement = xmlDocument.CreateElement("X509IssuerName", SignedXml.XmlDsigNamespaceUrl); 233XmlElement serialNumberElement = xmlDocument.CreateElement("X509SerialNumber", SignedXml.XmlDsigNamespaceUrl); 244XmlElement subjectKeyIdElement = xmlDocument.CreateElement("X509SKI", SignedXml.XmlDsigNamespaceUrl); 254XmlElement subjectNameElement = xmlDocument.CreateElement("X509SubjectName", SignedXml.XmlDsigNamespaceUrl); 264XmlElement x509Element = xmlDocument.CreateElement("X509Certificate", SignedXml.XmlDsigNamespaceUrl); 272XmlElement crlElement = xmlDocument.CreateElement("X509CRL", SignedXml.XmlDsigNamespaceUrl); 288nsm.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); 216_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 217_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 218_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl); 223nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 255string? algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 319_digestMethod = Utils.GetAttribute(digestMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl)!; 439if ((tempElem != null) && (Utils.HasAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)) 440&& (Utils.GetAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)!.Equals(idref)))
System\Security\Cryptography\Xml\RSAKeyValue.cs (7)
78XmlElement keyValueElement = xmlDocument.CreateElement(KeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 79XmlElement rsaKeyValueElement = xmlDocument.CreateElement(RSAKeyValueElementName, SignedXml.XmlDsigNamespaceUrl); 81XmlElement modulusElement = xmlDocument.CreateElement(ModulusElementName, SignedXml.XmlDsigNamespaceUrl); 85XmlElement exponentElement = xmlDocument.CreateElement(ExponentElementName, SignedXml.XmlDsigNamespaceUrl); 117|| value.NamespaceURI != SignedXml.XmlDsigNamespaceUrl) 119throw new CryptographicException(SR.Format(SR.WrongRootElement, KeyValueElementName, SignedXml.XmlDsigNamespaceUrl)); 124xmlNamespaceManager.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); 147_id = Utils.GetAttribute(signatureElement, "Id", SignedXml.XmlDsigNamespaceUrl); 152nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 172_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); 218nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 222_id = Utils.GetAttribute(signedInfoElement, "Id", SignedXml.XmlDsigNamespaceUrl); 232_canonicalizationMethod = Utils.GetAttribute(canonicalizationMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 245_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)
180nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 190string? algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDecryptionTransform.cs (1)
125XmlElement element = document.CreateElement("Transform", SignedXml.XmlDsigNamespaceUrl);
System\Security\Cryptography\Xml\XmlDsigEnvelopedSignatureTransform.cs (3)
89_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 104_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 117_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);