W3C home > Mailing lists > Public > www-rdf-interest@w3.org > November 2003

"XML Encryption Syntax and Processing" and RDF

From: Garret Wilson <garret@globalmentor.com>
Date: Sat, 22 Nov 2003 12:38:50 -0800
Message-ID: <3FBFC95A.6090607@globalmentor.com>
To: www-rdf-interest@w3.org

Has anyone done any work on an RDF ontology to represent metadata 
concerning the encryption and encoding of a particular set of binary 
data using RDF?

In particular, "XML Encryption Syntax and Processing" at 
http://www.w3.org/TR/xmlenc-core/ seems to provide a good start on this, 
especially with its table of algorithm URIs (e.g. 
http://www.w3.org/2000/09/xmldsig#sha1 for SHA1).

I'd like to transform something like this (supra, section 2.2.1), which 
talks about inline data:

<EncryptedData xmlns='http://www.w3.org/2001/04/xmlenc#'
   Type='http://www.w3.org/2001/04/xmlenc#Element'/>
<EncryptionMethod
   Algorithm='http://www.w3.org/2001/04/xmlenc#tripledes-cbc'/>
   <ds:KeyInfo xmlns:ds='http://www.w3.org/2000/09/xmldsig#'>
     <ds:KeyName>John Smith</ds:KeyName>
   </ds:KeyInfo>
   <CipherData><CipherValue>DEADBEEF</CipherValue></CipherData>
</EncryptedData>

...into something like this, which uses RDF to describe the encryption 
method of an external resource, such as a file:

<rdf:Description rdf:about="http://example.com/stuff/encryptedfile.bin">
   <encrypt:method 
rdf:resource="http://www.w3.org/2001/04/xmlenc#tripledes-cbc"/>
   <ds:key parseType="Resource">
     <ds:name>John Smith</ds:keyName>
   </ds:key>
</rdf:Description>

(This is off the top of my head---I haven't looked at the xmlenc 
specification in depth.)

For what I'm working on, I'll need to create an RDF ontology version of 
the xmlenc specification, but if it's already been done, I'd just as 
soon not do the work.

Thanks,

Garret
Received on Saturday, 22 November 2003 15:42:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:03 GMT