有没有办法用 X.509 签署 Xml 文档?我一直在寻找整个互联网,但似乎不可能用 x.509 签署 xml 文档?
<Signaturexmlns="http://www.w3.org/2000/09/xmldsig#">
<SignedInfo>
<CanonicalizationMethodAlgorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
<SignatureMethodAlgorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1"/>
<ReferenceURI="#nana">
<Transforms>
<TransformAlgorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature"/>
<TransformAlgorithm="http://www.w3.org/2001/10/xml-exc-c14n#"/>
</Transforms>
<DigestMethodAlgorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
<DigestValue>VItfxY/A1BITZ/BuWpsGd9gKix4=</DigestValue>
</Reference>
</SignedInfo>
<SignatureValue>0+5U........ many numbers and character.....
</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>MIIEyDCCA7CgAwIBAgIEPssQ2TANBgkqhkiG9w0BAQUFADArMQswCQYDVQQGEwJI
UjENMAsGA1UEChMERklOQTENMAsGA1UECxMEREVNTzAeFw0xMjA5MjcxMDQ5MThaFw0xNDA5Mjc
xMTE5MThaMFkxCGjB623/kdW
.......
</X509Certificate>
<X509IssuerSerial>
<X509IssuerName>blablabla</X509IssuerName>
<X509SerialNumber>1054324313</X509SerialNumber>
</X509IssuerSerial>
</X509Data>
</KeyInfo>
</Signature>