W3C home > Mailing lists > Public > public-xmlsec@w3.org > March 2010

xml encryption questions

From: Frederick Hirsch <frederick.hirsch@nokia.com>
Date: Fri, 5 Mar 2010 14:50:21 -0500
Message-Id: <7B3CE0DE-A509-4C86-8561-1EE2FCCD6E16@nokia.com>
To: XMLSec WG Public List <public-xmlsec@w3.org>
Cc: Frederick Hirsch <frederick.hirsch@nokia.com>, Makoto MURATA <eb2m-mrt@asahi-net.or.jp>

I give answers to your questions on XML Encryption 1.1 [1]  below.

Magnus and WG members, can you please confirm I got this right,  
especially whether DHKeyValue can be used in both OriginatorKeyInfo  
and RecipientKeyInfo.

> Is http://www.w3.org/2001/04/xmlenc#DHKeyValue specified as a value of
> @Algorithm of the AgreementMethod element?  Or, is it always "used as
> the value of the Type attribute of Reference or ds:RetrievalMethod
> elements" (5.6.1)?

It is meant for the Type attribute as noted in 5.6.1.

The algorithm for the AgreementMethod is one of those listed in the  
table in 5.1.1,

	 optional Diffie-Hellman Key Agreement (Ephemeral-Static mode) with  
Legacy Key Derivation Function
	 optional Diffie-Hellman Key Agreement (Ephemeral-Static mode) with  
explicit Key Derivation Functions
	 required Elliptic Curve Diffie-Hellman (Ephemeral-Static mode)

> Where does the DHKeyValue element occur?  As a child of the
> AgreementMethod element?

DHKeyValue is a child of ds:KeyValue; child of OriginatorKeyInfo or  
RecpientKeyInfo, under  AgreementMethod,



> When http://www.w3.org/2001/04/xmlenc#DHKeyValue is specified as a  
> value
> of @Algorithm of the AgreementMethod element, what is permitted as
> paramaters other than OriginatorKeyInfo and RecipientKeyInfo?

I don't think it is used as the algorithm value, that would be one of  
the ones listed above in this email.

Do we need any additional clarifying text in the specification?

regards, Frederick

Frederick Hirsch

[1] http://www.w3.org/2008/xmlsec/Drafts/xmlenc-core-11/Overview.htm
Received on Friday, 5 March 2010 19:51:01 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:55:13 UTC