RE: Why isn't KeyInfo inside SignedInfo [Attn: Brian L.]

There has been some discussion on this in the past, see
the threads starting at 
for example.
I think though it would be timely if Brian summarized the answer
to the question again.  There has been a lot of traffic on the XML
list wondering why KeyInfo isn't signed.  
Brian, could you cross-post your answer to XML Encryption please.  If anyone
else would like to respond who's delved into the issue, that would be fine
Ed Simon 
Software Engineer, Entrust Technologies 
ph: (613) 247-2583 

-----Original Message-----
From: John Boyer []
Sent: Monday, August 28, 2000 8:04 PM
To: XML DSig
Subject: Why isn't KeyInfo inside SignedInfo

This might be a no-brainer at this point, but I just noticed that KeyInfo is
not inside SignedInfo.
Why is this?
It seems that during signature generation, all data within KeyInfo can be
filled in prior to generating the SignatureValue.  The signer chooses his
identity before the SignatureValue is created.
Otherwise, the material in KeyInfo would seem to be largely untrustworthy
even if our signatures validate.  After validation, we would have to dig up
the real information from the actual certificates just to be sure that all
of this identity information wasn't substituted on us by an attacker.  
On the other hand, perhaps it is done this way to force application
developers to obtain the information (like subject name) from the
certificate to avoid attacks from those who would generate a faulty
In which case, why bother breaking this information out into XML?
	 John Boyer
Development Team Leader,
Distributed Processing and XML 
PureEdge Solutions Inc. 
Creating Binding E-Commerce
v: 250-479-8334, ext. 143  f: 250-479-3772
1-888-517-2675    <> 	

Received on Tuesday, 29 August 2000 16:51:37 UTC