Как я могу проверить подпись типа Enveloping в C #, чтобы проверить правильность подписи, когда она поступит, как показано ниже.
<Signature xmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethod Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
<SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<Reference URI="">
<Transforms>
<Transform Algorithm="http://www.w3.org/TR/2001/REC-xml-c14n-20010315"/>
</Transforms>
<DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>2jmj7l5rSw0yVb/..../YBwk=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>SCMFeaAf3g+...../uLXdNe09/4hd37Kffc44n565V3X3+4oLvzv9O+r3fY97kwBWFLBALgZ+kfkzBJvBypqJYS01vsEq6TXK7KYXdbg307KCVT+pxcUrfDOAQXqAp8Ej7leXL2FG+kJouvNPlNNkLfNPj1MG9okHaoIQ4mQaXXGopXQf7MojOFbZT2JTI7p9omASCWcrCQFSa7O0yaU1yf5xLzQ==</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIDcTCCAlkCBFrXpLMwDQYJKoZIhvcNAQELBQAwfTELMAkGA1UEBhMCQk8xEzARBgNVBAgMClNhbnRhIENydXoxEzAR..ZXJhdGl2YS5jb20xFDASBgNVBAMMC2Nvb3BlcmF0aXZhMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAshIm9nrikvNKXoP2XQ3/xIRs9nuVOB0pcaZg9Q+PZHJz/dIluCP1ZknHk/eQywNjpDt8X8sKaIqqr+JDPqkNJHKbuy+PNxfQQpUEWkPEW3pToJIR7B6HZHZ5h4349M+7+e8blErti9uPrg6ikhN+bJLfSvyLgW4FFGU2jHvUOx1mTUbseoHXrQ1BJdSH2tzr5Ht3QB1KZ4h4LxOAey1tF63UHTwA5BGFDpE4/9U5d9YDSnlHXiSu54PNuMKW8uAiZhLROaA2AZIqcpE/zfizFJDoZ8QK95XUZsztf+hpiq0iCLY6Zte40SbRJ2GxLQS0m+Rs102DooM+bkNyj/C00wIDAQABMA0GCSqGSIb3DQEBCwUAA4IBAQCn2voBI4m2afjloV6qEgm3OqDdTwNXEQOH2KlHYkGf01XBAlBYVnVZ3iGt+xEfGCMbdaq5rggreykojM69LrFcxwB8sjHL7vdlT5VCTC+SWLENV4nz5vM41PUolrBAHKDKW9WO9glpCTm88GAgYMgxvHrAFomPxykbaPYBGvW1ngai52pxg2EPK6Y+RKesiL9A9Er1EzghBIi7ECgvB/ebuMWFlCSKlrw5pS4WaOQqhwgD1jN6KE/LoKFUOFSYvQCy7e3WozBIAAAQZ2Yo/g1igvC4UENiWgnkOrthu2OhxJYqVLFsL0dNak8tjtn+iOEvpFP7Z4IRmzoiahtmdwJL</X509Certificate>
</X509Data>
<KeyName>oad913</KeyName>
</KeyInfo>
<Object Id="01/08/2019 17:18:45">
<Data>
<RequestHeader>
...
</RequestHeader>
<RequestData>
...
</RequestData>
</Data>
</Object>
</Signature>
Примеры в следующей ссылке не работают для моего формат подписи
<Signature>....</Object></Signature>
https://docs.microsoft.com/en-us/dotnet/api/system.security.cryptography.xml.signedxml.signingkey?view=dotnet-plat-ext-3.1