
From phoyer@actividentity.com  Wed Sep  2 07:29:33 2009
Return-Path: <phoyer@actividentity.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id A6DA33A690E for <keyprov@core3.amsl.com>; Wed,  2 Sep 2009 07:29:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.449
X-Spam-Level: 
X-Spam-Status: No, score=-0.449 tagged_above=-999 required=5 tests=[AWL=-1.600, BAYES_00=-2.599, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id nF6BNqltrCGf for <keyprov@core3.amsl.com>; Wed,  2 Sep 2009 07:29:32 -0700 (PDT)
Received: from frhub1.activcard.fr (frhub1.activcard.fr [91.151.120.133]) by core3.amsl.com (Postfix) with ESMTP id C4BBA28C53C for <keyprov@ietf.org>; Wed,  2 Sep 2009 07:29:18 -0700 (PDT)
Received: from sur-corp-ex-02.corp.ad.activcard.com (sur-corp-ex-02.corp.ad.activcard.com [192.168.33.40]) by frhub1.activcard.fr (Postfix) with ESMTP id 066A418393B; Wed,  2 Sep 2009 14:17:23 +0200 (CEST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA2BC7.642B3884"
Date: Wed, 2 Sep 2009 14:17:51 +0200
Message-ID: <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8=
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com>
From: "Philip Hoyer" <phoyer@actividentity.com>
To: "Pei, Mingliang" <mpei@verisign.com>, <Hannes.Tschofenig@gmx.net>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Salah Machani" <SMachani@DIVERSINET.COM>, "Sean Turner" <turners@ieca.com>
Cc: =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>, "Doherty, Andrea" <adoherty@rsa.com>, KEYPROV <keyprov@ietf.org>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 14:29:33 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA2BC7.642B3884
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ming and all,
=20
Please see questions and explanation of my perplexion below. Bear with =
me.
=20
Which MAC key for which example?
=20
My main concern are the PBE examples that you generated and the existing =
one forget for a moment the namsespace change.
=20
Following are some differences (highlighted in bold):
=20
SPEC ONE:
Lets start with an extract of the existing one in the spec:
=20
    <pskc:MACMethod=20
        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
        <pskc:MACKey>
            <xenc:EncryptionMethod=20
            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
            <xenc:CipherData>
                <xenc:CipherValue>
2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
                </xenc:CipherValue>
            </xenc:CipherData>
        </pskc:MACKey>
    </pskc:MACMethod>
=20
GENERATED ONE:
=20

<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

<pskc:MACKey>

<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

</xenc:EncryptionMethod>

<xenc:CipherData>

<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

</xenc:CipherData>

</pskc:MACKey>

</pskc:MACMethod>

=20
Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?
=20
=20
I have the same question about EncryptionScheme later in both examples:
=20
=20
SPEC ONE:
=20
....
<pskc:Secret>
                <pskc:EncryptedValue Id=3D"ED">
                    <xenc:EncryptionMethod=20
                        Algorithm=3D
"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
                        <pskc:EncryptionScheme
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                        </xenc:EncryptionMethod>
                        <xenc:CipherData>
                            <xenc:CipherValue>
      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
                        </xenc:CipherValue>
                    </xenc:CipherData>

GENERATED ONE:

ryptedValue>

<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

</xenc:EncryptionMethod>

<xenc:CipherData>

<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

</xenc:CipherData>

=20
Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?
=20
Should these not be like the preshared key one?:
=20
PRE-SHARED-KEY
=20
<Secret>
                    <EncryptedValue>
                        <xenc:EncryptionMethod=20
            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                        <xenc:CipherData>
                            <xenc:CipherValue>
    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
                            </xenc:CipherValue>
                        </xenc:CipherData>
                    </EncryptedValue>
                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D             =
      =20
                    </ValueMAC>
                </Secret>

=20
Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.
=20
Additional question, should we add the xenc11 import statement to the =
schema?
=20
Philip
=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]
Sent: Wed 02/09/2009 7.43
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC


Hi Philip,
=20
Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to
=20
2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx
=20
Thanks,
=20
- Ming


________________________________

	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Friday, August 28, 2009 9:56 AM
	To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: New version of PSKC
=09
=09

	Ladies and Gentlemen,

	Please find attached the new version of PSKC.

	=20

	Changes:

	=20

	*	incorporated all of the feedback from Andrea and Sean.=20
	*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
	*	Corrected AES example to include (prepend) IV inline with XMLENC spec =
and mentions IV handling.=20

	=20

	I have one big problem:

	=20

	The samples that Ming sent out for PBE and RSA do not match the ones in =
the spec.

	=20

	Especially the PBE is different form the one Ming already says was =
corrected.

	=20

	Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure =
we are aligned here?

	=20

	This is the only thing that needs to be clarified.

	=20

	Otherwise,

	What do I need to do now.

	=20

	Do I just submit or send to Russ and Pasi directly?

	=20

	Philip

	=20

	=20

	________________________________

	=20

	Philip Hoyer=20

	=20

	Senior Architect - Office of CTO

	=20

	ActivIdentity (UK)

	117 Waterloo Road

	London SE1 8UL

	=20

	Telephone: +44 (0) 20 7960 0220

	Fax: +44 (0) 20 7902 1985

	=20

	Private and confidential: This message and any attachments may contain

	privileged / confidential information. If you are not an intended =
recipient,

	you must not copy, distribute, discuss or take any action in reliance =
on it.

	If you have received this communication in error, please notify the =
sender

	and delete this message immediately.

	=20


------_=_NextPart_001_01CA2BC7.642B3884
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META content=3D"text/html; charset=3Dunicode" http-equiv=3DContent-Type>=0A=
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18372">=0A=
<STYLE>font-face {=0A=
	font-family: Wingdings;=0A=
}=0A=
font-face {=0A=
	font-family: Verdana;=0A=
}=0A=
=0A=
P.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
LI.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
DIV.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
A:link {=0A=
	COLOR: blue; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.MsoHyperlink {=0A=
	COLOR: blue; TEXT-DECORATION: underline=0A=
}=0A=
A:visited {=0A=
	COLOR: purple; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.MsoHyperlinkFollowed {=0A=
	COLOR: purple; TEXT-DECORATION: underline=0A=
}=0A=
P.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
LI.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
DIV.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.EmailStyle18 {=0A=
	COLOR: windowtext; FONT-FAMILY: Arial;}=0A=
DIV.Section1 {=0A=
	page: Section1=0A=
}=0A=
OL {=0A=
	MARGIN-BOTTOM: 0pt=0A=
}=0A=
UL {=0A=
	MARGIN-BOTTOM: 0pt=0A=
}=0A=
</STYLE>=0A=
=0A=
<SCRIPT id=3Ddsbaseurl =
language=3Djavascript>g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcar=
d.com/exchange/phoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_text.h=
tm";</SCRIPT>=0A=
</HEAD>=0A=
<BODY lang=3DEN-US link=3Dblue vLink=3Dpurple>=0A=
<DIV dir=3Dltr id=3DidOWAReplyText7818>=0A=
<DIV dir=3Dltr><FONT color=3D#000000 size=3D2 face=3DArial>Ming and =
all,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Please see questions and =
explanation of my perplexion below. Bear with me.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Which MAC key for which =
example?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>My main concern are the PBE =
examples that you generated and the existing one forget for a moment the =
namsespace change.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Following are some =
differences <STRONG>(highlighted in bold</STRONG>):</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>SPEC ONE:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Lets start with an extract of =
the existing one in the spec:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1"&gt;<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; &lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<STRONG>Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"</STRONG=
>/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhI=
joTY/dX4SkUAbQ<BR>SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/pskc:MACMethod&gt;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>GENERATED ONE:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:MACMethod</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2000/09/xmldsig#hmac-sha1<FO=
NT color=3D#0000ff>"&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:MACKey</FONT><FONT color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000> =
<STRONG>Algorithm</STRONG></FONT><STRONG><FONT =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2</STRONG><FONT =
color=3D#0000ff><STRONG>"</STRONG>&gt;</P></FONT>=0A=
<P dir=3Dltr><STRONG><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT color=3D#0000ff>"/&gt;</P></FONT></STRONG>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</FONT></P>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</FONT>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx<FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>pskc:MACKey</FONT><FONT color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>pskc:MACMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Now I do not understand why we need EncryptionScheme at =
all. Should it not be as&nbsp;the&nbsp;one in the spec?</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>I have the same question about EncryptionScheme later in =
both examples:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>SPEC ONE:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>....</DIV>=0A=
<DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pskc:EncryptedValue =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =
&lt;/xenc:EncryptionMethod&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR></DIV>=0A=
<DIV dir=3Dltr>GENERATED ONE:</DIV><FONT color=3D#0000ff>=0A=
<DIV dir=3Dltr></FONT>=0A=
<P><FONT color=3D#800000>ryptedValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000> =
<STRONG>Algorithm</STRONG></FONT><STRONG><FONT =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2<FONT color=3D#0000ff>"&gt;</P></FONT></STRONG>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT color=3D#0000ff>"/&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</FONT>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPY=
Zu6V+A4aEn032yCr4f<FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr>Why do we need EncryptionScheme at all? Since we know it =
is a derived key in the main element?</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Should these not be like the preshared key one?:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>PRE-SHARED-KEY</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; &lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG> =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp; =
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/ValueMAC&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Secret&gt;<BR></DIV></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Also should we align the =
examples that they use prefixed namespace for pskc. e.g. =
&lt;pskc:element&gt; I rather have default namespace of pskc so that it =
reads:&nbsp;&lt;element&gt;.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Additional question, should =
we add the xenc11 import statement to the schema?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Philip</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Pei, Mingliang =
[mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
7.43<BR><B>To:</B> Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, Andrea; =
Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Hi Philip,</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Please see the forwarded email =
that includes the examples from my implementation that I sent earlier. =
The latest draft doesn't seem to have the CipherValue for the MAC key =
right. Please update it to</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D790313805-02092009>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx</DIV></SPAN>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Thanks,</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>- Ming</FONT></SPAN></DIV><BR>=0A=
<BLOCKQUOTE style=3D"BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; =
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir=3Dltr>=0A=
<DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Philip Hoyer =
[mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Friday, August 28, =
2009 9:56 AM<BR><B>To:</B> Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Pei, Mingliang; Salah Machani; Sean Turner<BR><B>Cc:</B> =
Doherty, Andrea; Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> New =
version of PSKC<BR></FONT><BR></DIV>=0A=
<DIV></DIV>=0A=
<DIV class=3DSection1>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Ladies and =
Gentlemen,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Please find =
attached the new version of PSKC.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Changes:</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<UL style=3D"MARGIN-TOP: 0pt" type=3Ddisc>=0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>incorporated =
all of the feedback from Andrea and Sean.</SPAN></FONT> =0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>reference =
name change to the new DerivedKey element (moved to =
XMLEnc11)</SPAN></FONT> =0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Corrected AES =
example to include (prepend) IV inline with XMLENC spec and mentions IV =
handling.</SPAN></FONT> </LI></UL>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>I have one =
big problem:</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>The samples =
that Ming sent out for PBE and RSA do not match the ones in the =
spec.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Especially =
the PBE is different form the one Ming already says was =
corrected.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Based on the =
new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure we are aligned =
here?</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>This is the =
only thing that needs to be clarified.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Otherwise,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>What do I =
need to do now.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Do I just =
submit or send to Russ and Pasi directly?</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Philip</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>________________________________</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Philip Hoyer </SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Senior Architect - Office of CTO</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>ActivIdentity (UK)</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>117&nbsp;Waterloo Road</SPAN></FONT><SPAN =
lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>London</SPAN></FONT><FONT size=3D2 face=3D"Courier =
New"><SPAN style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB> SE1 8UL</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Telephone: +44 (0) 20 7960 0220</SPAN></FONT><SPAN =
lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>Fax: =
+44 (0) 20 7902 1985</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Private and confidential: This message and any attachments =
may contain</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>privileged / confidential information. If you are not an =
intended recipient,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>you =
must not copy, distribute, discuss or take any action in reliance on =
it.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>If =
you have received this communication in error, please notify the =
sender</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>and =
delete this message immediately.</SPAN></FONT><FONT size=3D2 =
face=3D"Courier New"><SPAN style=3D"FONT-FAMILY: 'Courier New'; =
FONT-SIZE: 10pt" lang=3DEN-GB></SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D3 face=3D"Times New Roman"><SPAN =
style=3D"FONT-SIZE: 12pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></NOSCRIPT>=0A=
<SCRIPT id=3Ddstb-id language=3Djavascript>if(typeof(dstb)!=3D =
"undefined"){ dstb();}</SCRIPT>=0A=
</DIV></BODY></HTML>
------_=_NextPart_001_01CA2BC7.642B3884--

From mpei@verisign.com  Wed Sep  2 12:50:24 2009
Return-Path: <mpei@verisign.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 12FC13A6B91 for <keyprov@core3.amsl.com>; Wed,  2 Sep 2009 12:50:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.287
X-Spam-Level: 
X-Spam-Status: No, score=-5.287 tagged_above=-999 required=5 tests=[AWL=-0.692, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bsrfsYJ63wlH for <keyprov@core3.amsl.com>; Wed,  2 Sep 2009 12:50:22 -0700 (PDT)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75]) by core3.amsl.com (Postfix) with ESMTP id 65E9A3A69D2 for <keyprov@ietf.org>; Wed,  2 Sep 2009 12:50:22 -0700 (PDT)
Received: from MOU1WNEXCN03.vcorp.ad.vrsn.com (mailer6.verisign.com [65.205.251.33]) by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n82JmoqE029361; Wed, 2 Sep 2009 12:48:50 -0700
Received: from MOU1WNEXMB10.vcorp.ad.vrsn.com ([10.25.13.204]) by MOU1WNEXCN03.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 2 Sep 2009 12:48:50 -0700
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA2C06.641BCC0B"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Wed, 2 Sep 2009 12:48:49 -0700
Message-ID: <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A003@mou1wnexmb10.vcorp.ad.vrsn.com>
In-Reply-To: <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8AEIVBEA==
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com>
From: "Pei, Mingliang" <mpei@verisign.com>
To: "Philip Hoyer" <phoyer@actividentity.com>, <Hannes.Tschofenig@gmx.net>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Salah Machani" <SMachani@DIVERSINET.COM>, "Sean Turner" <turners@ieca.com>
X-OriginalArrivalTime: 02 Sep 2009 19:48:50.0510 (UTC) FILETIME=[64BE4EE0:01CA2C06]
Cc: =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>, "Doherty, Andrea" <adoherty@rsa.com>, KEYPROV <keyprov@ietf.org>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 02 Sep 2009 19:50:24 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA2C06.641BCC0B
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

The reason is that DerivedKey portion only describe how a key is derived =
for a desired length, not indicating how a key is used. For PBES2, the =
encryption scheme parameter is required. It should either go to PKCS#5 =
parameters, or EncryptionMethod part of the xenc:EncryptedDataType. We =
chose the second one. The encrytion key element contains only the key =
portion as we have been doing, similar to the pre-shared key case. It is =
consistent. The common element EncryptionKey includes the key data =
information, not the encryption algorithm information.
=20
- Ming


________________________________

	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Wednesday, September 02, 2009 5:18 AM
	To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	Ming and all,
	=20
	Please see questions and explanation of my perplexion below. Bear with =
me.
	=20
	Which MAC key for which example?
	=20
	My main concern are the PBE examples that you generated and the =
existing one forget for a moment the namsespace change.
	=20
	Following are some differences (highlighted in bold):
	=20
	SPEC ONE:
	Lets start with an extract of the existing one in the spec:
	=20
	    <pskc:MACMethod=20
	        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
	        <pskc:MACKey>
	            <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	            <xenc:CipherData>
	                <xenc:CipherValue>
	2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
	SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
	                </xenc:CipherValue>
	            </xenc:CipherData>
	        </pskc:MACKey>
	    </pskc:MACMethod>
	=20
	GENERATED ONE:
	=20

	<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

	<pskc:MACKey>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

	</xenc:CipherData>

	</pskc:MACKey>

	</pskc:MACMethod>

	=20
	Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?
	=20
	=20
	I have the same question about EncryptionScheme later in both examples:
	=20
	=20
	SPEC ONE:
	=20
	....
	<pskc:Secret>
	                <pskc:EncryptedValue Id=3D"ED">
	                    <xenc:EncryptionMethod=20
	                        Algorithm=3D
	"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
	                        <pskc:EncryptionScheme
	Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        </xenc:EncryptionMethod>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
	                        </xenc:CipherValue>
	                    </xenc:CipherData>
=09
	GENERATED ONE:
=09

	ryptedValue>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

	</xenc:CipherData>

	=20
	Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?
	=20
	Should these not be like the preshared key one?:
	=20
	PRE-SHARED-KEY
	=20
	<Secret>
	                    <EncryptedValue>
	                        <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
	                            </xenc:CipherValue>
	                        </xenc:CipherData>
	                    </EncryptedValue>
	                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D            =
       =20
	                    </ValueMAC>
	                </Secret>
=09
	=20
	Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.
	=20
	Additional question, should we add the xenc11 import statement to the =
schema?
	=20
	Philip
	=20

________________________________

	From: Pei, Mingliang [mailto:mpei@verisign.com]
	Sent: Wed 02/09/2009 7.43
	To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	Hi Philip,
	=20
	Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to
	=20
	2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx
	=20
	Thanks,
	=20
	- Ming


________________________________

		From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
		Sent: Friday, August 28, 2009 9:56 AM
		To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: New version of PSKC
	=09
	=09

		Ladies and Gentlemen,

		Please find attached the new version of PSKC.

		=20

		Changes:

		=20

		*	incorporated all of the feedback from Andrea and Sean.=20
		*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
		*	Corrected AES example to include (prepend) IV inline with XMLENC =
spec and mentions IV handling.=20

		=20

		I have one big problem:

		=20

		The samples that Ming sent out for PBE and RSA do not match the ones =
in the spec.

		=20

		Especially the PBE is different form the one Ming already says was =
corrected.

		=20

		Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure =
we are aligned here?

		=20

		This is the only thing that needs to be clarified.

		=20

		Otherwise,

		What do I need to do now.

		=20

		Do I just submit or send to Russ and Pasi directly?

		=20

		Philip

		=20

		=20

		________________________________

		=20

		Philip Hoyer=20

		=20

		Senior Architect - Office of CTO

		=20

		ActivIdentity (UK)

		117 Waterloo Road

		London SE1 8UL

		=20

		Telephone: +44 (0) 20 7960 0220

		Fax: +44 (0) 20 7902 1985

		=20

		Private and confidential: This message and any attachments may contain

		privileged / confidential information. If you are not an intended =
recipient,

		you must not copy, distribute, discuss or take any action in reliance =
on it.

		If you have received this communication in error, please notify the =
sender

		and delete this message immediately.

		=20


------_=_NextPart_001_01CA2C06.641BCC0B
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=3Dltr><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3562" name=3DGENERATOR>
<STYLE>font-face {
	FONT-FAMILY: Wingdings
}
font-face {
	FONT-FAMILY: Verdana
}
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
P.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
LI.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
DIV.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
SPAN.EmailStyle18 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
OL {
	MARGIN-BOTTOM: 0pt
}
UL {
	MARGIN-BOTTOM: 0pt
}
</STYLE>

<SCRIPT language=3Djavascript =
id=3Ddsbaseurl>g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcard.com/e=
xchange/phoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_text.htm";</S=
CRIPT>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>The reason is that DerivedKey portion only =
describe how a=20
key is derived for a desired length, not indicating how a key is used. =
For=20
PBES2, the encryption scheme parameter is required. It should either go =
to=20
PKCS#5 parameters, or EncryptionMethod part of the =
xenc:EncryptedDataType. We=20
chose the second one. The encrytion key element contains only the key =
portion as=20
we have been doing, similar to the pre-shared key case. It is =
consistent. The=20
common element EncryptionKey includes the key data information, not the=20
encryption algorithm information.</FONT></SPAN></DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
color=3D#0000ff size=3D2>- Ming</FONT></SPAN></DIV><BR>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Philip Hoyer=20
  [mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Wednesday, =
September 02,=20
  2009 5:18 AM<BR><B>To:</B> Pei, Mingliang; Hannes.Tschofenig@gmx.net; =
Phillip=20
  Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, =
Andrea; Magnus=20
  Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version of=20
  PSKC<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV id=3DidOWAReplyText7818 dir=3Dltr>
  <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Ming and =
all,</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Please see questions and =
explanation of=20
  my perplexion below. Bear with me.</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Which MAC key for which=20
  example?</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>My main concern are the PBE =
examples that=20
  you generated and the existing one forget for a moment the namsespace=20
  change.</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Following are some =
differences=20
  <STRONG>(highlighted in bold</STRONG>):</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>SPEC ONE:</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Lets start with an extract =
of the=20
  existing one in the spec:</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1"&gt;<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
  &lt;xenc:EncryptionMethod=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  =
<STRONG>Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"</STRONG=
>/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
  =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;xenc:CipherValue&gt;<BR>2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhI=
joTY/dX4SkUAbQ<BR>SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
  &lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

  &lt;/pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;/pskc:MACMethod&gt;</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>GENERATED ONE:</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>pskc:MACMethod</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT=20
  =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2000/09/xmldsig#hmac-sha1<FO=
NT=20
  color=3D#0000ff>"&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>pskc:MACKey</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000>=20
  <STRONG>Algorithm</STRONG></FONT><STRONG><FONT=20
  =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2</STRONG><FONT=20
  color=3D#0000ff><STRONG>"</STRONG>&gt;</P></FONT>
  <P dir=3Dltr><STRONG><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000>=20
  Algorithm</FONT><FONT=20
  =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT=20
  color=3D#0000ff>"/&gt;</P></FONT></STRONG>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</FONT></P>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:CipherValue</FONT><FONT=20
  =
color=3D#0000ff>&gt;</FONT>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx<FONT=20
  color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT=20
  color=3D#0000ff>&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>pskc:MACKey</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>pskc:MACMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>Now I do not understand why we need EncryptionScheme at =
all.=20
  Should it not be as&nbsp;the&nbsp;one in the spec?</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>I have the same question about EncryptionScheme later =
in both=20
  examples:</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>SPEC ONE:</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>....</DIV>
  <DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>
  <DIV dir=3Dltr>
  <DIV=20
  =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;pskc:EncryptedValue=20
  =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:EncryptionMethod=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
  =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
  =
&lt;/xenc:EncryptionMethod&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;/xenc:CipherData&gt;<BR></DIV>
  <DIV dir=3Dltr>GENERATED ONE:</DIV><FONT color=3D#0000ff>
  <DIV dir=3Dltr></FONT>
  <P><FONT color=3D#800000>ryptedValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000>=20
  <STRONG>Algorithm</STRONG></FONT><STRONG><FONT=20
  =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2<FONT=20
  color=3D#0000ff>"&gt;</P></FONT></STRONG>
  <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000>=20
  Algorithm</FONT><FONT=20
  =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT=20
  color=3D#0000ff>"/&gt;</P></FONT>
  <P><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
  <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
  color=3D#800000>xenc:CipherValue</FONT><FONT=20
  =
color=3D#0000ff>&gt;</FONT>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPY=
Zu6V+A4aEn032yCr4f<FONT=20
  color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT=20
  color=3D#0000ff>&gt;</P></FONT>
  <P><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
  color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>
  <DIV dir=3Dltr>Why do we need EncryptionScheme at all? Since we know =
it is a=20
  derived key in the main element?</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>Should these not be like the preshared key one?:</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>PRE-SHARED-KEY</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV=20
  =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:EncryptionMethod=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG>=20
  =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;=20
  =
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
  =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;/EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;/ValueMAC&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;/Secret&gt;<BR></DIV></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Also should we align the =
examples that=20
  they use prefixed namespace for pskc. e.g. &lt;pskc:element&gt; I =
rather have=20
  default namespace of pskc so that it =
reads:&nbsp;&lt;element&gt;.</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Additional question, should =
we add the=20
  xenc11 import statement to the schema?</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Philip</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
  <DIV dir=3Dltr><BR>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Pei, Mingliang=20
  [mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
7.43<BR><B>To:</B>=20
  Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani;=20
  Sean Turner<BR><B>Cc:</B> Doherty, Andrea; Magnus Nystr=F6m;=20
  KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>
  <DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Hi Philip,</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Please see the forwarded email that includes =
the examples=20
  from my implementation that I sent earlier. The latest draft doesn't =
seem to=20
  have the CipherValue for the MAC key right. Please update it=20
  to</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN=20
  =
class=3D790313805-02092009>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx</DIV></SPAN>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>Thanks,</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>- Ming</FONT></SPAN></DIV><BR>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
    <HR tabIndex=3D-1>
    <FONT face=3DTahoma size=3D2><B>From:</B> Philip Hoyer=20
    [mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Friday, August =
28, 2009=20
    9:56 AM<BR><B>To:</B> Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Pei,=20
    Mingliang; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, Andrea; =
Magnus=20
    Nystr=F6m; KEYPROV<BR><B>Subject:</B> New version of =
PSKC<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV class=3DSection1>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ladies and=20
    Gentlemen,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please find attached =
the new=20
    version of PSKC.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Changes:</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <UL style=3D"MARGIN-TOP: 0pt" type=3Ddisc>
      <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">incorporated all of =
the=20
      feedback from Andrea and Sean.</SPAN></FONT>=20
      <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">reference name =
change to the=20
      new DerivedKey element (moved to XMLEnc11)</SPAN></FONT>=20
      <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Corrected AES =
example to=20
      include (prepend) IV inline with XMLENC spec and mentions IV=20
      handling.</SPAN></FONT> </LI></UL>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have one big=20
    problem:</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The samples that Ming =
sent out=20
    for PBE and RSA do not match the ones in the spec.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Especially the PBE is =
different=20
    form the one Ming already says was corrected.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Based on the new XML =
Enc 1.1=20
    spec for PBE and DerivedKeys. Are we sure we are aligned=20
    here?</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is the only thing =
that=20
    needs to be clarified.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Otherwise,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">What do I need to do=20
    now.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Do I just submit or =
send to Russ=20
    and Pasi directly?</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Philip</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">________________________________</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Philip Hoyer=20
    </SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Senior =
Architect -=20
    Office of CTO</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">ActivIdentity=20
    (UK)</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">117&nbsp;Waterloo=20
    Road</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">London</SPAN></FONT><FONT=20
    face=3D"Courier New" size=3D2><SPAN lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> SE1=20
    8UL</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Telephone: +44 =
(0) 20=20
    7960 0220</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Fax: +44 (0) =
20 7902=20
    1985</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Private and=20
    confidential: This message and any attachments may =
contain</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">privileged /=20
    confidential information. If you are not an intended=20
    recipient,</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">you must not =
copy,=20
    distribute, discuss or take any action in reliance on =
it.</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">If you have =
received=20
    this communication in error, please notify the =
sender</SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">and delete =
this message=20
    immediately.</SPAN></FONT><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT></P>
    <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN =
lang=3DEN-GB=20
    style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></NOSCRIPT>
  <SCRIPT language=3Djavascript id=3Ddstb-id>if(typeof(dstb)!=3D =
"undefined"){ dstb();}</SCRIPT>
  </DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01CA2C06.641BCC0B--

From phoyer@actividentity.com  Mon Sep  7 06:42:35 2009
Return-Path: <phoyer@actividentity.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 8EC1128C146 for <keyprov@core3.amsl.com>; Mon,  7 Sep 2009 06:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.251
X-Spam-Level: *
X-Spam-Status: No, score=1.251 tagged_above=-999 required=5 tests=[AWL=-2.500,  BAYES_50=0.001, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, MIME_QP_LONG_LINE=1.396, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJKUB3NcB0im for <keyprov@core3.amsl.com>; Mon,  7 Sep 2009 06:42:33 -0700 (PDT)
Received: from frhub1.activcard.fr (frhub1.activcard.fr [91.151.120.133]) by core3.amsl.com (Postfix) with ESMTP id E36CB3A67F7 for <keyprov@ietf.org>; Mon,  7 Sep 2009 06:42:32 -0700 (PDT)
Received: from sur-corp-ex-02.corp.ad.activcard.com (sur-corp-ex-02.corp.ad.activcard.com [192.168.33.40]) by frhub1.activcard.fr (Postfix) with ESMTP id AC4C818393B; Mon,  7 Sep 2009 15:42:59 +0200 (CEST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA2FC1.2F868EA0"
Date: Mon, 7 Sep 2009 15:38:30 +0200
Message-ID: <5BFE9E473DBFC24CA87F18F29B3F0AC4A276B4@sur-corp-ex-02.corp.ad.activcard.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8AEIVBEADuz2wn
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A003@mou1wnexmb10.vcorp.ad.vrsn.com>
From: "Philip Hoyer" <phoyer@actividentity.com>
To: "Pei, Mingliang" <mpei@verisign.com>, <Hannes.Tschofenig@gmx.net>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Salah Machani" <SMachani@DIVERSINET.COM>, "Sean Turner" <turners@ieca.com>
Cc: =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>, "Doherty, Andrea" <adoherty@rsa.com>, KEYPROV <keyprov@ietf.org>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 07 Sep 2009 13:42:35 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA2FC1.2F868EA0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Ming,
I do not understand why the protected HOTP key value (secret) should =
know anything about how the key was derived.
=20
I mean at the end the transported key is encrypted with AES-128-CBC.
=20
So would it not be cleaner to leave all the derivation related business =
to the element that is under KeyContainer?
=20
Ii would also assume that:
'=20
<pskc:Secret>
                <pskc:EncryptedValue Id=3D"ED">
                    <xenc:EncryptionMethod=20
                        Algorithm=3D
"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
                        <pskc:EncryptionScheme
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>'
=20
=20
is NOT XMLenc standard compliant whereas:
=20
<Secret>
                    <EncryptedValue>
                        <xenc:EncryptionMethod=20
            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                        <xenc:CipherData>
 is
=20
=20
=20
=20
Philip
=20
=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]
Sent: Wed 02/09/2009 21.48
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC


The reason is that DerivedKey portion only describe how a key is derived =
for a desired length, not indicating how a key is used. For PBES2, the =
encryption scheme parameter is required. It should either go to PKCS#5 =
parameters, or EncryptionMethod part of the xenc:EncryptedDataType. We =
chose the second one. The encrytion key element contains only the key =
portion as we have been doing, similar to the pre-shared key case. It is =
consistent. The common element EncryptionKey includes the key data =
information, not the encryption algorithm information.
=20
- Ming


________________________________

	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Wednesday, September 02, 2009 5:18 AM
	To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	Ming and all,
	=20
	Please see questions and explanation of my perplexion below. Bear with =
me.
	=20
	Which MAC key for which example?
	=20
	My main concern are the PBE examples that you generated and the =
existing one forget for a moment the namsespace change.
	=20
	Following are some differences (highlighted in bold):
	=20
	SPEC ONE:
	Lets start with an extract of the existing one in the spec:
	=20
	    <pskc:MACMethod=20
	        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
	        <pskc:MACKey>
	            <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	            <xenc:CipherData>
	                <xenc:CipherValue>
	2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
	SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
	                </xenc:CipherValue>
	            </xenc:CipherData>
	        </pskc:MACKey>
	    </pskc:MACMethod>
	=20
	GENERATED ONE:
	=20

	<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

	<pskc:MACKey>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

	</xenc:CipherData>

	</pskc:MACKey>

	</pskc:MACMethod>

	=20
	Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?
	=20
	=20
	I have the same question about EncryptionScheme later in both examples:
	=20
	=20
	SPEC ONE:
	=20
	....
	<pskc:Secret>
	                <pskc:EncryptedValue Id=3D"ED">
	                    <xenc:EncryptionMethod=20
	                        Algorithm=3D
	"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
	                        <pskc:EncryptionScheme
	Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        </xenc:EncryptionMethod>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
	                        </xenc:CipherValue>
	                    </xenc:CipherData>
=09
	GENERATED ONE:
=09

	ryptedValue>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

	</xenc:CipherData>

	=20
	Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?
	=20
	Should these not be like the preshared key one?:
	=20
	PRE-SHARED-KEY
	=20
	<Secret>
	                    <EncryptedValue>
	                        <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
	                            </xenc:CipherValue>
	                        </xenc:CipherData>
	                    </EncryptedValue>
	                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D            =
       =20
	                    </ValueMAC>
	                </Secret>
=09
	=20
	Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.
	=20
	Additional question, should we add the xenc11 import statement to the =
schema?
	=20
	Philip
	=20

________________________________

	From: Pei, Mingliang [mailto:mpei@verisign.com]
	Sent: Wed 02/09/2009 7.43
	To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	Hi Philip,
	=20
	Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to
	=20
	2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx
	=20
	Thanks,
	=20
	- Ming


________________________________

		From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
		Sent: Friday, August 28, 2009 9:56 AM
		To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: New version of PSKC
	=09
	=09

		Ladies and Gentlemen,

		Please find attached the new version of PSKC.

		=20

		Changes:

		=20

		*	incorporated all of the feedback from Andrea and Sean.=20
		*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
		*	Corrected AES example to include (prepend) IV inline with XMLENC =
spec and mentions IV handling.=20

		=20

		I have one big problem:

		=20

		The samples that Ming sent out for PBE and RSA do not match the ones =
in the spec.

		=20

		Especially the PBE is different form the one Ming already says was =
corrected.

		=20

		Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure =
we are aligned here?

		=20

		This is the only thing that needs to be clarified.

		=20

		Otherwise,

		What do I need to do now.

		=20

		Do I just submit or send to Russ and Pasi directly?

		=20

		Philip

		=20

		=20

		________________________________

		=20

		Philip Hoyer=20

		=20

		Senior Architect - Office of CTO

		=20

		ActivIdentity (UK)

		117 Waterloo Road

		London SE1 8UL

		=20

		Telephone: +44 (0) 20 7960 0220

		Fax: +44 (0) 20 7902 1985

		=20

		Private and confidential: This message and any attachments may contain

		privileged / confidential information. If you are not an intended =
recipient,

		you must not copy, distribute, discuss or take any action in reliance =
on it.

		If you have received this communication in error, please notify the =
sender

		and delete this message immediately.

		=20


------_=_NextPart_001_01CA2FC1.2F868EA0
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<HTML dir=3Dltr><HEAD>=0A=
<META content=3D"text/html; charset=3Dunicode" http-equiv=3DContent-Type>=0A=
<META name=3DGENERATOR content=3D"MSHTML 8.00.6001.18372">=0A=
<STYLE>font-face {=0A=
	FONT-FAMILY: Wingdings=0A=
}=0A=
font-face {=0A=
	FONT-FAMILY: Verdana=0A=
}=0A=
P.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
LI.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
DIV.MsoNormal {=0A=
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"=0A=
}=0A=
A:link {=0A=
	COLOR: blue; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.MsoHyperlink {=0A=
	COLOR: blue; TEXT-DECORATION: underline=0A=
}=0A=
A:visited {=0A=
	COLOR: purple; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.MsoHyperlinkFollowed {=0A=
	COLOR: purple; TEXT-DECORATION: underline=0A=
}=0A=
P.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
LI.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
DIV.CrossReference {=0A=
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline=0A=
}=0A=
SPAN.EmailStyle18 {=0A=
	COLOR: windowtext; FONT-FAMILY: Arial=0A=
}=0A=
DIV.Section1 {=0A=
	page: Section1=0A=
}=0A=
OL {=0A=
	MARGIN-BOTTOM: 0pt=0A=
}=0A=
UL {=0A=
	MARGIN-BOTTOM: 0pt=0A=
}=0A=
</STYLE>=0A=
=0A=
<SCRIPT id=3Ddsbaseurl =
language=3Djavascript>g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcar=
d.com/exchange/philip.hoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_=
text.htm";</SCRIPT>=0A=
</HEAD>=0A=
<BODY lang=3DEN-US link=3Dblue vLink=3Dpurple>=0A=
<DIV dir=3Dltr id=3DidOWAReplyText285>=0A=
<DIV dir=3Dltr><FONT color=3D#000000 size=3D2 =
face=3DArial>Ming,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>I do not understand why the =
protected HOTP key value (secret) should know anything about how the key =
was derived.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>I mean at the end the =
transported key is encrypted with AES-128-CBC.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>So would it not be cleaner to =
leave all the derivation related business to the element that is under =
KeyContainer?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Ii would also assume =
that:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>'=0A=
<DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pskc:EncryptedValue =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;'</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>is NOT XMLenc standard compliant whereas:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; &lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG> =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;is</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV></DIV></FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Philip</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Pei, Mingliang =
[mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
21.48<BR><B>To:</B> Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, Andrea; =
Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>The reason is that DerivedKey =
portion only describe how a key is derived for a desired length, not =
indicating how a key is used. For PBES2, the encryption scheme parameter =
is required. It should either go to PKCS#5 parameters, or =
EncryptionMethod part of the xenc:EncryptedDataType. We chose the second =
one. The encrytion key element contains only the key portion as we have =
been doing, similar to the pre-shared key case. It is consistent. The =
common element EncryptionKey includes the key data information, not the =
encryption algorithm information.</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>- Ming</FONT></SPAN></DIV><BR>=0A=
<BLOCKQUOTE style=3D"BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; =
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir=3Dltr>=0A=
<DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Philip Hoyer =
[mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Wednesday, September =
02, 2009 5:18 AM<BR><B>To:</B> Pei, Mingliang; =
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<BR><B>Cc:</B> Doherty, Andrea; Magnus Nystr=F6m; =
KEYPROV<BR><B>Subject:</B> RE: New version of PSKC<BR></FONT><BR></DIV>=0A=
<DIV></DIV>=0A=
<DIV dir=3Dltr id=3DidOWAReplyText7818>=0A=
<DIV dir=3Dltr><FONT color=3D#000000 size=3D2 face=3DArial>Ming and =
all,</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Please see questions and =
explanation of my perplexion below. Bear with me.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Which MAC key for which =
example?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>My main concern are the PBE =
examples that you generated and the existing one forget for a moment the =
namsespace change.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Following are some =
differences <STRONG>(highlighted in bold</STRONG>):</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>SPEC ONE:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Lets start with an extract of =
the existing one in the spec:</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1"&gt;<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp; &lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<STRONG>Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"</STRONG=
>/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhI=
joTY/dX4SkUAbQ<BR>SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/pskc:MACMethod&gt;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>GENERATED ONE:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:MACMethod</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2000/09/xmldsig#hmac-sha1<FO=
NT color=3D#0000ff>"&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:MACKey</FONT><FONT color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000> =
<STRONG>Algorithm</STRONG></FONT><STRONG><FONT =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2</STRONG><FONT =
color=3D#0000ff><STRONG>"</STRONG>&gt;</P></FONT>=0A=
<P dir=3Dltr><STRONG><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT color=3D#0000ff>"/&gt;</P></FONT></STRONG>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</FONT></P>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</FONT>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx<FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>pskc:MACKey</FONT><FONT color=3D#0000ff>&gt;</P></FONT>=0A=
<P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>pskc:MACMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Now I do not understand why we need EncryptionScheme at =
all. Should it not be as&nbsp;the&nbsp;one in the spec?</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>I have the same question about EncryptionScheme later in =
both examples:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>SPEC ONE:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>....</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pskc:EncryptedValue =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp; =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =
&lt;/xenc:EncryptionMethod&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR></DIV></DIV></DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr>GENERATED ONE:</DIV><FONT color=3D#0000ff>=0A=
<DIV dir=3Dltr></FONT>=0A=
<P><FONT color=3D#800000>ryptedValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000> =
<STRONG>Algorithm</STRONG></FONT><STRONG><FONT =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2<FONT color=3D#0000ff>"&gt;</P></FONT></STRONG>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000> =
Algorithm</FONT><FONT =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT color=3D#0000ff>"/&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:EncryptionMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</FONT>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPY=
Zu6V+A4aEn032yCr4f<FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>=0A=
<P><FONT color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>=0A=
<DIV dir=3Dltr>Why do we need EncryptionScheme at all? Since we know it =
is a derived key in the main element?</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>Should these not be like the preshared key one?:</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV dir=3Dltr>PRE-SHARED-KEY</DIV>=0A=
<DIV dir=3Dltr>&nbsp;</DIV>=0A=
<DIV =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp; &lt;xenc:EncryptionMethod =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG> =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp; =
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp; =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp; =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp; =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/ValueMAC&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/Secret&gt;<BR></DIV></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Also should we align the =
examples that they use prefixed namespace for pskc. e.g. =
&lt;pskc:element&gt; I rather have default namespace of pskc so that it =
reads:&nbsp;&lt;element&gt;.</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Additional question, should =
we add the xenc11 import statement to the schema?</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial>Philip</FONT></DIV>=0A=
<DIV dir=3Dltr><FONT size=3D2 face=3DArial></FONT>&nbsp;</DIV></DIV>=0A=
<DIV dir=3Dltr><BR>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Pei, Mingliang =
[mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
7.43<BR><B>To:</B> Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, Andrea; =
Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>=0A=
<DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Hi Philip,</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Please see the forwarded email =
that includes the examples from my implementation that I sent earlier. =
The latest draft doesn't seem to have the CipherValue for the MAC key =
right. Please update it to</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN =
class=3D790313805-02092009>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx</DIV></SPAN>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>Thanks,</FONT></SPAN></DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial></FONT></SPAN>&nbsp;</DIV>=0A=
<DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
color=3D#0000ff size=3D2 face=3DArial>- Ming</FONT></SPAN></DIV><BR>=0A=
<BLOCKQUOTE style=3D"BORDER-LEFT: #0000ff 2px solid; PADDING-LEFT: 5px; =
MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px" dir=3Dltr>=0A=
<DIV dir=3Dltr lang=3Den-us class=3DOutlookMessageHeader align=3Dleft>=0A=
<HR tabIndex=3D-1>=0A=
<FONT size=3D2 face=3DTahoma><B>From:</B> Philip Hoyer =
[mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Friday, August 28, =
2009 9:56 AM<BR><B>To:</B> Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker; Pei, Mingliang; Salah Machani; Sean Turner<BR><B>Cc:</B> =
Doherty, Andrea; Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> New =
version of PSKC<BR></FONT><BR></DIV>=0A=
<DIV></DIV>=0A=
<DIV class=3DSection1>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Ladies and =
Gentlemen,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Please find =
attached the new version of PSKC.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Changes:</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<UL style=3D"MARGIN-TOP: 0pt" type=3Ddisc>=0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>incorporated =
all of the feedback from Andrea and Sean.</SPAN></FONT> =0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>reference =
name change to the new DerivedKey element (moved to =
XMLEnc11)</SPAN></FONT> =0A=
<LI class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Corrected AES =
example to include (prepend) IV inline with XMLENC spec and mentions IV =
handling.</SPAN></FONT> </LI></UL>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>I have one =
big problem:</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>The samples =
that Ming sent out for PBE and RSA do not match the ones in the =
spec.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Especially =
the PBE is different form the one Ming already says was =
corrected.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Based on the =
new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure we are aligned =
here?</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>This is the =
only thing that needs to be clarified.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Otherwise,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>What do I =
need to do now.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" lang=3DEN-GB>Do I just =
submit or send to Russ and Pasi directly?</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB>Philip</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3DArial><SPAN =
style=3D"FONT-FAMILY: Arial; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>________________________________</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Philip Hoyer </SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Senior Architect - Office of CTO</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>ActivIdentity (UK)</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>117&nbsp;Waterloo Road</SPAN></FONT><SPAN =
lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>London</SPAN></FONT><FONT size=3D2 face=3D"Courier =
New"><SPAN style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB> SE1 8UL</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Telephone: +44 (0) 20 7960 0220</SPAN></FONT><SPAN =
lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>Fax: =
+44 (0) 20 7902 1985</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>Private and confidential: This message and any attachments =
may contain</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" =
lang=3DEN-GB>privileged / confidential information. If you are not an =
intended recipient,</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>you =
must not copy, distribute, discuss or take any action in reliance on =
it.</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>If =
you have received this communication in error, please notify the =
sender</SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D2 face=3D"Courier New"><SPAN =
style=3D"FONT-FAMILY: 'Courier New'; FONT-SIZE: 10pt" lang=3DEN-GB>and =
delete this message immediately.</SPAN></FONT><FONT size=3D2 =
face=3D"Courier New"><SPAN style=3D"FONT-FAMILY: 'Courier New'; =
FONT-SIZE: 10pt" lang=3DEN-GB></SPAN></FONT></P>=0A=
<P class=3DMsoNormal><FONT size=3D3 face=3D"Times New Roman"><SPAN =
style=3D"FONT-SIZE: 12pt" =
lang=3DEN-GB></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></NOSCRIPT></DIV>=
</BLOCKQUOTE></NOSCRIPT>=0A=
<SCRIPT id=3Ddstb-id language=3Djavascript>if(typeof(dstb)!=3D =
"undefined"){ dstb();}</SCRIPT>=0A=
</DIV></BODY></HTML>
------_=_NextPart_001_01CA2FC1.2F868EA0--

From mpei@verisign.com  Tue Sep  8 09:58:51 2009
Return-Path: <mpei@verisign.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 054DA28C285 for <keyprov@core3.amsl.com>; Tue,  8 Sep 2009 09:58:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.184
X-Spam-Level: 
X-Spam-Status: No, score=-4.184 tagged_above=-999 required=5 tests=[AWL=-1.448, BAYES_20=-0.74, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-4, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tzo7Ef5gV2Xz for <keyprov@core3.amsl.com>; Tue,  8 Sep 2009 09:58:48 -0700 (PDT)
Received: from robin.verisign.com (robin.verisign.com [65.205.251.75]) by core3.amsl.com (Postfix) with ESMTP id 1DDFD28C2A3 for <keyprov@ietf.org>; Tue,  8 Sep 2009 09:58:48 -0700 (PDT)
Received: from MOU1WNEXCN03.vcorp.ad.vrsn.com (mailer6.verisign.com [65.205.251.33]) by robin.verisign.com (8.12.11/8.13.4) with ESMTP id n88GwkdQ031552; Tue, 8 Sep 2009 09:58:46 -0700
Received: from MOU1WNEXMB10.vcorp.ad.vrsn.com ([10.25.13.204]) by MOU1WNEXCN03.vcorp.ad.vrsn.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 8 Sep 2009 09:58:46 -0700
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA30A5.A09FE5A1"
X-MimeOLE: Produced By Microsoft Exchange V6.5
Date: Tue, 8 Sep 2009 09:58:45 -0700
Message-ID: <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A0EF@mou1wnexmb10.vcorp.ad.vrsn.com>
In-Reply-To: <5BFE9E473DBFC24CA87F18F29B3F0AC4A276B4@sur-corp-ex-02.corp.ad.activcard.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8AEIVBEADuz2wnADjrF7A=
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A003@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A276B4@sur-corp-ex-02.corp.ad.activcard.com>
From: "Pei, Mingliang" <mpei@verisign.com>
To: "Philip Hoyer" <phoyer@actividentity.com>, <Hannes.Tschofenig@gmx.net>, "Phillip Hallam-Baker" <hallam@gmail.com>, "Salah Machani" <SMachani@DIVERSINET.COM>, "Sean Turner" <turners@ieca.com>
X-OriginalArrivalTime: 08 Sep 2009 16:58:46.0334 (UTC) FILETIME=[A10F1DE0:01CA30A5]
Cc: =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>, "Doherty, Andrea" <adoherty@rsa.com>, KEYPROV <keyprov@ietf.org>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 08 Sep 2009 16:58:51 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA30A5.A09FE5A1
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hi Philip,
=20
xenc:EncryptionMethod allows <any> parameters, and the usage is xenc =
compliant. The usage is similar to PKCS#5 XML. Please check this example =
from PKCS#5 page 7: =
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf
=20
<xenc:EncryptedData =
xmlns:pkcs-5=3Dhttp://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0=
# <http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#>  =
xmlns:xsi=3Dhttp://www.w3.org/2001/XMLSchema-instance =
<http://www.w3.org/2001/XMLSchema-instance>  =
xmlns:ds=3Dhttp://www.w3.org/2000/09/xmldsig# =
xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#">

<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

    <pkcs-5:PBES2-params>

...

In PSKC, we make the KDF parameters out of the encryption method into =
the common EncryptionKey element. I consider pkcs-5#pbes2 is an =
encryption algorithm that is clearer. If we just use aes128-cbc in the =
encryption method, we don't have a good place to indicate pbes2. If we =
miss pbes2 flag, it isn't fully compliant with PKCS#5, I think.

- Ming

________________________________

	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Monday, September 07, 2009 6:39 AM
	To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	Ming,
	I do not understand why the protected HOTP key value (secret) should =
know anything about how the key was derived.
	=20
	I mean at the end the transported key is encrypted with AES-128-CBC.
	=20
	So would it not be cleaner to leave all the derivation related business =
to the element that is under KeyContainer?
	=20
	Ii would also assume that:
	'=20
	<pskc:Secret>
	                <pskc:EncryptedValue Id=3D"ED">
	                    <xenc:EncryptionMethod=20
	                        Algorithm=3D
	"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
	                        <pskc:EncryptionScheme
	Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>'
	=20
	=20
	is NOT XMLenc standard compliant whereas:
	=20
	<Secret>
	                    <EncryptedValue>
	                        <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        <xenc:CipherData>
	 is
	=20
	=20
	=20
	=20
	Philip
	=20
	=20

________________________________

	From: Pei, Mingliang [mailto:mpei@verisign.com]
	Sent: Wed 02/09/2009 21.48
	To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC
=09
=09
	The reason is that DerivedKey portion only describe how a key is =
derived for a desired length, not indicating how a key is used. For =
PBES2, the encryption scheme parameter is required. It should either go =
to PKCS#5 parameters, or EncryptionMethod part of the =
xenc:EncryptedDataType. We chose the second one. The encrytion key =
element contains only the key portion as we have been doing, similar to =
the pre-shared key case. It is consistent. The common element =
EncryptionKey includes the key data information, not the encryption =
algorithm information.
	=20
	- Ming


________________________________

		From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
		Sent: Wednesday, September 02, 2009 5:18 AM
		To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: RE: New version of PSKC
	=09
	=09
		Ming and all,
		=20
		Please see questions and explanation of my perplexion below. Bear with =
me.
		=20
		Which MAC key for which example?
		=20
		My main concern are the PBE examples that you generated and the =
existing one forget for a moment the namsespace change.
		=20
		Following are some differences (highlighted in bold):
		=20
		SPEC ONE:
		Lets start with an extract of the existing one in the spec:
		=20
		    <pskc:MACMethod=20
		        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
		        <pskc:MACKey>
		            <xenc:EncryptionMethod=20
		            =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
		            <xenc:CipherData>
		                <xenc:CipherValue>
		2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
		SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
		                </xenc:CipherValue>
		            </xenc:CipherData>
		        </pskc:MACKey>
		    </pskc:MACMethod>
		=20
		GENERATED ONE:
		=20

		<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

		<pskc:MACKey>

		<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

		<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

		</xenc:EncryptionMethod>

		<xenc:CipherData>

		=
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

		</xenc:CipherData>

		</pskc:MACKey>

		</pskc:MACMethod>

		=20
		Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?
		=20
		=20
		I have the same question about EncryptionScheme later in both =
examples:
		=20
		=20
		SPEC ONE:
		=20
		....
		<pskc:Secret>
		                <pskc:EncryptedValue Id=3D"ED">
		                    <xenc:EncryptionMethod=20
		                        Algorithm=3D
		"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
		                        <pskc:EncryptionScheme
		Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
		                        </xenc:EncryptionMethod>
		                        <xenc:CipherData>
		                            <xenc:CipherValue>
		      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
		                        </xenc:CipherValue>
		                    </xenc:CipherData>
	=09
		GENERATED ONE:
	=09

		ryptedValue>

		<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

		<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

		</xenc:EncryptionMethod>

		<xenc:CipherData>

		=
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

		</xenc:CipherData>

		=20
		Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?
		=20
		Should these not be like the preshared key one?:
		=20
		PRE-SHARED-KEY
		=20
		<Secret>
		                    <EncryptedValue>
		                        <xenc:EncryptionMethod=20
		            =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
		                        <xenc:CipherData>
		                            <xenc:CipherValue>
		    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
		                            </xenc:CipherValue>
		                        </xenc:CipherData>
		                    </EncryptedValue>
		                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D           =
        =20
		                    </ValueMAC>
		                </Secret>
	=09
		=20
		Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.
		=20
		Additional question, should we add the xenc11 import statement to the =
schema?
		=20
		Philip
		=20

________________________________

		From: Pei, Mingliang [mailto:mpei@verisign.com]
		Sent: Wed 02/09/2009 7.43
		To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: RE: New version of PSKC
	=09
	=09
		Hi Philip,
		=20
		Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to
		=20
		2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx
		=20
		Thanks,
		=20
		- Ming


________________________________

			From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
			Sent: Friday, August 28, 2009 9:56 AM
			To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
			Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
			Subject: New version of PSKC
		=09
		=09

			Ladies and Gentlemen,

			Please find attached the new version of PSKC.

			=20

			Changes:

			=20

			*	incorporated all of the feedback from Andrea and Sean.=20
			*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
			*	Corrected AES example to include (prepend) IV inline with XMLENC =
spec and mentions IV handling.=20

			=20

			I have one big problem:

			=20

			The samples that Ming sent out for PBE and RSA do not match the ones =
in the spec.

			=20

			Especially the PBE is different form the one Ming already says was =
corrected.

			=20

			Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we =
sure we are aligned here?

			=20

			This is the only thing that needs to be clarified.

			=20

			Otherwise,

			What do I need to do now.

			=20

			Do I just submit or send to Russ and Pasi directly?

			=20

			Philip

			=20

			=20

			________________________________

			=20

			Philip Hoyer=20

			=20

			Senior Architect - Office of CTO

			=20

			ActivIdentity (UK)

			117 Waterloo Road

			London SE1 8UL

			=20

			Telephone: +44 (0) 20 7960 0220

			Fax: +44 (0) 20 7902 1985

			=20

			Private and confidential: This message and any attachments may =
contain

			privileged / confidential information. If you are not an intended =
recipient,

			you must not copy, distribute, discuss or take any action in reliance =
on it.

			If you have received this communication in error, please notify the =
sender

			and delete this message immediately.

			=20


------_=_NextPart_001_01CA30A5.A09FE5A1
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML dir=3Dltr><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.3562" name=3DGENERATOR>
<STYLE>font-face {
	FONT-FAMILY: Wingdings
}
font-face {
	FONT-FAMILY: Verdana
}
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
P.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
LI.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
DIV.CrossReference {
	FONT-SIZE: 9pt; MARGIN: 6pt 0pt 0pt 42.5pt; COLOR: #3366ff; =
FONT-FAMILY: Verdana; TEXT-ALIGN: justify; TEXT-DECORATION: underline
}
SPAN.EmailStyle18 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
OL {
	MARGIN-BOTTOM: 0pt
}
UL {
	MARGIN-BOTTOM: 0pt
}
</STYLE>

<SCRIPT language=3Djavascript =
id=3Ddsbaseurl>g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcard.com/e=
xchange/philip.hoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_text.ht=
m";</SCRIPT>
</HEAD>
<BODY lang=3DEN-US vLink=3Dpurple link=3Dblue>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D848154816-08092009>Hi Philip,</SPAN></FONT></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D848154816-08092009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D848154816-08092009>xenc:EncryptionMethod allows &lt;any&gt; =
parameters,=20
and the usage is xenc compliant. The usage is similar to PKCS#5 XML. =
Please=20
check this&nbsp;example from PKCS#5 page 7: <A=20
href=3D"ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf">ftp=
://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf</A></SPAN></FON=
T></DIV>
<DIV dir=3Dltr align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2><SPAN=20
class=3D848154816-08092009></SPAN></FONT>&nbsp;</DIV>
<DIV dir=3Dltr align=3Dleft><SPAN class=3D848154816-08092009>
<P align=3Dleft><FONT face=3DArial color=3D#0000ff =
size=3D2>&lt;xenc:EncryptedData<SPAN=20
class=3D848154816-08092009> </SPAN>xmlns:pkcs-5=3D</FONT><A=20
href=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#"><FON=
T=20
face=3DArial=20
size=3D2>http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#</FON=
T></A><FONT=20
face=3DArial><FONT color=3D#0000ff><FONT size=3D2><SPAN =
class=3D848154816-08092009>=20
</SPAN>xmlns:xsi=3D</FONT></FONT></FONT><A=20
href=3D"http://www.w3.org/2001/XMLSchema-instance"><FONT face=3DArial=20
size=3D2>http://www.w3.org/2001/XMLSchema-instance</FONT></A><FONT =
size=3D2><FONT=20
color=3D#0000ff><SPAN class=3D848154816-08092009><FONT face=3DArial>=20
</FONT></SPAN><FONT face=3DArial>xmlns:ds=3D<A=20
href=3D"http://www.w3.org/2000/09/xmldsig#">http://www.w3.org/2000/09/xml=
dsig#</A><SPAN=20
class=3D848154816-08092009> </SPAN></FONT></FONT><FONT face=3DArial=20
color=3D#0000ff>xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#"&gt;</FON=
T></FONT></P>
<P align=3Dleft><FONT face=3DArial><FONT color=3D#0000ff=20
size=3D2><STRONG>&lt;xenc:EncryptionMethod<SPAN =
class=3D848154816-08092009>=20
</SPAN>Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-=
5#pbes2"&gt;</STRONG></FONT></FONT></P>
<P align=3Dleft><FONT face=3DArial><FONT color=3D#0000ff><STRONG><FONT =
size=3D2><SPAN=20
class=3D848154816-08092009>&nbsp;&nbsp;&nbsp;=20
</SPAN>&lt;pkcs-5:PBES2-params&gt;</FONT></STRONG></FONT></FONT></P>
<P align=3Dleft><SPAN class=3D848154816-08092009><FONT face=3DArial =
color=3D#0000ff=20
size=3D2><STRONG>...</STRONG></FONT></SPAN></P>
<P align=3Dleft><SPAN class=3D848154816-08092009><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>In PSKC, we make the KDF parameters out of the encryption =
method into the=20
common EncryptionKey element. I&nbsp;consider&nbsp;pkcs-5#pbes2 is an =
encryption=20
algorithm that is clearer. If we just use aes128-cbc in the encryption =
method,=20
we don't have a good place to indicate pbes2. If we miss pbes2 flag, it =
isn't=20
fully compliant with PKCS#5, I think.</FONT></SPAN></P>
<P align=3Dleft><SPAN class=3D848154816-08092009><FONT face=3DArial =
color=3D#0000ff=20
size=3D2>- Ming</FONT></SPAN></SPAN></P></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
  <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Philip Hoyer=20
  [mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Monday, September =
07, 2009=20
  6:39 AM<BR><B>To:</B> Pei, Mingliang; Hannes.Tschofenig@gmx.net; =
Phillip=20
  Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, =
Andrea; Magnus=20
  Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version of=20
  PSKC<BR></FONT><BR></DIV>
  <DIV></DIV>
  <DIV id=3DidOWAReplyText285 dir=3Dltr>
  <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 =
size=3D2>Ming,</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>I do not understand why the =
protected=20
  HOTP key value (secret) should know anything about how the key was=20
  derived.</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>I mean at the end the =
transported key is=20
  encrypted with AES-128-CBC.</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>So would it not be cleaner =
to leave all=20
  the derivation related business to the element that is under=20
  KeyContainer?</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Ii would also assume =
that:</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>'=20
  <DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>
  <DIV dir=3Dltr>
  <DIV=20
  =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;pskc:EncryptedValue=20
  =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:EncryptionMethod=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
  =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;'</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>is NOT XMLenc standard compliant whereas:</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV=20
  =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:EncryptionMethod=20
  =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG>=20
  =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  &lt;xenc:CipherData&gt;<BR>&nbsp;is</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV>
  <DIV dir=3Dltr>&nbsp;</DIV></DIV></FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2>Philip</FONT></DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
  <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
  <DIV dir=3Dltr><BR>
  <HR tabIndex=3D-1>
  <FONT face=3DTahoma size=3D2><B>From:</B> Pei, Mingliang=20
  [mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
21.48<BR><B>To:</B>=20
  Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani;=20
  Sean Turner<BR><B>Cc:</B> Doherty, Andrea; Magnus Nystr=F6m;=20
  KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>
  <DIV dir=3Dltr>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>The reason is that DerivedKey portion only =
describe how a=20
  key is derived for a desired length, not indicating how a key is used. =
For=20
  PBES2, the encryption scheme parameter is required. It should either =
go to=20
  PKCS#5 parameters, or EncryptionMethod part of the =
xenc:EncryptedDataType. We=20
  chose the second one. The encrytion key element contains only the key =
portion=20
  as we have been doing, similar to the pre-shared key case. It is =
consistent.=20
  The common element EncryptionKey includes the key data information, =
not the=20
  encryption algorithm information.</FONT></SPAN></DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
  <DIV dir=3Dltr align=3Dleft><SPAN class=3D048384019-02092009><FONT =
face=3DArial=20
  color=3D#0000ff size=3D2>- Ming</FONT></SPAN></DIV><BR>
  <BLOCKQUOTE dir=3Dltr=20
  style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px =
solid; MARGIN-RIGHT: 0px">
    <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
    <HR tabIndex=3D-1>
    <FONT face=3DTahoma size=3D2><B>From:</B> Philip Hoyer=20
    [mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Wednesday, =
September 02,=20
    2009 5:18 AM<BR><B>To:</B> Pei, Mingliang; =
Hannes.Tschofenig@gmx.net;=20
    Phillip Hallam-Baker; Salah Machani; Sean Turner<BR><B>Cc:</B> =
Doherty,=20
    Andrea; Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> RE: New version =
of=20
    PSKC<BR></FONT><BR></DIV>
    <DIV></DIV>
    <DIV id=3DidOWAReplyText7818 dir=3Dltr>
    <DIV dir=3Dltr><FONT face=3DArial color=3D#000000 size=3D2>Ming and=20
all,</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Please see questions and =
explanation of=20
    my perplexion below. Bear with me.</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Which MAC key for which=20
    example?</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>My main concern are the =
PBE examples=20
    that you generated and the existing one forget for a moment the =
namsespace=20
    change.</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Following are some =
differences=20
    <STRONG>(highlighted in bold</STRONG>):</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>SPEC ONE:</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Lets start with an =
extract of the=20
    existing one in the spec:</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod=20
    <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1"&gt;<BR>&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;=20
    &lt;xenc:EncryptionMethod=20
    =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
<STRONG>Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"</STRONG=
>/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
    =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;xenc:CipherValue&gt;<BR>2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhI=
joTY/dX4SkUAbQ<BR>SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<BR>&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =

    =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;/pskc:MACKey&gt;<BR>&nbsp;&nbsp;&nbsp; =
&lt;/pskc:MACMethod&gt;</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>GENERATED ONE:</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>pskc:MACMethod</FONT><FONT color=3D#ff0000>=20
    Algorithm</FONT><FONT=20
    =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2000/09/xmldsig#hmac-sha1<FO=
NT=20
    color=3D#0000ff>"&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>pskc:MACKey</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000>=20
    <STRONG>Algorithm</STRONG></FONT><STRONG><FONT=20
    =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2</STRONG><FONT=20
    color=3D#0000ff><STRONG>"</STRONG>&gt;</P></FONT>
    <P dir=3Dltr><STRONG><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000>=20
    Algorithm</FONT><FONT=20
    =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT=20
    color=3D#0000ff>"/&gt;</P></FONT></STRONG>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>xenc:EncryptionMethod</FONT><FONT=20
color=3D#0000ff>&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</FONT></P>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:CipherValue</FONT><FONT=20
    =
color=3D#0000ff>&gt;</FONT>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx<FONT=20
    color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT=20
    color=3D#0000ff>&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>pskc:MACKey</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
    <P dir=3Dltr><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>pskc:MACMethod</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT></DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>Now I do not understand why we need EncryptionScheme =
at all.=20
    Should it not be as&nbsp;the&nbsp;one in the spec?</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>I have the same question about EncryptionScheme later =
in both=20
    examples:</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>SPEC ONE:</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>....</DIV>
    <DIV dir=3Dltr>
    <DIV dir=3Dltr>&lt;pskc:Secret&gt;</DIV>
    <DIV dir=3Dltr>
    <DIV=20
    =
dir=3Dltr>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;pskc:EncryptedValue=20
    =
Id=3D"ED"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;xenc:EncryptionMethod=20
    =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
Algorithm=3D<BR>"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#p=
bes2"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;=20
    =
&lt;pskc:EncryptionScheme<BR>Algorithm=3D"http://www.w3.org/2001/04/xmlen=
c#aes128-cbc"/&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
    =
&lt;/xenc:EncryptionMethod&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;/xenc:CipherData&gt;<BR></DIV></DIV></DIV>
    <DIV dir=3Dltr>
    <DIV dir=3Dltr>GENERATED ONE:</DIV><FONT color=3D#0000ff>
    <DIV dir=3Dltr></FONT>
    <P><FONT color=3D#800000>ryptedValue</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
    <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:EncryptionMethod</FONT><FONT color=3D#ff0000>=20
    <STRONG>Algorithm</STRONG></FONT><STRONG><FONT=20
    =
color=3D#0000ff>=3D"</FONT>http://www.rsasecurity.com/rsalabs/pkcs/schema=
s/pkcs-5#pbes2<FONT=20
    color=3D#0000ff>"&gt;</P></FONT></STRONG>
    <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>pskc:EncryptionScheme</FONT><FONT color=3D#ff0000>=20
    Algorithm</FONT><FONT=20
    =
color=3D#0000ff>=3D"</FONT>http://www.w3.org/2001/04/xmlenc#aes128-cbc<FO=
NT=20
    color=3D#0000ff>"/&gt;</P></FONT>
    <P><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>xenc:EncryptionMethod</FONT><FONT=20
color=3D#0000ff>&gt;</P></FONT>
    <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:CipherData</FONT><FONT =
color=3D#0000ff>&gt;</P></FONT>
    <P><FONT color=3D#0000ff>&lt;</FONT><FONT=20
    color=3D#800000>xenc:CipherValue</FONT><FONT=20
    =
color=3D#0000ff>&gt;</FONT>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPY=
Zu6V+A4aEn032yCr4f<FONT=20
    color=3D#0000ff>&lt;/</FONT><FONT =
color=3D#800000>xenc:CipherValue</FONT><FONT=20
    color=3D#0000ff>&gt;</P></FONT>
    <P><FONT color=3D#0000ff>&lt;/</FONT><FONT=20
    color=3D#800000>xenc:CipherData</FONT><FONT=20
color=3D#0000ff>&gt;</P></FONT></DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>
    <DIV dir=3Dltr>Why do we need EncryptionScheme at all? Since we know =
it is a=20
    derived key in the main element?</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>Should these not be like the preshared key =
one?:</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV dir=3Dltr>PRE-SHARED-KEY</DIV>
    <DIV dir=3Dltr>&nbsp;</DIV>
    <DIV=20
    =
dir=3Dltr>&lt;Secret&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;=20
    &lt;xenc:EncryptionMethod=20
    =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<ST=
RONG>=20
    =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/</STRONG>&gt;<B=
R>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;=20
    =
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<BR>&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;=20
    =
&lt;/xenc:CipherValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;/xenc:CipherData&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;/EncryptedValue&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;=20
    =
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    =
&lt;/ValueMAC&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
    &lt;/Secret&gt;<BR></DIV></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Also should we align the =
examples that=20
    they use prefixed namespace for pskc. e.g. &lt;pskc:element&gt; I =
rather=20
    have default namespace of pskc so that it=20
    reads:&nbsp;&lt;element&gt;.</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Additional question, =
should we add the=20
    xenc11 import statement to the schema?</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2>Philip</FONT></DIV>
    <DIV dir=3Dltr><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></DIV>
    <DIV dir=3Dltr><BR>
    <HR tabIndex=3D-1>
    <FONT face=3DTahoma size=3D2><B>From:</B> Pei, Mingliang=20
    [mailto:mpei@verisign.com]<BR><B>Sent:</B> Wed 02/09/2009 =
7.43<BR><B>To:</B>=20
    Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =

    Machani; Sean Turner<BR><B>Cc:</B> Doherty, Andrea; Magnus =
Nystr=F6m;=20
    KEYPROV<BR><B>Subject:</B> RE: New version of =
PSKC<BR></FONT><BR></DIV>
    <DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>Hi Philip,</FONT></SPAN></DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>Please see the forwarded email that =
includes the=20
    examples from my implementation that I sent earlier. The latest =
draft=20
    doesn't seem to have the CipherValue for the MAC key right. Please =
update it=20
    to</FONT></SPAN></DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN=20
    =
class=3D790313805-02092009>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsP=
OLTfUvoU2dStyOwYZx</DIV></SPAN>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>Thanks,</FONT></SPAN></DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2></FONT></SPAN>&nbsp;</DIV>
    <DIV dir=3Dltr align=3Dleft><SPAN class=3D790313805-02092009><FONT =
face=3DArial=20
    color=3D#0000ff size=3D2>- Ming</FONT></SPAN></DIV><BR>
    <BLOCKQUOTE dir=3Dltr=20
    style=3D"PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff =
2px solid; MARGIN-RIGHT: 0px">
      <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr =
align=3Dleft>
      <HR tabIndex=3D-1>
      <FONT face=3DTahoma size=3D2><B>From:</B> Philip Hoyer=20
      [mailto:phoyer@actividentity.com] <BR><B>Sent:</B> Friday, August =
28, 2009=20
      9:56 AM<BR><B>To:</B> Hannes.Tschofenig@gmx.net; Phillip =
Hallam-Baker;=20
      Pei, Mingliang; Salah Machani; Sean Turner<BR><B>Cc:</B> Doherty, =
Andrea;=20
      Magnus Nystr=F6m; KEYPROV<BR><B>Subject:</B> New version of=20
      PSKC<BR></FONT><BR></DIV>
      <DIV></DIV>
      <DIV class=3DSection1>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Ladies and=20
      Gentlemen,</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Please find attached =
the new=20
      version of PSKC.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Changes:</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <UL style=3D"MARGIN-TOP: 0pt" type=3Ddisc>
        <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
        style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">incorporated all =
of the=20
        feedback from Andrea and Sean.</SPAN></FONT>=20
        <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
        style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">reference name =
change to the=20
        new DerivedKey element (moved to XMLEnc11)</SPAN></FONT>=20
        <LI class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
        style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Corrected AES =
example to=20
        include (prepend) IV inline with XMLENC spec and mentions IV=20
        handling.</SPAN></FONT> </LI></UL>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">I have one big=20
      problem:</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">The samples that =
Ming sent out=20
      for PBE and RSA do not match the ones in the =
spec.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Especially the PBE =
is=20
      different form the one Ming already says was =
corrected.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Based on the new XML =
Enc 1.1=20
      spec for PBE and DerivedKeys. Are we sure we are aligned=20
      here?</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">This is the only =
thing that=20
      needs to be clarified.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Otherwise,</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">What do I need to do =

      now.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: Arial">Do I just submit or =
send to=20
      Russ and Pasi directly?</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial">Philip</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3DArial size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: =
Arial"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">________________________________</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Philip Hoyer =

      </SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Senior =
Architect -=20
      Office of CTO</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">ActivIdentity=20
      (UK)</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">117&nbsp;Waterloo=20
      Road</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'">London</SPAN></FONT><FONT=20
      face=3D"Courier New" size=3D2><SPAN lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'"> SE1=20
      8UL</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Telephone: =
+44 (0) 20=20
      7960 0220</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Fax: +44 (0) =
20 7902=20
      1985</SPAN></FONT><SPAN lang=3DEN-GB></SPAN></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT>&nbsp;</P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">Private and=20
      confidential: This message and any attachments may=20
      contain</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">privileged / =

      confidential information. If you are not an intended=20
      recipient,</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">you must not =
copy,=20
      distribute, discuss or take any action in reliance on=20
it.</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">If you have =
received=20
      this communication in error, please notify the =
sender</SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Courier New" size=3D2><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier New'">and delete =
this=20
      message immediately.</SPAN></FONT><FONT face=3D"Courier New" =
size=3D2><SPAN=20
      lang=3DEN-GB=20
      style=3D"FONT-SIZE: 10pt; FONT-FAMILY: 'Courier =
New'"></SPAN></FONT></P>
      <P class=3DMsoNormal><FONT face=3D"Times New Roman" size=3D3><SPAN =
lang=3DEN-GB=20
      style=3D"FONT-SIZE: =
12pt"></SPAN></FONT>&nbsp;</P></DIV></BLOCKQUOTE></NOSCRIPT></DIV></BLOCK=
QUOTE></NOSCRIPT>
  <SCRIPT language=3Djavascript id=3Ddstb-id>if(typeof(dstb)!=3D =
"undefined"){ dstb();}</SCRIPT>
  </DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01CA30A5.A09FE5A1--

From phoyer@actividentity.com  Thu Sep 17 07:40:07 2009
Return-Path: <phoyer@actividentity.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 3A0EB3A6837 for <keyprov@core3.amsl.com>; Thu, 17 Sep 2009 07:40:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.203
X-Spam-Level: *
X-Spam-Status: No, score=1.203 tagged_above=-999 required=5 tests=[AWL=-1.452,  BAYES_50=0.001, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id n7bheyMJfZK1 for <keyprov@core3.amsl.com>; Thu, 17 Sep 2009 07:39:51 -0700 (PDT)
Received: from frhub1.activcard.fr (frhub1.activcard.fr [91.151.120.133]) by core3.amsl.com (Postfix) with ESMTP id 6989B3A67A1 for <keyprov@ietf.org>; Thu, 17 Sep 2009 07:39:47 -0700 (PDT)
Received: from sur-corp-ex-02.corp.ad.activcard.com (sur-corp-ex-02.corp.ad.activcard.com [192.168.33.40]) by frhub1.activcard.fr (Postfix) with ESMTP id C20AD183902; Thu, 17 Sep 2009 16:40:37 +0200 (CEST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA37A4.E7F4522A"
Date: Thu, 17 Sep 2009 16:41:13 +0200
Message-ID: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7B06@sur-corp-ex-02.corp.ad.activcard.com>
In-Reply-To: <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A0EF@mou1wnexmb10.vcorp.ad.vrsn.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8AEIVBEADuz2wnADjrF7ABv7BQgA==
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A003@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A276B4@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A0EF@mou1wnexmb10.vcorp.ad.vrsn.com>
From: "Philip Hoyer" <phoyer@actividentity.com>
To: "Pei, Mingliang" <mpei@verisign.com>, =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>
Cc: "Doherty, Andrea" <adoherty@rsa.com>, Salah Machani <SMachani@DIVERSINET.COM>, KEYPROV <keyprov@ietf.org>, Phillip Hallam-Baker <hallam@gmail.com>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 17 Sep 2009 14:40:07 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA37A4.E7F4522A
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Magnus and Ming,

=20

In view of the new xmlenc11 and the below thread could you please review =
and suggest a resolution for use of PBE in PSKC.

=20

This is the last issue for PSKC and I want to close this asap.

=20

Also please note that the xenc11 spec states that a PRF SHALL be =
present:

=20

The PBKDF2 key derivation algorithm is defined in PKCS #5 [PKCS5 =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5#ref-PKCS5>=
 ] and an XML schema for its parameters is defined in PKCS #5 v2.0 Amd. =
1 [PKCS5Amd1 =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5Amd1#ref-PK=
CS5Amd1> ]. The pkcs-5:PBKDF2-params element type defined in the latter =
document shall be used as a child of xenc11:KeyDerivationMethod when =
using this key derivation algorithm. Also, the Algorithm attribute of =
the pkcs-5:PRF element SHALL be present. It is RECOMMENDED to use =
HMAC-SHA256 as the PRF algorithm (see [XML-DSIG =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-XML-DSIG#ref-XML=
-DSIG> ], [HMAC =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-HMAC#ref-HMAC> =
] ).=20

An example of an xenc11:DerivedKey element with this key derivation =
algorithm is:=20

<xenc11:DerivedKey
  xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#"
  xmlns:xenc11=3D"http://www.w3.org/2009/xmlenc11#"
  =
xmlns:pkcs-5=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-=
0#">
  <xenc11:KeyDerivationMethod=20
    =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbkdf=
2">
    <pkcs-5:PBKDF2-params>
      <Salt>
        <Specified>Df3dRAhjGh8=3D</Specified>
      </Salt>
      <IterationCount>2000</IterationCount>
      <KeyLength>16</KeyLength>
      <PRF =
Algorithm=3D"http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/>
    </pkcs-5:PBKDF2-params>
  </xenc11:KeyDerivationMethod>
  <xenc:ReferenceList>
    <xenc:DataReference URI=3D"#ED"/>
  </xenc:ReferenceList>
  <xenc11:MasterKeyName>Our shared secret</xenc11:MasterKeyName>
</xenc11:DerivedKey>

=20

Whereas we have in the current spec:

=20

=20

<pskc:KeyContainer

    xmlns:pskc=3D"urn:ietf:params:xml:ns:keyprov:pskc"

    xmlns:xenc11=3D"http://www.w3.org/2009/xmlenc11#"

    xmlns:pkcs5=3D

    "http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#"

    xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#" Version=3D"1.0">

      <pskc:EncryptionKey>

          <xenc11:DerivedKey>

              <xenc11:KeyDerivationMethod

                Algorithm=3D

   "http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#pbkdf2">

                  <pkcs5:PBKDF2-params>

                      <Salt>

                          <Specified>Ej7/PEpyEpw=3D</Specified>

                      </Salt>

                      <IterationCount>1000</IterationCount>

                      <KeyLength>16</KeyLength>

                      <PRF/>

                  </pkcs5:PBKDF2-params>

              </dkey:KeyDerivationMethod>

              <xenc:ReferenceList>

                  <xenc:DataReference URI=3D"#ED"/>

              </xenc:ReferenceList>

              <xenc11:MasterKeyName>My Password 1</xenc11:MasterKeyName>

          </xenc11:DerivedKey>

      </pskc:EncryptionKey>

.....

=20

=20

Which does NOT have a PRF.

=20

=20

=20

Thanks,

Philip

=20

------- New sample ----------------------------

=20

=20

<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>

<pskc:KeyContainer xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:pskc=3D"urn:ietf:params:xml:ns:keyprov:pskc" =
xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:dkey=3D"http://www.w3.org/2009/xmlsec-derivedkey#" =
xmlns:pkcs5=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0=
#" Version=3D"1.0" Id=3D"KC0002">

    <pskc:EncryptionKey>

        <dkey:DerivedKey>

            <dkey:KeyDerivationMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#p=
bkdf2">

                <pkcs5:PBKDF2-params>

                    <Salt>

                        <Specified>Ej7/PEpyEpw=3D</Specified>

                    </Salt>

                    <IterationCount>1000</IterationCount>

                    <KeyLength>16</KeyLength>

                </pkcs5:PBKDF2-params>

            </dkey:KeyDerivationMethod>

            <xenc:ReferenceList>

                <xenc:DataReference URI=3D"#ED"/>

            </xenc:ReferenceList>

            <dkey:MasterKeyName>Passphrase1</dkey:MasterKeyName>

        </dkey:DerivedKey>

    </pskc:EncryptionKey>

    <pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

        <pskc:MACKey>

            <xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

                <pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

            </xenc:EncryptionMethod>

            <xenc:CipherData>

                =
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

            </xenc:CipherData>

        </pskc:MACKey>

    </pskc:MACMethod>

    <pskc:KeyPackage>

        <pskc:DeviceInfo>

            <pskc:Manufacturer>TokenVendorAcme</pskc:Manufacturer>

            <pskc:SerialNo>987654321</pskc:SerialNo>

            <pskc:StartDate>2009-07-29Z</pskc:StartDate>

            <pskc:ExpiryDate>2014-07-29Z</pskc:ExpiryDate>

        </pskc:DeviceInfo>

        <pskc:CryptoModuleInfo>

            <pskc:Id>CM_ID_001</pskc:Id>

        </pskc:CryptoModuleInfo>

        <pskc:Key Id=3D"MBK000000001" =
Algorithm=3D"urn:ietf:params:xml:ns:keyprov:pskc#hotp">

            <pskc:Issuer>Example-Issuer</pskc:Issuer>

            <pskc:AlgorithmParameters>

                <pskc:ResponseFormat Length=3D"6" Encoding=3D"DECIMAL"/>

            </pskc:AlgorithmParameters>

            <pskc:Data>

                <pskc:Secret>

                    <pskc:EncryptedValue>

                        <xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

                            <pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

                        </xenc:EncryptionMethod>

                        <xenc:CipherData>

                            =
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

                        </xenc:CipherData>

                    </pskc:EncryptedValue>

                    =
<pskc:ValueMAC>LP6xMvjtypbfT9PdkJhBZ+D6O4w=3D</pskc:ValueMAC>

                </pskc:Secret>

                <pskc:Counter>

                    <pskc:PlainValue>0</pskc:PlainValue>

                </pskc:Counter>

            </pskc:Data>

            <pskc:Policy>

                <pskc:KeyUsage>OTP</pskc:KeyUsage>

            </pskc:Policy>

        </pskc:Key>

    </pskc:KeyPackage>

</pskc:KeyContainer>

=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]=20
Sent: Tuesday, September 08, 2009 5:59 PM
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

=20

Hi Philip,

=20

xenc:EncryptionMethod allows <any> parameters, and the usage is xenc =
compliant. The usage is similar to PKCS#5 XML. Please check this example =
from PKCS#5 page 7: =
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf

=20

<xenc:EncryptedData =
xmlns:pkcs-5=3Dhttp://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0=
# <http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0>  =
xmlns:xsi=3Dhttp://www.w3.org/2001/XMLSchema-instance =
<http://www.w3.org/2001/XMLSchema-instance>  =
xmlns:ds=3Dhttp://www.w3.org/2000/09/xmldsig# =
<http://www.w3.org/2000/09/xmldsig>  =
xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#">

<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

    <pkcs-5:PBES2-params>

...

In PSKC, we make the KDF parameters out of the encryption method into =
the common EncryptionKey element. I consider pkcs-5#pbes2 is an =
encryption algorithm that is clearer. If we just use aes128-cbc in the =
encryption method, we don't have a good place to indicate pbes2. If we =
miss pbes2 flag, it isn't fully compliant with PKCS#5, I think.

- Ming

________________________________

From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
Sent: Monday, September 07, 2009 6:39 AM
To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

Ming,

I do not understand why the protected HOTP key value (secret) should =
know anything about how the key was derived.

=20

I mean at the end the transported key is encrypted with AES-128-CBC.

=20

So would it not be cleaner to leave all the derivation related business =
to the element that is under KeyContainer?

=20

Ii would also assume that:

'=20

<pskc:Secret>

                <pskc:EncryptedValue Id=3D"ED">
                    <xenc:EncryptionMethod=20
                        Algorithm=3D
"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
                        <pskc:EncryptionScheme
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>'

=20

=20

is NOT XMLenc standard compliant whereas:

=20

<Secret>
                    <EncryptedValue>
                        <xenc:EncryptionMethod=20
            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                        <xenc:CipherData>
 is

=20

=20

=20

=20

Philip

=20

=20

=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]
Sent: Wed 02/09/2009 21.48
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

The reason is that DerivedKey portion only describe how a key is derived =
for a desired length, not indicating how a key is used. For PBES2, the =
encryption scheme parameter is required. It should either go to PKCS#5 =
parameters, or EncryptionMethod part of the xenc:EncryptedDataType. We =
chose the second one. The encrytion key element contains only the key =
portion as we have been doing, similar to the pre-shared key case. It is =
consistent. The common element EncryptionKey includes the key data =
information, not the encryption algorithm information.

=20

- Ming

	=20

=09
________________________________


	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Wednesday, September 02, 2009 5:18 AM
	To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC

	Ming and all,

	=20

	Please see questions and explanation of my perplexion below. Bear with =
me.

	=20

	Which MAC key for which example?

	=20

	My main concern are the PBE examples that you generated and the =
existing one forget for a moment the namsespace change.

	=20

	Following are some differences (highlighted in bold):

	=20

	SPEC ONE:

	Lets start with an extract of the existing one in the spec:

	=20

	    <pskc:MACMethod=20
	        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
	        <pskc:MACKey>
	            <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	            <xenc:CipherData>
	                <xenc:CipherValue>
	2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
	SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
	                </xenc:CipherValue>
	            </xenc:CipherData>
	        </pskc:MACKey>
	    </pskc:MACMethod>

	=20

	GENERATED ONE:

	=20

	<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

	<pskc:MACKey>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

	</xenc:CipherData>

	</pskc:MACKey>

	</pskc:MACMethod>

	=20

	Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?

	=20

	=20

	I have the same question about EncryptionScheme later in both examples:

	=20

	=20

	SPEC ONE:

	=20

	....

	<pskc:Secret>

	                <pskc:EncryptedValue Id=3D"ED">
	                    <xenc:EncryptionMethod=20
	                        Algorithm=3D
	"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
	                        <pskc:EncryptionScheme
	Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        </xenc:EncryptionMethod>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
	                        </xenc:CipherValue>
	                    </xenc:CipherData>

	GENERATED ONE:

	ryptedValue>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

	</xenc:CipherData>

	=20

	Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?

	=20

	Should these not be like the preshared key one?:

	=20

	PRE-SHARED-KEY

	=20

	<Secret>
	                    <EncryptedValue>
	                        <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
	                            </xenc:CipherValue>
	                        </xenc:CipherData>
	                    </EncryptedValue>
	                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D            =
       =20
	                    </ValueMAC>
	                </Secret>

	=20

	Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.

	=20

	Additional question, should we add the xenc11 import statement to the =
schema?

	=20

	Philip

	=20

	=20

=09
________________________________


	From: Pei, Mingliang [mailto:mpei@verisign.com]
	Sent: Wed 02/09/2009 7.43
	To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC

	Hi Philip,

	=20

	Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to

	=20

	2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx

	=20

	Thanks,

	=20

	- Ming

		=20

	=09
________________________________


		From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
		Sent: Friday, August 28, 2009 9:56 AM
		To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: New version of PSKC

		Ladies and Gentlemen,

		Please find attached the new version of PSKC.

		=20

		Changes:

		=20

		*	incorporated all of the feedback from Andrea and Sean.=20
		*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
		*	Corrected AES example to include (prepend) IV inline with XMLENC =
spec and mentions IV handling.=20

		=20

		I have one big problem:

		=20

		The samples that Ming sent out for PBE and RSA do not match the ones =
in the spec.

		=20

		Especially the PBE is different form the one Ming already says was =
corrected.

		=20

		Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure =
we are aligned here?

		=20

		This is the only thing that needs to be clarified.

		=20

		Otherwise,

		What do I need to do now.

		=20

		Do I just submit or send to Russ and Pasi directly?

		=20

		Philip

		=20

		=20

		________________________________

		=20

		Philip Hoyer=20

		=20

		Senior Architect - Office of CTO

		=20

		ActivIdentity (UK)

		117 Waterloo Road

		London SE1 8UL

		=20

		Telephone: +44 (0) 20 7960 0220

		Fax: +44 (0) 20 7902 1985

		=20

		Private and confidential: This message and any attachments may contain

		privileged / confidential information. If you are not an intended =
recipient,

		you must not copy, distribute, discuss or take any action in reliance =
on it.

		If you have received this communication in error, please notify the =
sender

		and delete this message immediately.

		=20

=20


------_=_NextPart_001_01CA37A4.E7F4522A
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"country-region"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"address"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
font-face {
	FONT-FAMILY: Wingdings
}
font-face {
	FONT-FAMILY: Verdana
}

 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0pt;
	mso-margin-bottom-alt:auto;
	margin-left:0pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
code
	{font-family:"Courier New";
	font-weight:normal;}
pre
	{margin-top:0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:24.0pt;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.CrossReference, li.CrossReference, div.CrossReference
	{margin-top:6.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:42.5pt;
	margin-bottom:.0001pt;
	text-align:justify;
	font-size:9.0pt;
	font-family:Verdana;
	color:#3366FF;
	text-decoration:underline;}
p.crossreference0, li.crossreference0, div.crossreference0
	{margin-top:6.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:42.5pt;
	margin-bottom:.0001pt;
	text-align:justify;
	font-size:9.0pt;
	font-family:Verdana;
	color:#3366FF;
	text-decoration:underline;}
span.emailstyle18
	{font-family:Arial;
	color:windowtext;}
span.EmailStyle22
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:434449234;
	mso-list-template-ids:1397249660;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0pt;}
ul
	{margin-bottom:0pt;}
-->
</style>

<script id=3D"dsbaseurl" language=3D"JavaScript">
g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcard.com/exchange/philip.=
hoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_text.htm";
</script>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Magnus and =
Ming,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>In view of the new xmlenc11 and the =
below
thread could you please review and suggest a resolution for use of PBE =
in PSKC.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>This is the last issue for PSKC and =
I want
to close this asap.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Also please note that the xenc11 =
spec
states that a PRF SHALL be present:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3D3 color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-size:12.0pt;
font-family:Arial;color:black'>The PBKDF2 key derivation algorithm is =
defined
in PKCS #5 [<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5#ref=
-PKCS5">PKCS5</a>]
and an XML schema for its parameters is defined in PKCS #5 v2.0 Amd. 1 =
[<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5Amd1=
#ref-PKCS5Amd1">PKCS5Amd1</a>].
The </span></font><code><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>pkcs-5:PBKDF2-params</span></font>=
</code><font
color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-family:Arial;color:black'>
element type defined in the latter document shall be used as a child of =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>xenc11:KeyDerivationMethod</span></font></code><font =
color=3Dblack
face=3DArial><span lang=3DEN style=3D'font-family:Arial;color:black'> =
when using this
key derivation algorithm. Also, the </span></font><code><font size=3D2
color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>Algorithm</span></font></code><font color=3Dblack =
face=3DArial><span
lang=3DEN style=3D'font-family:Arial;color:black'> attribute of the =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>pkcs-5:PRF</span></font></code><font color=3Dblack =
face=3DArial><span
lang=3DEN style=3D'font-family:Arial;color:black'> element SHALL be =
present. It is
RECOMMENDED to use HMAC-SHA256 as the PRF algorithm (see [<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-XML-DSIG#=
ref-XML-DSIG">XML-DSIG</a>],
[<a =
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-HMAC#ref-=
HMAC">HMAC</a>]
). <o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-size:12.0pt;
font-family:Arial;color:black'>An example of an =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>xenc11:DerivedKey</span></font></code><font color=3Dblack
face=3DArial><span lang=3DEN style=3D'font-family:Arial;color:black'> =
element with
this key derivation algorithm is: <o:p></o:p></span></font></p>

<pre style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&lt;xenc11:DerivedKey<o:p></o:p></=
span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
xmlns:xsi=3D&quot;http://www.w3.org/2001/XMLSchema-instance&quot;<o:p></o=
:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;<o:p></o:p></sp=
an></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
xmlns:xenc11=3D&quot;http://www.w3.org/2009/xmlenc11#&quot;<o:p></o:p></s=
pan></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
xmlns:pkcs-5=3D&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs=
-5v2-0#&quot;&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
&lt;xenc11:KeyDerivationMethod <o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0Algorithm=3D&quot;http=
://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbkdf2&quot;&gt;<o:p><=
/o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0 =
&lt;pkcs-5:PBKDF2-params&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0 =
&lt;Salt&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0=A0=A0 =
&lt;Specified&gt;Df3dRAhjGh8=3D&lt;/Specified&gt;<o:p></o:p></span></font=
></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0 =
&lt;/Salt&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0 =
&lt;IterationCount&gt;2000&lt;/IterationCount&gt;<o:p></o:p></span></font=
></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0 =
&lt;KeyLength&gt;16&lt;/KeyLength&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0=A0=A0 =
</span></font><b><font
color=3Dblack><span lang=3DDE =
style=3D'color:black;font-weight:bold'>&lt;PRF =
Algorithm=3D&quot;http://www.w3.org/2001/04/xmldsig-more#hmac-sha256&quot=
;/&gt;<o:p></o:p></span></font></b></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DDE style=3D'font-size:10.0pt;color:black'>=A0=A0=A0 =
</span></font><font
color=3Dblack><span lang=3DEN =
style=3D'color:black'>&lt;/pkcs-5:PBKDF2-params&gt;<o:p></o:p></span></fo=
nt></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
&lt;/xenc11:KeyDerivationMethod&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
&lt;xenc:ReferenceList&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0=A0=A0 =
&lt;xenc:DataReference =
URI=3D&quot;#ED&quot;/&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
&lt;/xenc:ReferenceList&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>=A0 =
&lt;xenc11:MasterKeyName&gt;Our shared =
secret&lt;/xenc11:MasterKeyName&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&lt;/xenc11:DerivedKey&gt;<o:p></o=
:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Whereas we have in the current =
spec:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&lt;pskc:KeyContainer<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0
xmlns:pskc=3D&quot;urn:ietf:params:xml:ns:keyprov:pskc&quot;<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0
xmlns:xenc11=3D&quot;http://www.w3.org/2009/xmlenc11#&quot;<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0 </span></font><font =
size=3D2 color=3Dnavy
face=3DArial><span lang=3DFR =
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>xmlns:pkcs5=3D<o:=
p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#&quot;<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;
Version=3D&quot;1.0&quot;&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0 =
&lt;pskc:EncryptionKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=
=A0=A0=A0
&lt;xenc11:DerivedKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0
&lt;xenc11:KeyDerivationMethod<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font
size=3D2 color=3Dnavy face=3DArial><span lang=3DDE =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>Algorithm=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DDE
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#pbkdf2&q=
uot;&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DDE
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'>&lt;pkcs5:PBKDF2-params&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;Salt&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0
&lt;Specified&gt;Ej7/PEpyEpw=3D&lt;/Specified&gt;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;/Salt&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0
&lt;IterationCount&gt;1000&lt;/IterationCount&gt;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
&lt;KeyLength&gt;16&lt;/KeyLength&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0=A0=A0=A0=A0 &lt;PRF/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0
&lt;/pkcs5:PBKDF2-params&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0
&lt;/dkey:KeyDerivationMethod&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;xenc:ReferenceList&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 &lt;xenc:DataReference
URI=3D&quot;#ED&quot;/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 &lt;/xenc:ReferenceList&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0
&lt;xenc11:MasterKeyName&gt;My Password =
1&lt;/xenc11:MasterKeyName&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
&lt;/xenc11:DerivedKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>=A0=A0=A0=A0=A0 =
&lt;/pskc:EncryptionKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8230;..<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Which does NOT have a =
PRF.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Philip<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>------- New sample
----------------------------<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dteal
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:teal;background:
white'>&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;
standalone=3D&quot;yes&quot;?&gt;</span></font><font color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblue
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:blue;background:
white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:KeyContainer</span></font><font color=3Dred><span
style=3D'color:red;background:white'> xmlns:ds</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.w3.org/2000/09/xmldsig#=
</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:pskc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>urn:ietf:params:xml:ns:keyprov:psk=
c</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:xenc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#<=
/span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:dkey</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2009/xmlsec-deri=
vedkey#</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:pkcs5</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5v2-0#</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Version</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>1.0</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Id</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>KC0002</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:EncryptionKey</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>dkey:DerivedKey</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>dkey:KeyDerivationMethod</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5v2-0#pbkdf2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pkcs5:PBKDF2-params</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>Salt</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>Specified</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>Ej7/PEpyEpw=3D</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>Specified</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>Salt</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>IterationCount</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>1000</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>IterationCount</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>KeyLength</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>16</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>KeyLength</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pkcs5:PBKDF2-params</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>dkey:KeyDerivationMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>xenc:ReferenceList</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>xenc:DataReference</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> URI</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>#ED</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>xenc:ReferenceList</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>dkey:MasterKeyName</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>Passphrase1</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>dkey:MasterKeyName</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>dkey:DerivedKey</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:EncryptionKey</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:MACMethod</span></font><font color=3Dred><span
style=3D'color:red;background:white'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.w3.org/2000/09/xmldsig#=
hmac-sha1</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:MACKey</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>xenc:EncryptionMethod</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5#pbes2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:EncryptionScheme</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#a=
es128-cbc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>xenc:EncryptionMethod</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>xenc:CipherData</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>xenc:CipherValue</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKR=
QBtBJYluUDsPOLTfUvoU2dStyOwYZx</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>xenc:CipherData</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:MACKey</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:MACMethod</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:KeyPackage</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:DeviceInfo</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Manufacturer</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>TokenVendorAcme</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Manufacturer</span></font><f=
ont
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:SerialNo</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>987654321</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:SerialNo</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:StartDate</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>2009-07-29Z</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:StartDate</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:ExpiryDate</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>2014-07-29Z</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:ExpiryDate</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0 =A0=A0=A0=A0=A0</span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:DeviceInfo</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:CryptoModuleInfo</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Id</span></font><font color=3Dblue><span =
style=3D'color:
blue;background:white'>&gt;</span></font><font color=3Dblack><span
style=3D'color:black;background:white'>CM_ID_001</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:Id</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:CryptoModuleInfo</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Key</span></font><font color=3Dred><span =
style=3D'color:
red;background:white'> Id</span></font><font color=3Dblue><span =
style=3D'color:
blue;background:white'>=3D&quot;</span></font><font color=3Dblack><span
style=3D'color:black;background:white'>MBK000000001</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>urn:ietf:params:xml:ns:keyprov:psk=
c#hotp</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Issuer</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>Example-Issuer</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Issuer</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:AlgorithmParameters</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:ResponseFormat</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> Length</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>6</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&quot;</span></font><font =
color=3Dred><span
style=3D'color:red;background:white'> Encoding</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>DECIMAL</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:AlgorithmParameters</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Data</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Secret</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:EncryptedValue</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5#pbes2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:EncryptionScheme</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#a=
es128-cbc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0 =
=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0</span></font><f=
ont color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0Rkia=
fpoDpnoZTjPYZu6V+A4aEn032yCr4f</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=
=A0 </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:EncryptedValue</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:ValueMAC</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>LP6xMvjtypbfT9PdkJhBZ+D6O4w=3D</sp=
an></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ValueMAC</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:Secret</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Counter</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 =
</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:PlainValue</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>0</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:PlainValue</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:Counter</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:Data</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:Policy</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:KeyUsage</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>OTP</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:KeyUsage</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 </span></font><font =
color=3Dblue><span style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:Policy</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0=A0=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;
background:white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:
maroon;background:white'>pskc:Key</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>=A0=A0=A0 </span></font><font color=3Dblue><span =
style=3D'color:blue;background:
white'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:KeyPackage</span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&gt;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:blue;background:white'>&lt;/</span></font=
><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:KeyContainer</span></font><f=
ont
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Pei, =
Mingliang
[mailto:mpei@verisign.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September =
08, 2009
5:59 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Hi =
Philip,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>xenc:EncryptionMethod allows =
&lt;any&gt; parameters,
and the usage is xenc compliant. The usage is similar to PKCS#5 XML. =
Please
check this&nbsp;example from PKCS#5 page 7: <a
href=3D"ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf">ftp=
://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf</a></span></fon=
t><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>&lt;xenc:EncryptedData xmlns:pkcs-5=3D</span></font><a
href=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0"><font=
 size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>http://www.rsasecurity.com/r=
salabs/pkcs/schemas/pkcs-5v2-0#</span></font></a><font
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:blue'> xmlns:xsi=3D</span></font><a
href=3D"http://www.w3.org/2001/XMLSchema-instance"><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>http://www.w3.org/2001/XMLSc=
hema-instance</span></font></a><font
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:blue'> xmlns:ds=3D<a =
href=3D"http://www.w3.org/2000/09/xmldsig">http://www.w3.org/2000/09/xmld=
sig#</a>
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;&gt;</span></fo=
nt><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>&lt;xenc:EncryptionMethod
Algorithm=3D&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#=
pbes2&quot;&gt;</span></font></b></strong><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp; =
&lt;pkcs-5:PBES2-params&gt;</span></font></b></strong><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>...</span></font></b></strong><o:p></o:p></=
p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>In PSKC, we make the KDF parameters out of the =
encryption
method into the common EncryptionKey element. =
I&nbsp;consider&nbsp;pkcs-5#pbes2
is an encryption algorithm that is clearer. If we just use aes128-cbc in =
the
encryption method, we don't have a good place to indicate pbes2. If we =
miss
pbes2 flag, it isn't fully compliant with PKCS#5, I =
think.</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip
Hoyer [mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, September =
07, 2009
6:39 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Pei, Mingliang;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<div id=3DidOWAReplyText285>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Ming,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I do not understand why the protected HOTP key value
(secret) should know anything about how the key was =
derived.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I mean at the end the transported key is encrypted =
with
AES-128-CBC.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>So would it not be cleaner to leave all the =
derivation
related business to the element that is under =
KeyContainer?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Ii would also assume =
that:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>' <o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;pskc:Secret&gt;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptedValue Id=3D&quot;ED&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D<br>
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2&quot;&=
gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptionScheme<br>
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/&gt;'=
<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>is NOT XMLenc standard compliant =
whereas:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;Secret&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong=
><b><font
face=3DArial><span style=3D'font-family:Arial'>
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/</spa=
n></font></b></strong>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;is<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Philip</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Pei,
Mingliang [mailto:mpei@verisign.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wed 02/09/2009 =
21.48<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>The reason is that DerivedKey =
portion only
describe how a key is derived for a desired length, not indicating how a =
key is
used. For PBES2, the encryption scheme parameter is required. It should =
either
go to PKCS#5 parameters, or EncryptionMethod part of the
xenc:EncryptedDataType. We chose the second one. The encrytion key =
element
contains only the key portion as we have been doing, similar to the =
pre-shared
key case. It is consistent. The common element EncryptionKey includes =
the key
data information, not the encryption algorithm =
information.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0pt 0pt 0pt 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0pt;margin-bottom:5.0pt'=
>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip
Hoyer [mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, =
September 02,
2009 5:18 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Pei, Mingliang; =
Hannes.Tschofenig@gmx.net;
Phillip Hallam-Baker; Salah Machani; Sean Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<div id=3DidOWAReplyText7818>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Ming and =
all,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Please see questions and explanation of my perplexion =
below.
Bear with me.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Which MAC key for which =
example?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My main concern are the PBE examples that you =
generated and
the existing one forget for a moment the namsespace =
change.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Following are some differences <strong><b><font =
face=3DArial><span
style=3D'font-family:Arial'>(highlighted in =
bold</span></font></b></strong>):</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>SPEC ONE:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Lets start with an extract of the existing one in the =
spec:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D&quot;http://www.w3.org/2000/09/xmldsig#hmac-sha1&quot;&gt;<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pskc:MACKey&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<strong><b><font
face=3D"Times New =
Roman">Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot=
;</font></b></strong>/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ<br>
SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/pskc:MACKey&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/pskc:MACMethod&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>GENERATED ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACMethod</span></font><font
color=3Dred><span style=3D'color:red'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2000/09/xml=
dsig#hmac-sha1<font
color=3Dblue><span =
style=3D'color:blue'>&quot;&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dred><span style=3D'color:red'> <strong><b><font face=3D"Times =
New Roman">Algorithm</font></b></strong></span></font><strong><b><font
color=3Dblue face=3D"Times New Roman"><span =
style=3D'color:blue'>=3D&quot;</span></font>http://www.rsasecurity.com/rs=
alabs/pkcs/schemas/pkcs-5#pbes2<font
color=3Dblue><span =
style=3D'color:blue'>&quot;</span></font></b></strong><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><strong><b><font size=3D3 color=3Dblue face=3D"Times New Roman"><span
style=3D'font-size:12.0pt;color:blue'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>pskc:EncryptionScheme</span></font><font =
color=3Dred><span
style=3D'color:red'> Algorithm</span></font><font color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2001/04/xml=
enc#aes128-cbc<font
color=3Dblue><span =
style=3D'color:blue'>&quot;/&gt;</span></font><o:p></o:p></b></strong></p=
>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherValue</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKR=
QBtBJYluUDsPOLTfUvoU2dStyOwYZx<font
color=3Dblue><span style=3D'color:blue'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>xenc:CipherValue</span></font><font =
color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Now I do not understand why we need EncryptionScheme at all. =
Should it
not be as&nbsp;the&nbsp;one in the spec?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I have the same question about EncryptionScheme later in both =
examples:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>SPEC ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>....<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&lt;pskc:Secret&gt;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptedValue Id=3D&quot;ED&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D<br>
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2&quot;&=
gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptionScheme<br>
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/&gt;<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:EncryptionMethod&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<o:p></o:p></span></font></p>

</div>

</div>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>GENERATED ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3D3 color=3Dmaroon face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt;color:maroon'>ryptedValue</span></font><font color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dred><span style=3D'color:red'> <strong><b><font face=3D"Times =
New Roman">Algorithm</font></b></strong></span></font><strong><b><font
color=3Dblue face=3D"Times New Roman"><span =
style=3D'color:blue'>=3D&quot;</span></font>http://www.rsasecurity.com/rs=
alabs/pkcs/schemas/pkcs-5#pbes2<font
color=3Dblue><span =
style=3D'color:blue'>&quot;&gt;</span></font><o:p></o:p></b></strong></p>=


<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:EncryptionScheme</span></font><font
color=3Dred><span style=3D'color:red'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2001/04/xml=
enc#aes128-cbc<font
color=3Dblue><span =
style=3D'color:blue'>&quot;/&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherValue</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0Rkia=
fpoDpnoZTjPYZu6V+A4aEn032yCr4f<font
color=3Dblue><span style=3D'color:blue'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>xenc:CipherValue</span></font><font =
color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Why do we need EncryptionScheme at all? Since we know it is a =
derived
key in the main element?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Should these not be like the preshared key =
one?:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>PRE-SHARED-KEY<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&lt;Secret&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong=
><b><font
face=3D"Times New Roman">
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/</fon=
t></b></strong>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ValueMAC&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;/Secret&gt;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Also should we align the examples that they use =
prefixed
namespace for pskc. e.g. &lt;pskc:element&gt; I rather have default =
namespace
of pskc so that it =
reads:&nbsp;&lt;element&gt;.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Additional question, should we add the xenc11 import
statement to the schema?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Philip</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Pei,
Mingliang [mailto:mpei@verisign.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wed 02/09/2009 =
7.43<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Hi =
Philip,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Please see the forwarded email that
includes the examples from my implementation that I sent earlier. The =
latest
draft doesn't seem to have the CipherValue for the MAC key right. Please =
update
it to</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Thanks,</span></font><o:p></o:p></p>=


<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0pt 0pt 0pt 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0pt;margin-bottom:5.0pt'=
>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip
Hoyer [mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 28, =
2009 9:56
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
Hannes.Tschofenig@gmx.net;
Phillip Hallam-Baker; Pei, Mingliang; Salah Machani; Sean Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> New version of =
PSKC</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Ladies and =
Gentlemen,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Please find attached the new version of =
PSKC.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Changes:</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<ul style=3D'margin-top:0pt' type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial'>incorporated all of
     the feedback from Andrea and Sean.</span></font><span lang=3DEN-GB> =
</span><o:p></o:p></li>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'>reference =
name
     change to the new DerivedKey element (moved to =
XMLEnc11)</span></font><span
     lang=3DEN-GB> </span><o:p></o:p></li>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo1'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'>Corrected =
AES
     example to include (prepend) IV inline with XMLENC spec and =
mentions IV
     handling.</span></font><span lang=3DEN-GB> </span><o:p></o:p></li>
</ul>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I have one big =
problem:</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>The samples that Ming sent out for PBE and RSA =
do not
match the ones in the spec.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Especially the PBE is different form the one =
Ming
already says was corrected.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Based on the new XML Enc 1.1 spec for PBE and
DerivedKeys. Are we sure we are aligned =
here?</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>This is the only thing that needs to be =
clarified.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Otherwise,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>What do I need to do =
now.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Do I just submit or send to Russ and Pasi =
directly?</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Philip</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>________________________________</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Philip Hoyer =
</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Senior Architect - =
Office of
CTO</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>ActivIdentity =
(<st1:country-region
w:st=3D"on"><st1:place =
w:st=3D"on">UK</st1:place></st1:country-region>)</span></font><o:p></o:p>=
</p>

<p class=3DMsoNormal><st1:Street w:st=3D"on"><st1:address =
w:st=3D"on"><font size=3D2
  face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Courier New"'>117&nbsp;Waterloo
  Road</span></font></st1:address></st1:Street><o:p></o:p></p>

<p class=3DMsoNormal><st1:City w:st=3D"on"><st1:place w:st=3D"on"><font =
size=3D2
  face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>London</span></font></st1:place></st1:City><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:
"Courier New"'> SE1 8UL</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Telephone: +44 (0) =
20 7960
0220</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Fax: +44 (0) 20 =
7902 1985</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Private and =
confidential:
This message and any attachments may =
contain</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>privileged / =
confidential
information. If you are not an intended =
recipient,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>you must not copy,
distribute, discuss or take any action in reliance on =
it.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>If you have =
received this
communication in error, please notify the =
sender</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>and delete this =
message
immediately.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</blockquote>

</div>

</blockquote>

</NOSCRIPT>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><script id=3D"dstb-id" language=3D"JavaScript">
if(typeof(dstb)!=3D "undefined"){ dstb();}
</script></NOSCRIPT><o:p>&nbsp;</o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01CA37A4.E7F4522A--

From anders.rundgren@telia.com  Tue Sep 22 01:01:36 2009
Return-Path: <anders.rundgren@telia.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id E4F003A6993 for <keyprov@core3.amsl.com>; Tue, 22 Sep 2009 01:01:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.001
X-Spam-Level: 
X-Spam-Status: No, score=0.001 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_50=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z3nwmV+z7Pt1 for <keyprov@core3.amsl.com>; Tue, 22 Sep 2009 01:01:36 -0700 (PDT)
Received: from pne-smtpout1-sn2.hy.skanova.net (pne-smtpout1-sn2.hy.skanova.net [81.228.8.83]) by core3.amsl.com (Postfix) with ESMTP id 11B9C3A68C4 for <keyprov@ietf.org>; Tue, 22 Sep 2009 01:01:35 -0700 (PDT)
Received: from AndersPC (81.232.45.215) by pne-smtpout1-sn2.hy.skanova.net (7.3.140.3) (authenticated as u18116613) id 4A7285AE006004E4 for keyprov@ietf.org; Tue, 22 Sep 2009 10:02:38 +0200
Message-ID: <5255C3FC419047C5B0A05C36F0837FAA@AndersPC>
From: "Anders Rundgren" <anders.rundgren@telia.com>
To: "KEYPROV" <keyprov@ietf.org>
Date: Tue, 22 Sep 2009 10:02:42 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Windows Mail 6.0.6000.20661
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16669
Subject: [KEYPROV] W3C XML Dsig recommendation on defaults
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 22 Sep 2009 08:01:37 -0000

http://www.w3.org/2008/xmlsec/Drafts/xmldsig-core-20/

"If the Signature includes same-document references, [XML] or [XML-schema]
 validation of the document might introduce changes that break the signature.
 Consequently, applications should be careful to consistently process the document
 or refrain from using external contributions (e.g., defaults and entities)"

If WGLC has not passed I would drop defaults from the PSKC schema or
require "writers" to always create default-free output.

Anders

From phoyer@actividentity.com  Thu Sep 24 06:48:51 2009
Return-Path: <phoyer@actividentity.com>
X-Original-To: keyprov@core3.amsl.com
Delivered-To: keyprov@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id D1DB33A6830 for <keyprov@core3.amsl.com>; Thu, 24 Sep 2009 06:48:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 1.445
X-Spam-Level: *
X-Spam-Status: No, score=1.445 tagged_above=-999 required=5 tests=[AWL=-1.210,  BAYES_50=0.001, HELO_EQ_FR=0.35, HTML_MESSAGE=0.001, MIME_8BIT_HEADER=0.3, TRACKER_ID=2.003]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vSfGavRmDPHA for <keyprov@core3.amsl.com>; Thu, 24 Sep 2009 06:48:36 -0700 (PDT)
Received: from frhub1.activcard.fr (frhub1.activcard.fr [91.151.120.133]) by core3.amsl.com (Postfix) with ESMTP id D006E3A69B9 for <keyprov@ietf.org>; Thu, 24 Sep 2009 06:48:34 -0700 (PDT)
Received: from sur-corp-ex-02.corp.ad.activcard.com (sur-corp-ex-02.corp.ad.activcard.com [192.168.33.40]) by frhub1.activcard.fr (Postfix) with ESMTP id A4F8418397A; Thu, 24 Sep 2009 15:49:41 +0200 (CEST)
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CA3D1D.F5679786"
Date: Thu, 24 Sep 2009 15:50:21 +0200
Message-ID: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7B54@sur-corp-ex-02.corp.ad.activcard.com>
In-Reply-To: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7B06@sur-corp-ex-02.corp.ad.activcard.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: New version of PSKC
Thread-Index: AcooAHlzUFYGcolgTzSpURpFcJPFOQDjyHAAAAzjvy8AEIVBEADuz2wnADjrF7ABv7BQgAFevEJw
X-Priority: 1
Priority: Urgent
Importance: high
References: <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7A6B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C901429FC9@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A2769B@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A003@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC4A276B4@sur-corp-ex-02.corp.ad.activcard.com> <3E5A2F1AD44F5E49A74F79AB47C0C0C90142A0EF@mou1wnexmb10.vcorp.ad.vrsn.com> <5BFE9E473DBFC24CA87F18F29B3F0AC403EB7B06@sur-corp-ex-02.corp.ad.activcard.com>
From: "Philip Hoyer" <phoyer@actividentity.com>
To: "Pei, Mingliang" <mpei@verisign.com>, =?iso-8859-1?Q?Magnus_Nystr=F6m?= <magnus@rsa.com>
Cc: "Doherty, Andrea" <adoherty@rsa.com>, Salah Machani <SMachani@DIVERSINET.COM>, KEYPROV <keyprov@ietf.org>, Phillip Hallam-Baker <hallam@gmail.com>
Subject: Re: [KEYPROV] New version of PSKC
X-BeenThere: keyprov@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: "Provisioning of Symmetric Keys \(keyprov\)" <keyprov.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/keyprov>
List-Post: <mailto:keyprov@ietf.org>
List-Help: <mailto:keyprov-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/keyprov>, <mailto:keyprov-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 24 Sep 2009 13:48:52 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01CA3D1D.F5679786
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Gentlemen,

Could I please solicit an answer on the below subject.

=20

Gratefully appreciated.

=20

Philip

=20

________________________________

From: Philip Hoyer=20
Sent: Thursday, September 17, 2009 3:41 PM
To: 'Pei, Mingliang'; Magnus Nystr=F6m
Cc: Doherty, Andrea; KEYPROV; Sean Turner; Salah Machani; Phillip =
Hallam-Baker; Hannes.Tschofenig@gmx.net
Subject: RE: New version of PSKC

=20

Magnus and Ming,

=20

In view of the new xmlenc11 and the below thread could you please review =
and suggest a resolution for use of PBE in PSKC.

=20

This is the last issue for PSKC and I want to close this asap.

=20

Also please note that the xenc11 spec states that a PRF SHALL be =
present:

=20

The PBKDF2 key derivation algorithm is defined in PKCS #5 [PKCS5 =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5#ref-PKCS5>=
 ] and an XML schema for its parameters is defined in PKCS #5 v2.0 Amd. =
1 [PKCS5Amd1 =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5Amd1#ref-PK=
CS5Amd1> ]. The pkcs-5:PBKDF2-params element type defined in the latter =
document shall be used as a child of xenc11:KeyDerivationMethod when =
using this key derivation algorithm. Also, the Algorithm attribute of =
the pkcs-5:PRF element SHALL be present. It is RECOMMENDED to use =
HMAC-SHA256 as the PRF algorithm (see [XML-DSIG =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-XML-DSIG#ref-XML=
-DSIG> ], [HMAC =
<http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-HMAC#ref-HMAC> =
] ).=20

An example of an xenc11:DerivedKey element with this key derivation =
algorithm is:=20

<xenc11:DerivedKey
  xmlns:xsi=3D"http://www.w3.org/2001/XMLSchema-instance"
  xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#"
  xmlns:xenc11=3D"http://www.w3.org/2009/xmlenc11#"
  =
xmlns:pkcs-5=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-=
0#">
  <xenc11:KeyDerivationMethod=20
    =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbkdf=
2">
    <pkcs-5:PBKDF2-params>
      <Salt>
        <Specified>Df3dRAhjGh8=3D</Specified>
      </Salt>
      <IterationCount>2000</IterationCount>
      <KeyLength>16</KeyLength>
      <PRF =
Algorithm=3D"http://www.w3.org/2001/04/xmldsig-more#hmac-sha256"/>
    </pkcs-5:PBKDF2-params>
  </xenc11:KeyDerivationMethod>
  <xenc:ReferenceList>
    <xenc:DataReference URI=3D"#ED"/>
  </xenc:ReferenceList>
  <xenc11:MasterKeyName>Our shared secret</xenc11:MasterKeyName>
</xenc11:DerivedKey>

=20

Whereas we have in the current spec:

=20

=20

<pskc:KeyContainer

    xmlns:pskc=3D"urn:ietf:params:xml:ns:keyprov:pskc"

    xmlns:xenc11=3D"http://www.w3.org/2009/xmlenc11#"

    xmlns:pkcs5=3D

    "http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#"

    xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#" Version=3D"1.0">

      <pskc:EncryptionKey>

          <xenc11:DerivedKey>

              <xenc11:KeyDerivationMethod

                Algorithm=3D

   "http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#pbkdf2">

                  <pkcs5:PBKDF2-params>

                      <Salt>

                          <Specified>Ej7/PEpyEpw=3D</Specified>

                      </Salt>

                      <IterationCount>1000</IterationCount>

                      <KeyLength>16</KeyLength>

                      <PRF/>

                  </pkcs5:PBKDF2-params>

              </dkey:KeyDerivationMethod>

              <xenc:ReferenceList>

                  <xenc:DataReference URI=3D"#ED"/>

              </xenc:ReferenceList>

              <xenc11:MasterKeyName>My Password 1</xenc11:MasterKeyName>

          </xenc11:DerivedKey>

      </pskc:EncryptionKey>

.....

=20

=20

Which does NOT have a PRF.

=20

=20

=20

Thanks,

Philip

=20

------- New sample ----------------------------

=20

=20

<?xml version=3D"1.0" encoding=3D"UTF-8" standalone=3D"yes"?>

<pskc:KeyContainer xmlns:ds=3D"http://www.w3.org/2000/09/xmldsig#" =
xmlns:pskc=3D"urn:ietf:params:xml:ns:keyprov:pskc" =
xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#" =
xmlns:dkey=3D"http://www.w3.org/2009/xmlsec-derivedkey#" =
xmlns:pkcs5=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0=
#" Version=3D"1.0" Id=3D"KC0002">

    <pskc:EncryptionKey>

        <dkey:DerivedKey>

            <dkey:KeyDerivationMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#p=
bkdf2">

                <pkcs5:PBKDF2-params>

                    <Salt>

                        <Specified>Ej7/PEpyEpw=3D</Specified>

                    </Salt>

                    <IterationCount>1000</IterationCount>

                    <KeyLength>16</KeyLength>

                </pkcs5:PBKDF2-params>

            </dkey:KeyDerivationMethod>

            <xenc:ReferenceList>

                <xenc:DataReference URI=3D"#ED"/>

            </xenc:ReferenceList>

            <dkey:MasterKeyName>Passphrase1</dkey:MasterKeyName>

        </dkey:DerivedKey>

    </pskc:EncryptionKey>

    <pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

        <pskc:MACKey>

            <xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

                <pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

            </xenc:EncryptionMethod>

            <xenc:CipherData>

                =
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

            </xenc:CipherData>

        </pskc:MACKey>

    </pskc:MACMethod>

    <pskc:KeyPackage>

        <pskc:DeviceInfo>

            <pskc:Manufacturer>TokenVendorAcme</pskc:Manufacturer>

            <pskc:SerialNo>987654321</pskc:SerialNo>

            <pskc:StartDate>2009-07-29Z</pskc:StartDate>

            <pskc:ExpiryDate>2014-07-29Z</pskc:ExpiryDate>

        </pskc:DeviceInfo>

        <pskc:CryptoModuleInfo>

            <pskc:Id>CM_ID_001</pskc:Id>

        </pskc:CryptoModuleInfo>

        <pskc:Key Id=3D"MBK000000001" =
Algorithm=3D"urn:ietf:params:xml:ns:keyprov:pskc#hotp">

            <pskc:Issuer>Example-Issuer</pskc:Issuer>

            <pskc:AlgorithmParameters>

                <pskc:ResponseFormat Length=3D"6" Encoding=3D"DECIMAL"/>

            </pskc:AlgorithmParameters>

            <pskc:Data>

                <pskc:Secret>

                    <pskc:EncryptedValue>

                        <xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

                            <pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

                        </xenc:EncryptionMethod>

                        <xenc:CipherData>

                            =
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

                        </xenc:CipherData>

                    </pskc:EncryptedValue>

                    =
<pskc:ValueMAC>LP6xMvjtypbfT9PdkJhBZ+D6O4w=3D</pskc:ValueMAC>

                </pskc:Secret>

                <pskc:Counter>

                    <pskc:PlainValue>0</pskc:PlainValue>

                </pskc:Counter>

            </pskc:Data>

            <pskc:Policy>

                <pskc:KeyUsage>OTP</pskc:KeyUsage>

            </pskc:Policy>

        </pskc:Key>

    </pskc:KeyPackage>

</pskc:KeyContainer>

=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]=20
Sent: Tuesday, September 08, 2009 5:59 PM
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

=20

Hi Philip,

=20

xenc:EncryptionMethod allows <any> parameters, and the usage is xenc =
compliant. The usage is similar to PKCS#5 XML. Please check this example =
from PKCS#5 page 7: =
ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf

=20

<xenc:EncryptedData =
xmlns:pkcs-5=3Dhttp://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0=
# <http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0>  =
xmlns:xsi=3Dhttp://www.w3.org/2001/XMLSchema-instance =
<http://www.w3.org/2001/XMLSchema-instance>  =
xmlns:ds=3Dhttp://www.w3.org/2000/09/xmldsig# =
<http://www.w3.org/2000/09/xmldsig>  =
xmlns:xenc=3D"http://www.w3.org/2001/04/xmlenc#">

<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

    <pkcs-5:PBES2-params>

...

In PSKC, we make the KDF parameters out of the encryption method into =
the common EncryptionKey element. I consider pkcs-5#pbes2 is an =
encryption algorithm that is clearer. If we just use aes128-cbc in the =
encryption method, we don't have a good place to indicate pbes2. If we =
miss pbes2 flag, it isn't fully compliant with PKCS#5, I think.

- Ming

________________________________

From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
Sent: Monday, September 07, 2009 6:39 AM
To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

Ming,

I do not understand why the protected HOTP key value (secret) should =
know anything about how the key was derived.

=20

I mean at the end the transported key is encrypted with AES-128-CBC.

=20

So would it not be cleaner to leave all the derivation related business =
to the element that is under KeyContainer?

=20

Ii would also assume that:

'=20

<pskc:Secret>

                <pskc:EncryptedValue Id=3D"ED">
                    <xenc:EncryptionMethod=20
                        Algorithm=3D
"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
                        <pskc:EncryptionScheme
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>'

=20

=20

is NOT XMLenc standard compliant whereas:

=20

<Secret>
                    <EncryptedValue>
                        <xenc:EncryptionMethod=20
            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
                        <xenc:CipherData>
 is

=20

=20

=20

=20

Philip

=20

=20

=20

________________________________

From: Pei, Mingliang [mailto:mpei@verisign.com]
Sent: Wed 02/09/2009 21.48
To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah =
Machani; Sean Turner
Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
Subject: RE: New version of PSKC

The reason is that DerivedKey portion only describe how a key is derived =
for a desired length, not indicating how a key is used. For PBES2, the =
encryption scheme parameter is required. It should either go to PKCS#5 =
parameters, or EncryptionMethod part of the xenc:EncryptedDataType. We =
chose the second one. The encrytion key element contains only the key =
portion as we have been doing, similar to the pre-shared key case. It is =
consistent. The common element EncryptionKey includes the key data =
information, not the encryption algorithm information.

=20

- Ming

	=20

=09
________________________________


	From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
	Sent: Wednesday, September 02, 2009 5:18 AM
	To: Pei, Mingliang; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC

	Ming and all,

	=20

	Please see questions and explanation of my perplexion below. Bear with =
me.

	=20

	Which MAC key for which example?

	=20

	My main concern are the PBE examples that you generated and the =
existing one forget for a moment the namsespace change.

	=20

	Following are some differences (highlighted in bold):

	=20

	SPEC ONE:

	Lets start with an extract of the existing one in the spec:

	=20

	    <pskc:MACMethod=20
	        Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">
	        <pskc:MACKey>
	            <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	            <xenc:CipherData>
	                <xenc:CipherValue>
	2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ
	SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D
	                </xenc:CipherValue>
	            </xenc:CipherData>
	        </pskc:MACKey>
	    </pskc:MACMethod>

	=20

	GENERATED ONE:

	=20

	<pskc:MACMethod =
Algorithm=3D"http://www.w3.org/2000/09/xmldsig#hmac-sha1">

	<pskc:MACKey>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2=
dStyOwYZx</xenc:CipherValue>

	</xenc:CipherData>

	</pskc:MACKey>

	</pskc:MACMethod>

	=20

	Now I do not understand why we need EncryptionScheme at all. Should it =
not be as the one in the spec?

	=20

	=20

	I have the same question about EncryptionScheme later in both examples:

	=20

	=20

	SPEC ONE:

	=20

	....

	<pskc:Secret>

	                <pskc:EncryptedValue Id=3D"ED">
	                    <xenc:EncryptionMethod=20
	                        Algorithm=3D
	"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2">
	                        <pskc:EncryptionScheme
	Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        </xenc:EncryptionMethod>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	      oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f
	                        </xenc:CipherValue>
	                    </xenc:CipherData>

	GENERATED ONE:

	ryptedValue>

	<xenc:EncryptionMethod =
Algorithm=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2=
">

	<pskc:EncryptionScheme =
Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>

	</xenc:EncryptionMethod>

	<xenc:CipherData>

	=
<xenc:CipherValue>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aE=
n032yCr4f</xenc:CipherValue>

	</xenc:CipherData>

	=20

	Why do we need EncryptionScheme at all? Since we know it is a derived =
key in the main element?

	=20

	Should these not be like the preshared key one?:

	=20

	PRE-SHARED-KEY

	=20

	<Secret>
	                    <EncryptedValue>
	                        <xenc:EncryptionMethod=20
	            Algorithm=3D"http://www.w3.org/2001/04/xmlenc#aes128-cbc"/>
	                        <xenc:CipherData>
	                            <xenc:CipherValue>
	    AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv
	                            </xenc:CipherValue>
	                        </xenc:CipherData>
	                    </EncryptedValue>
	                    <ValueMAC>aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D            =
       =20
	                    </ValueMAC>
	                </Secret>

	=20

	Also should we align the examples that they use prefixed namespace for =
pskc. e.g. <pskc:element> I rather have default namespace of pskc so =
that it reads: <element>.

	=20

	Additional question, should we add the xenc11 import statement to the =
schema?

	=20

	Philip

	=20

	=20

=09
________________________________


	From: Pei, Mingliang [mailto:mpei@verisign.com]
	Sent: Wed 02/09/2009 7.43
	To: Philip Hoyer; Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; =
Salah Machani; Sean Turner
	Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
	Subject: RE: New version of PSKC

	Hi Philip,

	=20

	Please see the forwarded email that includes the examples from my =
implementation that I sent earlier. The latest draft doesn't seem to =
have the CipherValue for the MAC key right. Please update it to

	=20

	2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx

	=20

	Thanks,

	=20

	- Ming

		=20

	=09
________________________________


		From: Philip Hoyer [mailto:phoyer@actividentity.com]=20
		Sent: Friday, August 28, 2009 9:56 AM
		To: Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Pei, Mingliang; =
Salah Machani; Sean Turner
		Cc: Doherty, Andrea; Magnus Nystr=F6m; KEYPROV
		Subject: New version of PSKC

		Ladies and Gentlemen,

		Please find attached the new version of PSKC.

		=20

		Changes:

		=20

		*	incorporated all of the feedback from Andrea and Sean.=20
		*	reference name change to the new DerivedKey element (moved to =
XMLEnc11)=20
		*	Corrected AES example to include (prepend) IV inline with XMLENC =
spec and mentions IV handling.=20

		=20

		I have one big problem:

		=20

		The samples that Ming sent out for PBE and RSA do not match the ones =
in the spec.

		=20

		Especially the PBE is different form the one Ming already says was =
corrected.

		=20

		Based on the new XML Enc 1.1 spec for PBE and DerivedKeys. Are we sure =
we are aligned here?

		=20

		This is the only thing that needs to be clarified.

		=20

		Otherwise,

		What do I need to do now.

		=20

		Do I just submit or send to Russ and Pasi directly?

		=20

		Philip

		=20

		=20

		________________________________

		=20

		Philip Hoyer=20

		=20

		Senior Architect - Office of CTO

		=20

		ActivIdentity (UK)

		117 Waterloo Road

		London SE1 8UL

		=20

		Telephone: +44 (0) 20 7960 0220

		Fax: +44 (0) 20 7902 1985

		=20

		Private and confidential: This message and any attachments may contain

		privileged / confidential information. If you are not an intended =
recipient,

		you must not copy, distribute, discuss or take any action in reliance =
on it.

		If you have received this communication in error, please notify the =
sender

		and delete this message immediately.

		=20

=20


------_=_NextPart_001_01CA3D1D.F5679786
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:st1=3D"urn:schemas-microsoft-com:office:smarttags" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><o:SmartTagType
 namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags" =
name=3D"City"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"Street"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"address"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"place"/>
<o:SmartTagType =
namespaceuri=3D"urn:schemas-microsoft-com:office:smarttags"
 name=3D"country-region"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
font-face {
	FONT-FAMILY: Wingdings
}
font-face {
	FONT-FAMILY: Verdana
}

 /* Font Definitions */
 @font-face
	{font-family:Verdana;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0pt;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p
	{mso-margin-top-alt:auto;
	margin-right:0pt;
	mso-margin-bottom-alt:auto;
	margin-left:0pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
code
	{font-family:"Courier New";
	font-weight:normal;}
pre
	{margin-top:0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:24.0pt;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.CrossReference, li.CrossReference, div.CrossReference
	{margin-top:6.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:42.5pt;
	margin-bottom:.0001pt;
	text-align:justify;
	font-size:9.0pt;
	font-family:Verdana;
	color:#3366FF;
	text-decoration:underline;}
p.crossreference0, li.crossreference0, div.crossreference0
	{margin-top:6.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:42.5pt;
	margin-bottom:.0001pt;
	text-align:justify;
	font-size:9.0pt;
	font-family:Verdana;
	color:#3366FF;
	text-decoration:underline;}
p.crossreference00, li.crossreference00, div.crossreference00
	{margin-top:6.0pt;
	margin-right:0pt;
	margin-bottom:0pt;
	margin-left:42.5pt;
	margin-bottom:.0001pt;
	text-align:justify;
	font-size:9.0pt;
	font-family:Verdana;
	color:#3366FF;
	text-decoration:underline;}
span.emailstyle18
	{font-family:Arial;
	color:windowtext;}
span.EmailStyle24
	{mso-style-type:personal;
	font-family:Arial;
	color:navy;}
span.EmailStyle26
	{mso-style-type:personal-reply;
	font-family:Arial;
	color:navy;}
@page Section1
	{size:612.0pt 792.0pt;
	margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
	{page:Section1;}
 /* List Definitions */
 @list l0
	{mso-list-id:434449234;
	mso-list-template-ids:1397249660;}
@list l0:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
@list l0:level2
	{mso-level-tab-stop:72.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-tab-stop:108.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level4
	{mso-level-tab-stop:144.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-tab-stop:180.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-tab-stop:216.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level7
	{mso-level-tab-stop:252.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-tab-stop:288.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-tab-stop:324.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1
	{mso-list-id:814445560;
	mso-list-template-ids:1649573650;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:36.0pt;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	mso-ansi-font-size:10.0pt;
	font-family:Symbol;}
ol
	{margin-bottom:0pt;}
ul
	{margin-bottom:0pt;}
-->
</style>

<script id=3D"dsbaseurl" language=3D"JavaScript">
g_baseurl=3D"http://sur-corp-ex-02.corp.ad.activcard.com/exchange/philip.=
hoyer/Drafts/RE:%20New%20version%20of%20PSKC.EML/1_text.htm";
</script>
</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Gentlemen,<o:p></o:p></span></font><=
/p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Could I please solicit an answer on =
the
below subject.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Gratefully =
appreciated.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Philip<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> =
Philip Hoyer <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Thursday, September =
17, 2009
3:41 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> 'Pei, Mingliang'; =
Magnus
Nystr=F6m<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
KEYPROV; Sean
Turner; Salah Machani; Phillip Hallam-Baker; =
Hannes.Tschofenig@gmx.net<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Magnus and =
Ming,<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>In view of the new xmlenc11 and the =
below
thread could you please review and suggest a resolution for use of PBE =
in PSKC.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>This is the last issue for PSKC and =
I want
to close this asap.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Also please note that the xenc11 =
spec
states that a PRF SHALL be present:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p><font size=3D3 color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-size:12.0pt;
font-family:Arial;color:black'>The PBKDF2 key derivation algorithm is =
defined
in PKCS #5 [<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5#ref=
-PKCS5">PKCS5</a>]
and an XML schema for its parameters is defined in PKCS #5 v2.0 Amd. 1 =
[<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-PKCS5Amd1=
#ref-PKCS5Amd1">PKCS5Amd1</a>].
The </span></font><code><font size=3D2 color=3Dblack face=3D"Courier =
New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>pkcs-5:PBKDF2-params</span></font>=
</code><font
color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-family:Arial;color:black'>
element type defined in the latter document shall be used as a child of =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>xenc11:KeyDerivationMethod</span></font></code><font =
color=3Dblack
face=3DArial><span lang=3DEN style=3D'font-family:Arial;color:black'> =
when using this
key derivation algorithm. Also, the </span></font><code><font size=3D2
color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>Algorithm</span></font></code><font color=3Dblack =
face=3DArial><span
lang=3DEN style=3D'font-family:Arial;color:black'> attribute of the =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>pkcs-5:PRF</span></font></code><font color=3Dblack =
face=3DArial><span
lang=3DEN style=3D'font-family:Arial;color:black'> element SHALL be =
present. It is
RECOMMENDED to use HMAC-SHA256 as the PRF algorithm (see [<a
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-XML-DSIG#=
ref-XML-DSIG">XML-DSIG</a>],
[<a =
href=3D"http://www.w3.org/TR/2009/WD-xmlenc-core1-20090730/#ref-HMAC#ref-=
HMAC">HMAC</a>]
). <o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblack face=3DArial><span lang=3DEN =
style=3D'font-size:12.0pt;
font-family:Arial;color:black'>An example of an =
</span></font><code><font
size=3D2 color=3Dblack face=3D"Courier New"><span lang=3DEN =
style=3D'font-size:10.0pt;
color:black'>xenc11:DerivedKey</span></font></code><font color=3Dblack
face=3DArial><span lang=3DEN style=3D'font-family:Arial;color:black'> =
element with
this key derivation algorithm is: <o:p></o:p></span></font></p>

<pre style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&lt;xenc11:DerivedKey<o:p></o:p></=
span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
xmlns:xsi=3D&quot;http://www.w3.org/2001/XMLSchema-instance&quot;<o:p></o=
:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;<o:p></o:p></sp=
an></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
xmlns:xenc11=3D&quot;http://www.w3.org/2009/xmlenc11#&quot;<o:p></o:p></s=
pan></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
xmlns:pkcs-5=3D&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs=
-5v2-0#&quot;&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
&lt;xenc11:KeyDerivationMethod <o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;Algorithm=3D=
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbkdf2&quot;=
&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp; =
&lt;pkcs-5:PBKDF2-params&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;Salt&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp; =
&lt;Specified&gt;Df3dRAhjGh8=3D&lt;/Specified&gt;<o:p></o:p></span></font=
></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;/Salt&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;IterationCount&gt;2000&lt;/IterationCount&gt;<o:p></o:p></span></font=
></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
&lt;KeyLength&gt;16&lt;/KeyLength&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
</span></font><b><font
color=3Dblack><span lang=3DDE =
style=3D'color:black;font-weight:bold'>&lt;PRF =
Algorithm=3D&quot;http://www.w3.org/2001/04/xmldsig-more#hmac-sha256&quot=
;/&gt;<o:p></o:p></span></font></b></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DDE style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp; =
</span></font><font
color=3Dblack><span lang=3DEN =
style=3D'color:black'>&lt;/pkcs-5:PBKDF2-params&gt;<o:p></o:p></span></fo=
nt></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
&lt;/xenc11:KeyDerivationMethod&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
&lt;xenc:ReferenceList&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp;&nbsp;&nbsp; =
&lt;xenc:DataReference =
URI=3D&quot;#ED&quot;/&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
&lt;/xenc:ReferenceList&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN style=3D'font-size:10.0pt;color:black'>&nbsp; =
&lt;xenc11:MasterKeyName&gt;Our shared =
secret&lt;/xenc11:MasterKeyName&gt;<o:p></o:p></span></font></pre><pre
style=3D'margin-left:-12.0pt'><font size=3D2 color=3Dblack =
face=3D"Courier New"><span
lang=3DEN =
style=3D'font-size:10.0pt;color:black'>&lt;/xenc11:DerivedKey&gt;<o:p></o=
:p></span></font></pre>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Whereas we have in the current =
spec:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&lt;pskc:KeyContainer<o:p></o:p></sp=
an></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp; =
xmlns:pskc=3D&quot;urn:ietf:params:xml:ns:keyprov:pskc&quot;<o:p></o:p></=
span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;
xmlns:xenc11=3D&quot;http://www.w3.org/2009/xmlenc11#&quot;<o:p></o:p></s=
pan></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp; =
</span></font><font
size=3D2 color=3Dnavy face=3DArial><span lang=3DFR =
style=3D'font-size:10.0pt;font-family:
Arial;color:navy'>xmlns:pkcs5=3D<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#&quot;<o=
:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;
Version=3D&quot;1.0&quot;&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;
&lt;pskc:EncryptionKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc11:DerivedKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc11:KeyDerivationMethod<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DFR
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=

</span></font><font size=3D2 color=3Dnavy face=3DArial><span lang=3DDE
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>Algorithm=3D<o:p>=
</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DDE
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0#pbkdf2&q=
uot;&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
lang=3DDE
style=3D'font-size:10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;
</span></font><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:navy'>&lt;pkcs5:PBKDF2-params&gt;<o:p></o:p></spa=
n></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;Salt&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;Specified&gt;Ej7/PEpyEpw=3D&lt;/Specified&gt;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;/Salt&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;IterationCount&gt;1000&lt;/IterationCount&gt;<o:p></o:p></span></font=
></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;KeyLength&gt;16&lt;/KeyLength&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;PRF/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/pkcs5:PBKDF2-params&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/dkey:KeyDerivationMethod&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:ReferenceList&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:DataReference =
URI=3D&quot;#ED&quot;/&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:ReferenceList&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc11:MasterKeyName&gt;My Password =
1&lt;/xenc11:MasterKeyName&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;
&lt;/xenc11:DerivedKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/pskc:EncryptionKey&gt;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>&#8230;..<o:p></o:p></span></font></=
p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Which does NOT have a =
PRF.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Thanks,<o:p></o:p></span></font></p>=


<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>Philip<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'>------- New sample
----------------------------<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dteal
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:teal;background:
white'>&lt;?xml version=3D&quot;1.0&quot; encoding=3D&quot;UTF-8&quot;
standalone=3D&quot;yes&quot;?&gt;</span></font><font color=3Dblack><span
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblue
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:blue;background:
white'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon;
background:white'>pskc:KeyContainer</span></font><font color=3Dred><span
style=3D'color:red;background:white'> xmlns:ds</span></font><font =
color=3Dblue><span
style=3D'color:blue;background:white'>=3D&quot;</span></font><font =
color=3Dblack><span
style=3D'color:black;background:white'>http://www.w3.org/2000/09/xmldsig#=
</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:pskc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>urn:ietf:params:xml:ns:keyprov:psk=
c</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:xenc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#<=
/span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:dkey</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2009/xmlsec-deri=
vedkey#</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
xmlns:pkcs5</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5v2-0#</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Version</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>1.0</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Id</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>KC0002</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:EncryptionKey</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:DerivedKey</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:KeyDerivationMethod</span></=
font><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5v2-0#pbkdf2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pkcs5:PBKDF2-params</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>Salt</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>Specified</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>Ej7/PEpyEpw=3D</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>Specified</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>Salt</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>IterationCount</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>1000</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>IterationCount</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>KeyLength</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>16</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>KeyLength</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pkcs5:PBKDF2-params</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:KeyDerivationMethod</span></=
font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:ReferenceList</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:DataReference</span></font><=
font
color=3Dred><span style=3D'color:red;background:white'> =
URI</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>#ED</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:ReferenceList</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:MasterKeyName</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>Passphrase1</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:MasterKeyName</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>dkey:DerivedKey</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:EncryptionKey</span></font><=
font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:MACMethod</span></font><font=

color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2000/09/xmldsig#=
hmac-sha1</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5#pbes2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:EncryptionScheme</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#a=
es128-cbc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKR=
QBtBJYluUDsPOLTfUvoU2dStyOwYZx</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:MACMethod</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:KeyPackage</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:DeviceInfo</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Manufacturer</span></font><f=
ont
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>TokenVendorAcme</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Manufacturer</span></font><f=
ont
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:SerialNo</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>987654321</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:SerialNo</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:StartDate</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>2009-07-29Z</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:StartDate</span></font><font=

color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ExpiryDate</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>2014-07-29Z</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ExpiryDate</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:DeviceInfo</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:CryptoModuleInfo</span></fon=
t><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Id</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>CM_ID_001</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Id</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:CryptoModuleInfo</span></fon=
t><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Key</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Id</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>MBK000000001</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>urn:ietf:params:xml:ns:keyprov:psk=
c#hotp</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Issuer</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>Example-Issuer</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Issuer</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:AlgorithmParameters</span></=
font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ResponseFormat</span></font>=
<font
color=3Dred><span style=3D'color:red;background:white'> =
Length</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>6</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;</span></font><font
color=3Dred><span style=3D'color:red;background:white'> =
Encoding</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>DECIMAL</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:AlgorithmParameters</span></=
font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Data</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Secret</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:EncryptedValue</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.rsasecurity.com/rsalabs=
/pkcs/schemas/pkcs-5#pbes2</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:EncryptionScheme</span></fon=
t><font
color=3Dred><span style=3D'color:red;background:white'> =
Algorithm</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>=3D&quot;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>http://www.w3.org/2001/04/xmlenc#a=
es128-cbc</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&quot;/&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:EncryptionMethod</span></fon=
t><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0Rkia=
fpoDpnoZTjPYZu6V+A4aEn032yCr4f</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherValue</span></font><fo=
nt
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>xenc:CipherData</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:EncryptedValue</span></font>=
<font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ValueMAC</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>LP6xMvjtypbfT9PdkJhBZ+D6O4w=3D</sp=
an></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:ValueMAC</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Secret</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Counter</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:PlainValue</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>0</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:PlainValue</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Counter</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Data</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Policy</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;
</span></font><font color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:KeyUsage</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'>OTP</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:KeyUsage</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
 </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Policy</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&lt;/</span></font><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:Key</span></font><font
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal style=3D'text-autospace:none'><font size=3D3 =
color=3Dblack
face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;color:black;background:
white'>&nbsp;&nbsp;&nbsp; </span></font><font color=3Dblue><span
style=3D'color:blue;background:white'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon;background:white'>pskc:KeyPackage</span></font><fon=
t
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
color=3Dblack><span =
style=3D'color:black;background:white'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 color=3Dblue face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt;color:blue;background:white'>&lt;/</span></font=
><font
color=3Dmaroon><span =
style=3D'color:maroon;background:white'>pskc:KeyContainer</span></font><f=
ont
color=3Dblue><span =
style=3D'color:blue;background:white'>&gt;</span></font><font
size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:navy'><o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dnavy face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:navy'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabindex=3D-1>

</span></font></div>

<p class=3DMsoNormal><b><font size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font =
size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'> Pei, =
Mingliang
[mailto:mpei@verisign.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Tuesday, September =
08, 2009
5:59 PM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer; =
Hannes.Tschofenig@gmx.net;
Phillip Hallam-Baker; Salah Machani; Sean Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Hi =
Philip,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>xenc:EncryptionMethod allows =
&lt;any&gt;
parameters, and the usage is xenc compliant. The usage is similar to =
PKCS#5
XML. Please check this&nbsp;example from PKCS#5 page 7: <a
href=3D"ftp://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf">ftp=
://ftp.rsasecurity.com/pub/pkcs/pkcs-5v2/pkcs-5v2-0a1.pdf</a></span></fon=
t><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>&lt;xenc:EncryptedData xmlns:pkcs-5=3D</span></font><a
href=3D"http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5v2-0"><font=
 size=3D2
face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>http://www.rsasecurity.com/r=
salabs/pkcs/schemas/pkcs-5v2-0#</span></font></a><font
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:blue'> xmlns:xsi=3D</span></font><a
href=3D"http://www.w3.org/2001/XMLSchema-instance"><font size=3D2 =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial'>http://www.w3.org/2001/XMLSc=
hema-instance</span></font></a><font
size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial;
color:blue'> xmlns:ds=3D<a =
href=3D"http://www.w3.org/2000/09/xmldsig">http://www.w3.org/2000/09/xmld=
sig#</a>
xmlns:xenc=3D&quot;http://www.w3.org/2001/04/xmlenc#&quot;&gt;</span></fo=
nt><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>&lt;xenc:EncryptionMethod =
Algorithm=3D&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#=
pbes2&quot;&gt;</span></font></b></strong><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>&nbsp;&nbsp;&nbsp; =
&lt;pkcs-5:PBES2-params&gt;</span></font></b></strong><o:p></o:p></p>

<p><strong><b><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial;color:blue'>...</span></font></b></strong><o:p></o:p></=
p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>In PSKC, we make the KDF parameters out of the =
encryption
method into the common EncryptionKey element. =
I&nbsp;consider&nbsp;pkcs-5#pbes2
is an encryption algorithm that is clearer. If we just use aes128-cbc in =
the
encryption method, we don't have a good place to indicate pbes2. If we =
miss
pbes2 flag, it isn't fully compliant with PKCS#5, I =
think.</span></font><o:p></o:p></p>

<p><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:10.0pt;font-family:
Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip
Hoyer [mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Monday, September =
07, 2009
6:39 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Pei, Mingliang;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<div id=3DidOWAReplyText285>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Ming,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I do not understand why the protected HOTP key value
(secret) should know anything about how the key was =
derived.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I mean at the end the transported key is encrypted =
with
AES-128-CBC.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>So would it not be cleaner to leave all the =
derivation
related business to the element that is under =
KeyContainer?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Ii would also assume =
that:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>' <o:p></o:p></span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;pskc:Secret&gt;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptedValue Id=3D&quot;ED&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D<br>
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2&quot;&=
gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptionScheme<br>
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/&gt;'=
<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>is NOT XMLenc standard compliant =
whereas:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&lt;Secret&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong=
><b><font
face=3DArial><span style=3D'font-family:Arial'> =
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/</spa=
n></font></b></strong>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;is<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Philip</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Pei,
Mingliang [mailto:mpei@verisign.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wed 02/09/2009 =
21.48<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer; =
Hannes.Tschofenig@gmx.net;
Phillip Hallam-Baker; Salah Machani; Sean Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>The reason is that DerivedKey =
portion only
describe how a key is derived for a desired length, not indicating how a =
key is
used. For PBES2, the encryption scheme parameter is required. It should =
either
go to PKCS#5 parameters, or EncryptionMethod part of the
xenc:EncryptedDataType. We chose the second one. The encrytion key =
element
contains only the key portion as we have been doing, similar to the =
pre-shared
key case. It is consistent. The common element EncryptionKey includes =
the key
data information, not the encryption algorithm =
information.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0pt 0pt 0pt 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0pt;margin-bottom:5.0pt'=
>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip
Hoyer [mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wednesday, =
September 02,
2009 5:18 AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Pei, Mingliang;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

<div id=3DidOWAReplyText7818>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblack face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:black'>Ming and =
all,</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Please see questions and explanation of my perplexion =
below.
Bear with me.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Which MAC key for which =
example?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My main concern are the PBE examples that you =
generated and
the existing one forget for a moment the namsespace =
change.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Following are some differences <strong><b><font =
face=3DArial><span
style=3D'font-family:Arial'>(highlighted in =
bold</span></font></b></strong>):</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>SPEC ONE:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Lets start with an extract of the existing one in the =
spec:</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;&nbsp;&nbsp; &lt;pskc:MACMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D&quot;http://www.w3.org/2000/09/xmldsig#hmac-sha1&quot;&gt;<b=
r>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;pskc:MACKey&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
<strong><b><font
face=3D"Times New =
Roman">Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot=
;</font></b></strong>/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
2GTTnLwM3I4e5IO5FkufoNhk05y8DNyOHuSDuRZLn6DhIjoTY/dX4SkUAbQ<br>
SWJblA7Dzi031L6FNnUrcjsGGcQ=3D=3D<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/pskc:MACKey&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/pskc:MACMethod&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>GENERATED ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACMethod</span></font><font
color=3Dred><span style=3D'color:red'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2000/09/xml=
dsig#hmac-sha1<font
color=3Dblue><span =
style=3D'color:blue'>&quot;&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dred><span style=3D'color:red'> <strong><b><font face=3D"Times =
New Roman">Algorithm</font></b></strong></span></font><strong><b><font
color=3Dblue face=3D"Times New Roman"><span =
style=3D'color:blue'>=3D&quot;</span></font>http://www.rsasecurity.com/rs=
alabs/pkcs/schemas/pkcs-5#pbes2<font
color=3Dblue><span =
style=3D'color:blue'>&quot;</span></font></b></strong><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><strong><b><font size=3D3 color=3Dblue face=3D"Times New Roman"><span
style=3D'font-size:12.0pt;color:blue'>&lt;</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>pskc:EncryptionScheme</span></font><font =
color=3Dred><span
style=3D'color:red'> Algorithm</span></font><font color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2001/04/xml=
enc#aes128-cbc<font
color=3Dblue><span =
style=3D'color:blue'>&quot;/&gt;</span></font><o:p></o:p></b></strong></p=
>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherValue</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKR=
QBtBJYluUDsPOLTfUvoU2dStyOwYZx<font
color=3Dblue><span style=3D'color:blue'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>xenc:CipherValue</span></font><font =
color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACKey</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:MACMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Now I do not understand why we need EncryptionScheme at all. =
Should it
not be as&nbsp;the&nbsp;one in the spec?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>I have the same question about EncryptionScheme later in both =
examples:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>SPEC ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>....<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&lt;pskc:Secret&gt;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptedValue Id=3D&quot;ED&quot;&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Algorithm=3D<br>
&quot;http://www.rsasecurity.com/rsalabs/pkcs/schemas/pkcs-5#pbes2&quot;&=
gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;pskc:EncryptionScheme<br>
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/&gt;<=
br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:EncryptionMethod&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0RkiafpoDpnoZTjPYZu6V+A4aEn032yCr4f<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<o:p></o:p></span></font></p>

</div>

</div>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>GENERATED ONE:<o:p></o:p></span></font></p>

</div>

<div>

<p><font size=3D3 color=3Dmaroon face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt;color:maroon'>ryptedValue</span></font><font color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dred><span style=3D'color:red'> <strong><b><font face=3D"Times =
New Roman">Algorithm</font></b></strong></span></font><strong><b><font
color=3Dblue face=3D"Times New Roman"><span =
style=3D'color:blue'>=3D&quot;</span></font>http://www.rsasecurity.com/rs=
alabs/pkcs/schemas/pkcs-5#pbes2<font
color=3Dblue><span =
style=3D'color:blue'>&quot;&gt;</span></font><o:p></o:p></b></strong></p>=


<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>pskc:EncryptionScheme</span></font><font
color=3Dred><span style=3D'color:red'> Algorithm</span></font><font =
color=3Dblue><span
style=3D'color:blue'>=3D&quot;</span></font>http://www.w3.org/2001/04/xml=
enc#aes128-cbc<font
color=3Dblue><span =
style=3D'color:blue'>&quot;/&gt;</span></font><o:p></o:p></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:EncryptionMethod</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherValue</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;</span></font>oTvo+S22nsmS2Z/RtcoF8Hfh+jzMe0Rkia=
fpoDpnoZTjPYZu6V+A4aEn032yCr4f<font
color=3Dblue><span style=3D'color:blue'>&lt;/</span></font><font =
color=3Dmaroon><span
style=3D'color:maroon'>xenc:CipherValue</span></font><font =
color=3Dblue><span
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

<p><font size=3D3 color=3Dblue face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt;
color:blue'>&lt;/</span></font><font color=3Dmaroon><span =
style=3D'color:maroon'>xenc:CipherData</span></font><font
color=3Dblue><span =
style=3D'color:blue'>&gt;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Why do we need EncryptionScheme at all? Since we know it is a =
derived
key in the main element?<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Should these not be like the preshared key =
one?:<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>PRE-SHARED-KEY<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&lt;Secret&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:EncryptionMethod <br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<strong=
><b><font
face=3D"Times New Roman"> =
Algorithm=3D&quot;http://www.w3.org/2001/04/xmlenc#aes128-cbc&quot;/</fon=
t></b></strong>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;
AAECAwQFBgcICQoLDA0OD+cIHItlB3Wra1DUpxVvOx2lef1VmNPCMl8jwZqIUqGv<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;
&lt;/xenc:CipherValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/xenc:CipherData&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/EncryptedValue&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;ValueMAC&gt;aSRlEG1agUo0CS2dt/OvIAqQ6Co=3D&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;/ValueMAC&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;
&lt;/Secret&gt;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Also should we align the examples that they use =
prefixed
namespace for pskc. e.g. &lt;pskc:element&gt; I rather have default =
namespace
of pskc so that it =
reads:&nbsp;&lt;element&gt;.</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Additional question, should we add the xenc11 import
statement to the schema?</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Philip</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</div>

</div>

<div>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Pei,
Mingliang [mailto:mpei@verisign.com]<br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Wed 02/09/2009 =
7.43<br>
<b><span style=3D'font-weight:bold'>To:</span></b> Philip Hoyer;
Hannes.Tschofenig@gmx.net; Phillip Hallam-Baker; Salah Machani; Sean =
Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> RE: New version =
of PSKC</span></font><o:p></o:p></p>

</div>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Hi =
Philip,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Please see the forwarded email that
includes the examples from my implementation that I sent earlier. The =
latest
draft doesn't seem to have the CipherValue for the MAC key right. Please =
update
it to</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>2GTTnLwM3I4e5IO5FkufoOEiOhNj91fhKRQBtBJYluUDsPOLTfUvoU2dStyOwYZx<=
o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>Thanks,</span></font><o:p></o:p></p>=


<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3DArial><span =
style=3D'font-size:
10.0pt;font-family:Arial;color:blue'>- Ming</span></font><o:p></o:p></p>

<blockquote style=3D'border:none;border-left:solid blue =
1.5pt;padding:0pt 0pt 0pt 4.0pt;
margin-left:3.75pt;margin-top:5.0pt;margin-right:0pt;margin-bottom:5.0pt'=
>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><o:p>&nbsp;</o:p></span></font></p>

<div class=3DMsoNormal align=3Dcenter style=3D'text-align:center'><font =
size=3D3
face=3D"Times New Roman"><span style=3D'font-size:12.0pt'>

<hr size=3D2 width=3D"100%" align=3Dcenter tabIndex=3D-1>

</span></font></div>

<p class=3DMsoNormal style=3D'margin-bottom:12.0pt'><b><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</spa=
n></font></b><font
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'> Philip Hoyer
[mailto:phoyer@actividentity.com] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> Friday, August 28, =
2009 9:56
AM<br>
<b><span style=3D'font-weight:bold'>To:</span></b> =
Hannes.Tschofenig@gmx.net;
Phillip Hallam-Baker; Pei, Mingliang; Salah Machani; Sean Turner<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> Doherty, Andrea; =
Magnus
Nystr=F6m; KEYPROV<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> New version of =
PSKC</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Ladies and =
Gentlemen,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Please find attached the new version of =
PSKC.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Changes:</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<ul style=3D'margin-top:0pt' type=3Ddisc>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo3'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:Arial'>incorporated all of
     the feedback from Andrea and Sean.</span></font><span lang=3DEN-GB> =
</span><o:p></o:p></li>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo3'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'>reference =
name
     change to the new DerivedKey element (moved to =
XMLEnc11)</span></font><span
     lang=3DEN-GB> </span><o:p></o:p></li>
 <li class=3DMsoNormal style=3D'mso-list:l0 level1 lfo3'><font size=3D2 =
face=3DArial><span
     lang=3DEN-GB style=3D'font-size:10.0pt;font-family:Arial'>Corrected =
AES
     example to include (prepend) IV inline with XMLENC spec and =
mentions IV
     handling.</span></font><span lang=3DEN-GB> </span><o:p></o:p></li>
</ul>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>I have one big =
problem:</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>The samples that Ming sent out for PBE and RSA =
do not
match the ones in the spec.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Especially the PBE is different form the one =
Ming
already says was corrected.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Based on the new XML Enc 1.1 spec for PBE and
DerivedKeys. Are we sure we are aligned =
here?</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>This is the only thing that needs to be =
clarified.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Otherwise,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>What do I need to do =
now.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Do I just submit or send to Russ and Pasi =
directly?</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span lang=3DEN-GB =
style=3D'font-size:
10.0pt;font-family:Arial'>Philip</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>________________________________</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Philip Hoyer =
</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Senior Architect - =
Office of
CTO</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>ActivIdentity =
(<st1:place
w:st=3D"on"><st1:country-region =
w:st=3D"on">UK</st1:country-region></st1:place>)</span></font><o:p></o:p>=
</p>

<p class=3DMsoNormal><st1:Street w:st=3D"on"><st1:address =
w:st=3D"on"><font size=3D2
  face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Courier New"'>117&nbsp;Waterloo
  Road</span></font></st1:address></st1:Street><o:p></o:p></p>

<p class=3DMsoNormal><st1:place w:st=3D"on"><st1:City w:st=3D"on"><font =
size=3D2
  face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:"Courier =
New"'>London</span></font></st1:City></st1:place><font
size=3D2 face=3D"Courier New"><span lang=3DEN-GB =
style=3D'font-size:10.0pt;font-family:
"Courier New"'> SE1 8UL</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Telephone: +44 (0) =
20 7960
0220</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Fax: +44 (0) 20 =
7902 1985</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>Private and =
confidential:
This message and any attachments may =
contain</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>privileged / =
confidential
information. If you are not an intended =
recipient,</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>you must not copy,
distribute, discuss or take any action in reliance on =
it.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>If you have =
received this
communication in error, please notify the =
sender</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D2 face=3D"Courier New"><span =
lang=3DEN-GB
style=3D'font-size:10.0pt;font-family:"Courier New"'>and delete this =
message
immediately.</span></font><o:p></o:p></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;<o:p></o:p></span></font></p>

</blockquote>

</div>

</blockquote>

</NOSCRIPT>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'><script id=3D"dstb-id" language=3D"JavaScript">
if(typeof(dstb)!=3D "undefined"){ dstb();}
</script><o:p>&nbsp;</o:p></span></font></p>

</NOSCRIPT></div>

</body>

</html>

------_=_NextPart_001_01CA3D1D.F5679786--
