CVS update: openprivacy/src/xml/reputations

From: cvs@openprivacy.org
Date: Fri Dec 08 2000 - 16:12:47 PST


Date: Friday December 8, 19100 @ 16:12
Author: fen
CVSWEB Options: -------------------

Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi

View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/reputations

-----------------------------------

Update of /usr/local/cvsroot/openprivacy/src/xml/reputations
In directory openprivacy.org:/home/fen/projects/openprivacy/src/xml/reputations

Modified Files:
        reputation-opinion-example.xml
Log Message:
updated with signature example from soc-reputation.txt

*****************************************************************
File: openprivacy/src/xml/reputations/reputation-opinion-example.xml

CVSWEB Options: -------------------

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/reputations/reputation-opinion-example.xml?annotate=1.3

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/reputations/reputation-opinion-example.xml?rev=1.3&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/src/xml/reputations/reputation-opinion-example.xml.diff?r1=1.3&r2=1.2

-----------------------------------

Index: openprivacy/src/xml/reputations/reputation-opinion-example.xml
diff -u openprivacy/src/xml/reputations/reputation-opinion-example.xml:1.2 openprivacy/src/xml/reputations/reputation-opinion-example.xml:1.3
--- openprivacy/src/xml/reputations/reputation-opinion-example.xml:1.2 Tue Dec 5 16:17:44 2000
+++ openprivacy/src/xml/reputations/reputation-opinion-example.xml Fri Dec 8 16:12:47 2000
@@ -1,23 +1,79 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE Signature SYSTEM "xmldsig-core-schema.dtd" [
+<!ENTITY dsig "http://www.w3.org/2000/09/xmldsig#">
+]>
 
-
+<!-- $Id: reputation-opinion-example.xml,v 1.3 2000/12/09 00:12:47 fen Exp $ -->
 <!--
 Example of Reputation Markup. See reputation-markup.xsd
--->
-<reputation-opinion resource="http://SOME_SERVER/resource/that/could/have/a/reputation">
 
- <pubkey>TODO: add an example pubkey here. We haven't defined it yet</pubkey>
+A Reputation is a URL-addressable DSig with optional additional features (elements)
+
+We base on XML-DSig to ensure that reputations cannot be forged
+-->
 
- <entry type="*" value="5"/>
+<Signature Id="OpenPrivacy-20001208.001" xmlns="http://www.w3.org/2000/09/xmldsig#">
 
- <entry type="speed" value="4"/>
+ <SignedInfo>
+ <CanonicalizationMethod Algorithm="http://www.w3.org/TR/2000/CR-xml-c14n-20001026"/>
+ <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#dsa-sha1"/>
+
+ <!--
+ The GraftHome URL is used to point to self for Reputation grafts
+ An addressable location/object wrt some Reputation server (TBD)
+ The idea here is much like a PURL: whereever an object may be replicated,
+ there must be a base location for grafting and reputation calculation.
+ The may be zero or more GraftHome elements
+ in the case of zero, then the current document address is used
+ -->
+ <GraftHome URL="..."/>
 
- <entry type="satisfaction" value="5"/>
+ <!--
+ The ReputationServer points to a prefered (list of) reputation server(s)
+ There may be zero or more ReputationServer elements
+ -->
+ <ReputationServer URL="..."/>
 
- <!-- FIXME: add XMLDsig for the URLs signature based on the pubkey.
- This way if the remote resource TOTALLY changes then this is
- invalidated. Note that some CGIs will constantly return signatures
- that change over time.
+ <!--
+ The Reference URI points to the object to which we are attaching
+ this Reputation (in this case, the OpenPrivacy home page.
+ Note that there could be more than one Reference section
     -->
+ <Reference URI="http://www.openprivacy.org/">
+ <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1"/>
+ <DigestValue>...</DigestValue>
+ </Reference>
+
+ <!--
+ The ReputationOpinion section adds meaning (opinion) to the Reference URI
+ The ontology provides a context and/or meaning
+ The entry descriptor is a word or phrase defined in the ontology
+ -->
+ <ReputationOpinion ontology="...">
+ <entry descriptor="lame"/>
+ </ReputationOpinion>
 
-</reputation-opinion>
+ <!--
+ Here the entry elements have both a key word and a value
+ -->
+ <ReputationOpinion ontology="http://ontology.reputation.org/simple.xml">
+ <entry type="*" value="5"/>
+ <entry type="speed" value="4"/>
+ <entry type="satisfaction" value="5"/>
+ </ReputationOpinion>
+
+ </SignedInfo>
+ <SignatureValue>MC0CFFrVLtRlk=...</SignatureValue>
+
+ <!--
+ the KeyInfo section is optional
+ but without it a Signature cannot be locally validated
+ -->
+ <KeyInfo>
+ <KeyValue>
+ <DSAKeyValue>
+ <P>...</P><Q>...</Q><G>...</G><Y>...</Y>
+ </DSAKeyValue>
+ </KeyValue>
+ </KeyInfo>
+</Signature>



This archive was generated by hypermail 2b30 : Mon Jan 22 2001 - 15:52:14 PST