Thanks your time to help me clean up my confusion.
Say the following xml signature:
<Signature>
<SignedInfo>
....
<DigestValue>.....</DigestValue>
</SignedInfo>
<SignatureValue>....</SignatureValue>
<KeyInfo>
<X509Data>
<X509Certificate>....</X509Certificate>
</X509Data>
</KeyInfo>
</Signature>
If I changed the message totally, have my own DigestValue, and have my
own SignatureValue, and send my own X509Certificate with
only the DN name to be the same as original sender.
How does receiver tell the message was changed?
Thanks.
I think the way around this is to either make sure the Certificate Authority
doesn't issue more than one certificate with the same X.500 Distinguished
Name or have the service know which certificate (or associated public key )
it's expecting for a given X.500 Distinguished Name (the latter is somewhat
problematic in terms of deployment as it would mean installing the sender
certificate on the service in advance ).
Gudge
"jacksu" <jack...@gmail.com> wrote in message
news:1125686812.8...@g49g2000cwa.googlegroups.com...