- From: Garret Wilson <garret@globalmentor.com>
- Date: Sat, 22 Nov 2003 12:38:50 -0800
- 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 UTC