Hi all,
last week we had our IETF KEYPROV interim meeting and among many
security related issue we also ran into XML design questions. Hence, I
would like to solicit feedback from XML experts. In short, there seem to
be (at least two) ways to construct the XML schema to express that a key
contains of a secret and has a couple of meta data associated with it.
We would like to utilize XML encryption to selectively protect some of
the elements.
Here are snippets from the two instance files:
* VARIANT A
===========
<Key ....>
<Secret>
<EncryptedValue>
<xenc:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/>
<xenc:CipherData>
<xenc:CipherValue>rf4dx3rvEPO0vKtKL14NbeVu8nk=</xenc:CipherValue>
</xenc:CipherData>
</EncryptedValue>
</Secret>
<Counter>
<PlainValue>1234</PlainValue>
</Counter>
</Key>
* VARIANT B
===========
<Key ...>
<Data Name="SECRET">
<EncryptedValue>
<xenc:EncryptionMethod
Algorithm="http://www.w3.org/2001/04/xmlenc#kw-aes128"/>
<xenc:CipherData>
<xenc:CipherValue>rf4dx3rvEPO0vKtKL14NbeVu8nk=</xenc:CipherValue>
</xenc:CipherData>
</EncryptedValue>
</Data>
<Data Name="COUNTER">
<PlainValue>1234</PlainValue>
</Data>
</Key>
I have put the schema/instance documents here:
http://www.tschofenig.com/xml/
The KEYPROV working group would appreciate your input. Please let us
know which variant we should pick.
Ciao
Hannes
PS: I have simplified the schema to make it more convenient for you to
focus on the relevant parts.
_______________________________________________
KEYPROV mailing list
KEYPROV@xxxxxxxx
http://www.ietf.org/mailman/listinfo/keyprov