4 types derived from SignedXml
System.Core (1)
System\Security\Cryptography\Xml\ManifestSignedXml.cs (1)
26internal sealed class ManifestSignedXml : SignedXml {
System.Windows.Forms (2)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (1)
256internal class ManifestSignedXml : SignedXml {
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (1)
35internal class ManifestSignedXml2 : SignedXml
WindowsBase (1)
Base\MS\Internal\IO\Packaging\CustomSignedXml.cs (1)
32internal class CustomSignedXml : SignedXml
221 references to SignedXml
System.Core (4)
System\Security\Cryptography\Xml\ManifestSignedXml.cs (4)
42m_namespaceManager.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 623String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) == 0 && 624String.Compare(transforms[1].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0; 630String.Compare(transforms[0].Algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) == 0;
System.IdentityModel (12)
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (12)
196case SignedXml.XmlDsigDSAUrl: 203case SignedXml.XmlDsigRSASHA1Url: 223case SignedXml.XmlDsigDSAUrl: 229case SignedXml.XmlDsigRSASHA1Url: 270case SignedXml.XmlDsigDSAUrl: 271case SignedXml.XmlDsigRSASHA1Url: 319case SignedXml.XmlDsigDSAUrl: 327case SignedXml.XmlDsigRSASHA1Url: 386case SignedXml.XmlDsigDSAUrl: 394case SignedXml.XmlDsigRSASHA1Url: 498case SignedXml.XmlDsigDSAUrl: 501case SignedXml.XmlDsigRSASHA1Url:
System.IdentityModel.Selectors (5)
infocard\client\System\IdentityModel\Selectors\InfoCardAsymmetricCrypto.cs (5)
70case SignedXml.XmlDsigRSASHA1Url: 91case SignedXml.XmlDsigRSASHA1Url: 109case SignedXml.XmlDsigRSASHA1Url: 128case SignedXml.XmlDsigRSASHA1Url: 198case SignedXml.XmlDsigRSASHA1Url:
System.Security (140)
system\security\cryptography\dataprotector.cs (1)
190if (!SignedXml.CryptographicEquals(hashedPurpose, plainTextWithHashedPurpose, hashedPurpose.Length))
system\security\cryptography\xml\dataobject.cs (4)
112XmlElement objectElement = document.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl); 134m_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 135m_mimeType = Utils.GetAttribute(value, "MimeType", SignedXml.XmlDsigNamespaceUrl); 136m_encoding = Utils.GetAttribute(value, "Encoding", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\encrypteddata.cs (1)
31nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\encryptedkey.cs (1)
74nsm.AddNamespace("ds",SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\encryptedreference.cs (2)
101referenceElement.AppendChild(this.TransformChain.GetXml(document, SignedXml.XmlDsigNamespaceUrl)); 115nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\encryptedxml.cs (1)
298return SignedXml.DefaultGetIdElement(document, idValue);
system\security\cryptography\xml\keyinfo.cs (28)
55XmlElement keyInfoElement = xmlDocument.CreateElement("KeyInfo", SignedXml.XmlDsigNamespaceUrl); 75m_id = Utils.GetAttribute(keyInfoElement, "Id", SignedXml.XmlDsigNamespaceUrl); 201XmlElement nameElement = xmlDocument.CreateElement("KeyName", SignedXml.XmlDsigNamespaceUrl); 252XmlElement keyValueElement = xmlDocument.CreateElement("KeyValue", SignedXml.XmlDsigNamespaceUrl); 253XmlElement dsaKeyValueElement = xmlDocument.CreateElement("DSAKeyValue", SignedXml.XmlDsigNamespaceUrl); 255XmlElement pElement = xmlDocument.CreateElement("P", SignedXml.XmlDsigNamespaceUrl); 259XmlElement qElement = xmlDocument.CreateElement("Q", SignedXml.XmlDsigNamespaceUrl); 263XmlElement gElement = xmlDocument.CreateElement("G", SignedXml.XmlDsigNamespaceUrl); 267XmlElement yElement = xmlDocument.CreateElement("Y", SignedXml.XmlDsigNamespaceUrl); 273XmlElement jElement = xmlDocument.CreateElement("J", SignedXml.XmlDsigNamespaceUrl); 279XmlElement seedElement = xmlDocument.CreateElement("Seed", SignedXml.XmlDsigNamespaceUrl); 283XmlElement counterElement = xmlDocument.CreateElement("PgenCounter", SignedXml.XmlDsigNamespaceUrl); 340XmlElement keyValueElement = xmlDocument.CreateElement("KeyValue", SignedXml.XmlDsigNamespaceUrl); 341XmlElement rsaKeyValueElement = xmlDocument.CreateElement("RSAKeyValue", SignedXml.XmlDsigNamespaceUrl); 343XmlElement modulusElement = xmlDocument.CreateElement("Modulus", SignedXml.XmlDsigNamespaceUrl); 347XmlElement exponentElement = xmlDocument.CreateElement("Exponent", SignedXml.XmlDsigNamespaceUrl); 408XmlElement retrievalMethodElement = xmlDocument.CreateElement("RetrievalMethod",SignedXml.XmlDsigNamespaceUrl); 423m_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 424m_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl); 662XmlElement x509DataElement = xmlDocument.CreateElement("X509Data", SignedXml.XmlDsigNamespaceUrl); 666XmlElement issuerSerialElement = xmlDocument.CreateElement("X509IssuerSerial", SignedXml.XmlDsigNamespaceUrl); 667XmlElement issuerNameElement = xmlDocument.CreateElement("X509IssuerName", SignedXml.XmlDsigNamespaceUrl); 670XmlElement serialNumberElement = xmlDocument.CreateElement("X509SerialNumber", SignedXml.XmlDsigNamespaceUrl); 679XmlElement subjectKeyIdElement = xmlDocument.CreateElement("X509SKI", SignedXml.XmlDsigNamespaceUrl); 687XmlElement subjectNameElement = xmlDocument.CreateElement("X509SubjectName", SignedXml.XmlDsigNamespaceUrl); 695XmlElement x509Element = xmlDocument.CreateElement("X509Certificate", SignedXml.XmlDsigNamespaceUrl); 702XmlElement crlElement = xmlDocument.CreateElement("X509CRL", SignedXml.XmlDsigNamespaceUrl); 715nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\reference.cs (18)
45private SignedXml m_signedXml = null; 57m_digestMethod = SignedXml.XmlDsigDigestDefault; 65m_digestMethod = SignedXml.XmlDsigDigestDefault; 74m_digestMethod = SignedXml.XmlDsigDigestDefault; 82m_digestMethod = SignedXml.XmlDsigDigestDefault; 145internal SignedXml SignedXml { 170XmlElement referenceElement = document.CreateElement("Reference", SignedXml.XmlDsigNamespaceUrl); 183referenceElement.AppendChild(this.TransformChain.GetXml(document, SignedXml.XmlDsigNamespaceUrl)); 189XmlElement digestMethodElement = document.CreateElement("DigestMethod", SignedXml.XmlDsigNamespaceUrl); 199XmlElement digestValueElement = document.CreateElement("DigestValue", SignedXml.XmlDsigNamespaceUrl); 210m_id = Utils.GetAttribute(value, "Id", SignedXml.XmlDsigNamespaceUrl); 211m_uri = Utils.GetAttribute(value, "URI", SignedXml.XmlDsigNamespaceUrl); 212m_type = Utils.GetAttribute(value, "Type", SignedXml.XmlDsigNamespaceUrl); 217nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 243string algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 280m_digestMethod = Utils.GetAttribute(digestMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 386if ((tempElem != null) && (Utils.HasAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl)) 387&& (Utils.GetAttribute(tempElem, "Id", SignedXml.XmlDsigNamespaceUrl).Equals(idref))) {
system\security\cryptography\xml\signature.cs (7)
30private SignedXml m_signedXml = null; 32internal SignedXml SignedXml { 99XmlElement signatureElement = (XmlElement)document.CreateElement("Signature", SignedXml.XmlDsigNamespaceUrl); 113XmlElement signatureValueElement = document.CreateElement("SignatureValue", SignedXml.XmlDsigNamespaceUrl); 145m_id = Utils.GetAttribute(signatureElement, "Id", SignedXml.XmlDsigNamespaceUrl); 150nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 170m_signatureValueId = Utils.GetAttribute(signatureValueElement, "Id", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\signedinfo.cs (10)
31private SignedXml m_signedXml = null; 34internal SignedXml SignedXml { 83return SignedXml.XmlDsigC14NTransformUrl; 151XmlElement signedInfoElement = document.CreateElement("SignedInfo", SignedXml.XmlDsigNamespaceUrl); 163XmlElement signatureMethodElement = document.CreateElement("SignatureMethod", SignedXml.XmlDsigNamespaceUrl); 167XmlElement hmacLengthElement = document.CreateElement(null, "HMACOutputLength", SignedXml.XmlDsigNamespaceUrl); 197nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 201m_id = Utils.GetAttribute(signedInfoElement, "Id", SignedXml.XmlDsigNamespaceUrl); 211m_canonicalizationMethod = Utils.GetAttribute(canonicalizationMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 224m_signatureMethod = Utils.GetAttribute(signatureMethodElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl);
system\security\cryptography\xml\signedxml.cs (9)
51private Func<SignedXml, bool> m_signatureFormatValidator = DefaultSignatureFormatValidator; 162public Func<SignedXml, bool> SignatureFormatValidator { 413SignedInfo.SignatureMethod = SignedXml.XmlDsigHMACSHA1Url; 416SignedInfo.SignatureMethod = SignedXml.XmlDsigMoreHMACSHA256Url; 419SignedInfo.SignatureMethod = SignedXml.XmlDsigMoreHMACSHA384Url; 422SignedInfo.SignatureMethod = SignedXml.XmlDsigMoreHMACSHA512Url; 425SignedInfo.SignatureMethod = SignedXml.XmlDsigMoreHMACMD5Url; 428SignedInfo.SignatureMethod = SignedXml.XmlDsigMoreHMACRIPEMD160Url; 575private static bool DefaultSignatureFormatValidator(SignedXml signedXml) {
system\security\cryptography\xml\SignedXmlDebugLog.cs (23)
277internal static void LogBeginCanonicalization(SignedXml signedXml, Transform canonicalizationTransform) { 309internal static void LogBeginCheckSignatureFormat(SignedXml signedXml, Func<SignedXml, bool> formatValidator) { 330internal static void LogBeginCheckSignedInfo(SignedXml signedXml, SignedInfo signedInfo) { 347internal static void LogBeginSignatureComputation(SignedXml signedXml, XmlElement context) { 374internal static void LogBeginSignatureVerification(SignedXml signedXml, XmlElement context) { 401internal static void LogCanonicalizedOutput(SignedXml signedXml, Transform canonicalizationTransform) { 423internal static void LogFormatValidationResult(SignedXml signedXml, bool result) { 439internal static void LogUnsafeCanonicalizationMethod(SignedXml signedXml, string algorithm, IEnumerable<string> validAlgorithms) { 471SignedXml signedXml, 512internal static void LogNamespacePropagation(SignedXml signedXml, XmlNodeList namespaces) { 589internal static void LogSigning(SignedXml signedXml, 621internal static void LogSigning(SignedXml signedXml, KeyedHashAlgorithm key) { 642internal static void LogSigningReference(SignedXml signedXml, Reference reference) { 670internal static void LogVerificationFailure(SignedXml signedXml, string failureLocation) { 689internal static void LogVerificationResult(SignedXml signedXml, object key, bool verified) { 713internal static void LogVerifyKeyUsage(SignedXml signedXml, X509Certificate certificate, X509KeyUsageExtension keyUsages) { 736internal static void LogVerifyReference(SignedXml signedXml, Reference reference) { 762internal static void LogVerifyReferenceHash(SignedXml signedXml, 800internal static void LogVerifySignedInfo(SignedXml signedXml, 846internal static void LogVerifySignedInfo(SignedXml signedXml, 882internal static void LogVerifyX509Chain(SignedXml signedXml, X509Chain chain, X509Certificate certificate) { 964internal static void LogSignedXmlRecursionLimit(SignedXml signedXml,
system\security\cryptography\xml\transform.cs (35)
170nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 179string algorithm = Utils.GetAttribute(transformElement, "Algorithm", SignedXml.XmlDsigNamespaceUrl); 196private SignedXml m_signedXml = null; 206internal SignedXml SignedXml { 282XmlElement transformElement = document.CreateElement(name, SignedXml.XmlDsigNamespaceUrl); 316SignedXml signedXml = (reference == null ? this.SignedXml : reference.SignedXml); 334SignedXml signedXml = (reference == null ? this.SignedXml : reference.SignedXml); 375Algorithm = SignedXml.XmlDsigC14NTransformUrl; 380Algorithm = (includeComments ? SignedXml.XmlDsigC14NWithCommentsTransformUrl : SignedXml.XmlDsigC14NTransformUrl); 438Algorithm = SignedXml.XmlDsigC14NWithCommentsTransformUrl; 463Algorithm = (includeComments ? SignedXml.XmlDsigExcC14NWithCommentsTransformUrl : SignedXml.XmlDsigExcC14NTransformUrl); 485&& e.NamespaceURI.Equals(SignedXml.XmlDsigExcC14NTransformUrl) && 486Utils.HasAttribute(e, "PrefixList", SignedXml.XmlDsigNamespaceUrl)) { 490this.InclusiveNamespacesPrefixList = Utils.GetAttribute(e, "PrefixList", SignedXml.XmlDsigNamespaceUrl); 519XmlElement element = document.CreateElement("Transform", SignedXml.XmlDsigNamespaceUrl); 522XmlElement prefixListElement = document.CreateElement("InclusiveNamespaces", SignedXml.XmlDsigExcC14NTransformUrl); 546Algorithm = SignedXml.XmlDsigExcC14NWithCommentsTransformUrl; 550Algorithm = SignedXml.XmlDsigExcC14NWithCommentsTransformUrl; 562Algorithm = SignedXml.XmlDsigBase64TransformUrl; 669Algorithm = SignedXml.XmlDsigXPathTransformUrl; 724XmlElement element = document.CreateElement(null, "XPath", SignedXml.XmlDsigNamespaceUrl); 826Algorithm = SignedXml.XmlDsigXsltTransformUrl; 831Algorithm = SignedXml.XmlDsigXsltTransformUrl; 954Algorithm = SignedXml.XmlDsigEnvelopedSignatureTransformUrl; 960Algorithm = SignedXml.XmlDsigEnvelopedSignatureTransformUrl; 1007_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 1019_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 1028_nsm.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl); 1116Algorithm = SignedXml.XmlDecryptionTransformUrl; 1143SignedXml signedXml = (reference == null ? this.SignedXml : reference.SignedXml); 1197XmlElement element = document.CreateElement("Transform", SignedXml.XmlDsigNamespaceUrl); 1339Algorithm = SignedXml.XmlLicenseTransformUrl; 1448namespaceManager.AddNamespace("dsig", SignedXml.XmlDsigNamespaceUrl);
System.Windows.Forms (27)
parent\parent\parent\public\Internal\NDP\Inc\mansign.cs (13)
348nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 405else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 412else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) { 444else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) { 503nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 709nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 771nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 814nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 863nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 976signedXml.SignedInfo.CanonicalizationMethod = SignedXml.XmlDsigExcC14NTransformUrl; 1025nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1051XmlElement dsObject = licenseDom.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl); 1079signedXml.SignedInfo.CanonicalizationMethod = SignedXml.XmlDsigExcC14NTransformUrl;
parent\parent\parent\public\Internal\NDP\Inc\mansign2.cs (14)
158nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 231nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 309nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 650else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 659else if (String.Compare(algorithm, SignedXml.XmlDsigEnvelopedSignatureTransformUrl, StringComparison.Ordinal) != 0) 698else if (String.Compare(algorithm, SignedXml.XmlDsigExcC14NTransformUrl, StringComparison.Ordinal) != 0) 1334nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1405nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1450nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1554nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1715signedXml.SignedInfo.CanonicalizationMethod = SignedXml.XmlDsigExcC14NTransformUrl; 1839nsm.AddNamespace("ds", SignedXml.XmlDsigNamespaceUrl); 1884XmlElement dsObject = licenseDom.CreateElement("Object", SignedXml.XmlDsigNamespaceUrl); 1927signedXml.SignedInfo.CanonicalizationMethod = SignedXml.XmlDsigExcC14NTransformUrl;
WindowsBase (33)
Base\MS\Internal\IO\Packaging\XmlDigitalSignatureProcessor.cs (11)
124SignedXml xmlSig = EnsureXmlSignatureParsed(); 606if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NTransformUrl) == 0) 610else if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NWithCommentsTransformUrl) == 0) 633if (String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NTransformUrl) == 0 || 634String.CompareOrdinal(transformName, SignedXml.XmlDsigC14NWithCommentsTransformUrl) == 0) 650private SignedXml EnsureXmlSignatureParsed() 701(String.CompareOrdinal(node.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0) || 851SignedXml xmlSig = _signedXml; 1071if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0) 1081&& (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) == 0) 1298private SignedXml _signedXml; // our format friend
Base\MS\Internal\IO\Packaging\XmlSignatureManifest.cs (15)
133if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) == 0 170|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 197|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 263if (String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 343|| String.CompareOrdinal(reader.NamespaceURI, SignedXml.XmlDsigNamespaceUrl) != 0 500SignedXml.XmlDsigNamespaceUrl); 652XmlElement reference = xDoc.CreateElement(XTable.Get(XTable.ID.ReferenceTagName), SignedXml.XmlDsigNamespaceUrl); 669XmlElement transforms = xDoc.CreateElement(XTable.Get(XTable.ID.TransformsTagName), SignedXml.XmlDsigNamespaceUrl); 675XmlElement transform = xDoc.CreateElement(XTable.Get(XTable.ID.TransformTagName), SignedXml.XmlDsigNamespaceUrl); 726transform = xDoc.CreateElement(XTable.Get(XTable.ID.TransformTagName), SignedXml.XmlDsigNamespaceUrl); 756XmlElement reference = xDoc.CreateElement(XTable.Get(XTable.ID.ReferenceTagName), SignedXml.XmlDsigNamespaceUrl); 770XmlElement transforms = xDoc.CreateElement(XTable.Get(XTable.ID.TransformsTagName), SignedXml.XmlDsigNamespaceUrl); 773XmlElement transform = xDoc.CreateElement(XTable.Get(XTable.ID.TransformTagName), SignedXml.XmlDsigNamespaceUrl); 799XmlElement digestMethod = xDoc.CreateElement(XTable.Get(XTable.ID.DigestMethodTagName), SignedXml.XmlDsigNamespaceUrl); 809XmlElement digestValue = xDoc.CreateElement(XTable.Get(XTable.ID.DigestValueTagName), SignedXml.XmlDsigNamespaceUrl);
Base\MS\Internal\IO\Packaging\XmlSignatureProperties.cs (3)
116SignedXml.XmlDsigNamespaceUrl); 120SignedXml.XmlDsigNamespaceUrl); 163string w3cSignatureNameSpace = SignedXml.XmlDsigNamespaceUrl;
Base\System\IO\Packaging\PackageDigitalSignatureManager.cs (4)
329return (BaseAppContextSwitches.UseSha1AsDefaultHashAlgorithmForDigitalSignatures) ? SignedXml.XmlDsigSHA1Url : _defaultHashAlgorithm; 354_transformDictionary[PackagingUtilities.RelationshipPartContentType.ToString()] = SignedXml.XmlDsigC14NTransformUrl; // relationship parts 355_transformDictionary[XmlDigitalSignatureProcessor.ContentType.ToString()] = SignedXml.XmlDsigC14NTransformUrl; // xml signature 1417private static readonly String _defaultHashAlgorithm = SignedXml.XmlDsigSHA256Url;