W3C home > Mailing lists > Public > xml-encryption@w3.org > October 2001

More questions about <EncryptedProperties>

From: Dournaee, Blake <bdournaee@rsasecurity.com>
Date: Tue, 23 Oct 2001 10:31:11 -0700
Message-ID: <E7B6CB80230AD31185AD0008C7EBC4D202A1B5D6@exrsa01.rsa.com>
To: xml-encryption@w3.org
Hello All,

I have a question regarding Section 2 from:
http://www.w3.org/Encryption/2001/Drafts/xmlenc-core/


The example definition of <EncryptedData> is given as follows:

<EncryptedData Id? Type?>
    <EncryptionMethod/>?
    <ds:KeyInfo>
      <EncryptedKey>?
      <AgreementMethod>?
      <ds:KeyName>?
      <ds:RetrivalMethod>?
      <ds:*>?
    </ds:KeyInfo>?
    <CipherData>
      <CipherValue>?
      <CipherReference URI?>?
    </CipherData>
</EncryptedData>

According to the <EncryptedType> definition (the type which <EncryptedData>
derives from), the schema definition looks like this:

Schema Definition:

  <complexType name='EncryptedType' abstract='true'>
    <sequence>
      <element name='EncryptionMethod' type='xenc:EncryptionMethodType' 
               minOccurs='0'/>
      <element ref='ds:KeyInfo' minOccurs='0'/>
      <element ref='xenc:CipherData'/>
      <element ref='xenc:EncryptionProperties'/>
    </sequence>
    <attribute name='Id' type='ID' use='optional'/>
    <attribute name='Type' type='anyURI' use='optional'/>
   </complexType>


The <EncryptedType> definition includes the <EncryptionProperties> element
in the schema definition, but it is not included in the <EncryptedData>
example definition. Is this an error? Shouldn't the example definition
appear as follows?

<EncryptedData Id? Type?>
    <EncryptionMethod/>?
    <ds:KeyInfo>
      <EncryptedKey>?
      <AgreementMethod>?
      <ds:KeyName>?
      <ds:RetrivalMethod>?
      <ds:*>?
    </ds:KeyInfo>?
    <CipherData>
      <CipherValue>?
      <CipherReference URI?>?
    </CipherData>
    <EncryptionProperties>?
</EncryptedData>


Blake Dournaee
Toolkit Applications Engineer
RSA Security
 
"The only thing I know is that I know nothing" - Socrates
 
 
Received on Tuesday, 23 October 2001 13:35:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 October 2009 08:42:19 GMT