From cb3ff9bd2cc028801610cc928c080452282afe11 Mon Sep 17 00:00:00 2001 From: zzz Date: Fri, 21 Feb 2014 17:45:13 +0000 Subject: [PATCH] Destination and RouterIdentity updates for Key Certs --- .../site/docs/spec/common-structures.html | 55 +++++++++++-------- 1 file changed, 32 insertions(+), 23 deletions(-) diff --git a/i2p2www/pages/site/docs/spec/common-structures.html b/i2p2www/pages/site/docs/spec/common-structures.html index 4e1dbc06..eeee8ea7 100644 --- a/i2p2www/pages/site/docs/spec/common-structures.html +++ b/i2p2www/pages/site/docs/spec/common-structures.html @@ -500,7 +500,11 @@ Defines the way to uniquely identify a particular router + + | | ~ ~ - +~ ~ +| | ++----+----+----+----+----+----+----+----+ +| padding (optional) | +~ ~ ~ ~ | | +----+----+----+----+----+----+----+----+ @@ -508,7 +512,6 @@ Defines the way to uniquely identify a particular router + + | | ~ ~ - ~ ~ | | +----+----+----+----+----+----+----+----+ @@ -516,10 +519,15 @@ Defines the way to uniquely identify a particular router +----+----+----+-// public_key :: `PublicKey` - length -> 256 bytes + length -> 256 bytes or as specified in key certificate -signing_key :: `SigningPublicKey` - length -> 128 bytes +padding :: random data + length -> 0 bytes or as specified in key certificate + padding length + signing_key length == 128 bytes + +signing__key :: `SigningPublicKey` (partial or full) + length -> 128 bytes or as specified in key certificate + padding length + signing_key length == 128 bytes certificate :: `Certificate` length -> >= 3 bytes @@ -555,7 +563,11 @@ A Destination defines a particular endpoint to which messages can be directed fo + + | | ~ ~ - +~ ~ +| | ++----+----+----+----+----+----+----+----+ +| padding (optional) | +~ ~ ~ ~ | | +----+----+----+----+----+----+----+----+ @@ -563,18 +575,22 @@ A Destination defines a particular endpoint to which messages can be directed fo + + | | ~ ~ - ~ ~ | | +----+----+----+----+----+----+----+----+ | certificate -+-// ++----+----+----+-// -public_key :: `PublicKey` - length -> 256 bytes +public_key :: `PublicKey` (partial or full) + length -> 256 bytes or as specified in key certificate -signing_public_key :: `SigningPublicKey` - length -> 128 bytes +padding :: random data + length -> 0 bytes or as specified in key certificate + padding length + signing_public_key_length == 128 bytes + +signing_public_key :: `SigningPublicKey` (partial or full) + length -> 128 bytes or as specified in key certificate + padding length + signing_public_key_length == 128 bytes certificate :: `Certificate` length -> >= 3 bytes @@ -662,7 +678,6 @@ bytes signed by the Destination's Destination's Destination's Destination's Destination's Destination's