Changeset 34 for trunk/standards
- Timestamp:
- 01/07/08 05:24:40 (4 years ago)
- Location:
- trunk/standards
- Files:
-
- 2 modified
-
protocol-containers.txt (modified) (5 diffs)
-
protocol.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/standards/protocol-containers.txt
r28 r34 64 64 Mint Key = 65 65 { 66 key identifier = base64(hash(p ))66 key identifier = base64(hash(pP)) 67 67 currency identifier = http://opencent.net/OpenCent 68 68 denomination = denomination … … 70 70 key_not_after = TIME(...) 71 71 coin_not_after = TIME(...) 72 public key = base64(p )72 public key = base64(pP) 73 73 74 74 issuer = hash(pM) … … 79 79 DSDB Key = 80 80 { 81 key identifier = base64(hash(p ))81 key identifier = base64(hash(pD)) 82 82 not_before = TIME(...) 83 83 not_after = TIME(...) 84 public key = base64(p) 84 cipher = ENCRYPT-ALG 85 public key = base64(pD) 85 86 86 87 issuer = Hash(pM) … … 115 116 serial = base64(128bit random number) 116 117 117 signature = base64( encrypt(ALG,priv-key-of-signing-key, content part))118 signature = base64(sig(pP, content part)) 118 119 } 119 120 … … 125 126 denomination = denomination 126 127 key identifier = key_id(signing key) 127 serial = base64(encrypt( ALG,pub-key-of-DSDB, serial))128 serial = base64(encrypt(pD, serial)) 128 129 } -
trunk/standards/protocol.txt
r32 r34 29 29 * issuer publishes CDD at "currency identifier" URL 30 30 31 * mint (regularily) creates keypairs (p ,s) for all denominations and id(p).31 * mint (regularily) creates keypairs (pP,sP) for all denominations and id(p). 32 32 Master key holder generates keys certificate 33 33 34 34 { 35 key identifier = base64(id(p ))35 key identifier = base64(id(pP)) 36 36 currency identifier = http://opencent.net/OpenCent 37 37 denomination = denomination … … 39 39 key_not_after = TIME(...) 40 40 coin_not_after = TIME(...) 41 public key = base64(p )41 public key = base64(pP) 42 42 43 43 issuer = Hash(pM) … … 51 51 * CDD? 52 52 53 * issuer creates DSDB keypair (p ,s)53 * issuer creates DSDB keypair (pD,sD) 54 54 55 55 { 56 key identifier = base64(id(p ))56 key identifier = base64(id(pD)) 57 57 not_before = TIME(...) 58 58 not_after = TIME(...) 59 public key = base64(p) 59 cipher = ENCRYPTION-ALG 60 public key = base64(pD) 60 61 61 62 issuer = Hash(pM)
