CVS update: openprivacy/htdocs/notes

From: cvs@openprivacy.org
Date: Fri Dec 15 2000 - 22:15:23 PST


Date: Friday December 15, 19100 @ 22:15
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/htdocs/notes

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

Update of /usr/local/cvsroot/openprivacy/htdocs/notes
In directory openprivacy.org:/home/fen/projects/openprivacy/htdocs/notes

Modified Files:
        flow.txt
Log Message:
expanded A1 communication with SCDS

*****************************************************************
File: openprivacy/htdocs/notes/flow.txt

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

CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?annotate=1.7

CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt?rev=1.7&content-type=text/x-cvsweb-markup

CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/openprivacy/htdocs/notes/flow.txt.diff?r1=1.7&r2=1.6

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

Index: openprivacy/htdocs/notes/flow.txt
diff -u openprivacy/htdocs/notes/flow.txt:1.6 openprivacy/htdocs/notes/flow.txt:1.7
--- openprivacy/htdocs/notes/flow.txt:1.6 Fri Dec 15 20:29:25 2000
+++ openprivacy/htdocs/notes/flow.txt Fri Dec 15 22:15:23 2000
@@ -40,26 +40,60 @@
 //
 A1: (J1s,J1p) = createPseudonym(N1s)
 
-// configuration object - ability to set configuration for a particular Jx
-// thread local; ability to save sessions; sessions are indexed by PublicKey
-//
-A1: new ProbConfig() : ProbConfig
- .setAnon(PublicKey, boolean) : void
- .getAnon(PublicKey) : boolean
- .getPublicKeys() : PublicKey[]
- .getPrivateKey(PublicKey) : PrivateKey
- .getPrivateKey() { .getPrivateKey(getCurrentPublicKey()) }
- .getProperty(PublicKey) : Property
-
 // create prob for reputation publication
 // ProbFactory calls ProbConfig methods to figure out what to do
 //
-A1: prob_J1 = ProbFactory.create(
- OpinionFactory.create(
+A1: op = OpinionFactory.create(
                 reference=RSS1.getURI,
+ ontology="OPdefault",
+ payload="cool")
+
+// create prob with J1
+//
+A1: prob_J1 = ProbFactory.create(op, J1s)
+
+// store prob in local database with category "MyNews"
+//
+A1: storeLocally(prob_J1, J1p)
+
+// note that local JetsPeek client may handle this transparently
+//
+A1: categorize(prob_J1, MyNews")
+A1: SendMessage(facility=publishRep, rep=prob_J1)
+
+// get streams for J2
+//
+A1: (J2s,J2p) = createPseudonym(N1s)
+A1: op = OpinionFactory.create(
+ reference=RSS2.getURI,
+ ontology="OPdefault",
+ payload="cool")
+A1: prob_J1 = ProbFactory.create(op, J2s)
+A1: storeLocally(prob_J2, J2p)
+A1: categorize(prob_J2, MyNews")
+A1: SendMessage(facility=publishRep, rep=prob_J2)
+
+A1: op = OpinionFactory.create(
+ reference=RSS3.getURI,
                 ontology="OPdefault",
- payload="bicycles"))
+ payload="cool")
+A1: prob_J1 = ProbFactory.create(op, J2s)
+A1: storeLocally(prob_J2, J2p)
+A1: categorize(prob_J2, MyNews")
+A1: SendMessage(facility=publishRep, rep=prob_J2)
 
+// get stream for J3 (don't publish this one)
+//
+A1: (J3s,J3p) = createPseudonym(N1s)
+A1: op = OpinionFactory.create(
+ reference=RSS4.getURI,
+ ontology="OPdefault",
+ payload="cool")
+A1: prob_J1 = ProbFactory.create(op, J3s)
+A1: storeLocally(prob_J3, J3p)
+A1: categorize(J3, PRIVATE) // overload or new function?
+A1: categorize(prob_J3, MyNews")
+
 // send the prob to JetsPeek (which is acting as a reputation server)
 // other capabilities include DELETE, GRAFT, ...?
 // refURI used for DELETE and GRAFT
@@ -79,3 +113,26 @@
 
 // TODO: DELETE, GRAFT
 // TODO: AgentLookup;
+
+=====================
+
+// KeyManager
+//
+ .getPublicKeys() : PublicKey[]
+
+
+// configuration object - ability to set configuration for a particular Jx
+// thread local; ability to save sessions; sessions are indexed by PublicKey
+//
+new ProbConfig() : ProbConfig
+ .setAnon(boolean) : void
+ .getAnon() : boolean
+ .getPublicKey() : PublicKey
+ .getPrivateKey() : PrivateKey
+ .setPublicKey(PublicKey) : void // sets session
+ .getProperty() : Property
+
+//
+//
+A1: pc = ProbConfig.getInstance() // returns current session
+A1: pc.setCurrentPublicKey(J1p) // set session



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