diff options
-rw-r--r-- | draft-schanzen-r5n.xml | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/draft-schanzen-r5n.xml b/draft-schanzen-r5n.xml index 17e2ebf..841e994 100644 --- a/draft-schanzen-r5n.xml +++ b/draft-schanzen-r5n.xml | |||
@@ -3116,32 +3116,6 @@ Type | Name | References | Description | |||
3116 | is the URL-escaped payload of the address URI without the "://". | 3116 | is the URL-escaped payload of the address URI without the "://". |
3117 | </t> | 3117 | </t> |
3118 | <t> | 3118 | <t> |
3119 | For example, consider the following URL: | ||
3120 | </t> | ||
3121 | <figure> | ||
3122 | <artwork type="abnf"><![CDATA[ | ||
3123 | gnunet://hello/RH1M20EPK834M6MHZ72\ | ||
3124 | G3CMBSF3ECKNY4W0T9VAQP9Z7SZEM6Y3G/\ | ||
3125 | NGRTAH6RA04X467CGCH7M7CEXR5F9CV5HT\ | ||
3126 | ZFK0G9BWETY3CCE2QWGVT4WA7JN5M9HMWG\ | ||
3127 | 60A00R71F1PJP8N5628EKGHHBAGA7M8JW3\ | ||
3128 | 0/1647134480?udp=127.0.0.1%3A2086 | ||
3129 | |||
3130 | FIXME: signature is invalid, should | ||
3131 | maybe generate proper test vector. | ||
3132 | ]]> | ||
3133 | </artwork> | ||
3134 | </figure> | ||
3135 | <t> | ||
3136 | It specifies that the peer with the public key "RH1M...6Y3G" | ||
3137 | is reachable via "udp" at 127.0.0.1 on port 2086 until | ||
3138 | 1647134480 seconds after the Epoch. Note that "udp" | ||
3139 | here is underspecified and just used as a simple example. | ||
3140 | In practice, the key (addr-name) | ||
3141 | refers to a scheme supported by a | ||
3142 | DHT underlay. | ||
3143 | </t> | ||
3144 | <t> | ||
3145 | The general syntax of <tt>HELLO</tt> URLs specified using | 3119 | The general syntax of <tt>HELLO</tt> URLs specified using |
3146 | Augmented Backus-Naur Form (ABNF) of <xref target="RFC5234"/> is: | 3120 | Augmented Backus-Naur Form (ABNF) of <xref target="RFC5234"/> is: |
3147 | </t> | 3121 | </t> |
@@ -3165,6 +3139,29 @@ bchar = *(ALPHA / DIGIT) | |||
3165 | 'scheme' is defined in <xref target="RFC3986" /> in Section 3.1. | 3139 | 'scheme' is defined in <xref target="RFC3986" /> in Section 3.1. |
3166 | 'pchar' is defined in <xref target="RFC3986" />, Appendix A. | 3140 | 'pchar' is defined in <xref target="RFC3986" />, Appendix A. |
3167 | </t> | 3141 | </t> |
3142 | <t> | ||
3143 | For example, consider the following URL: | ||
3144 | </t> | ||
3145 | <figure> | ||
3146 | <artwork type="abnf"><![CDATA[ | ||
3147 | gnunet://hello/1MVZC83SFHXMADVJ5F4 | ||
3148 | S7BSM7CCGFNVJ1SMQPGW9Z7ZQBZ689ECG/ | ||
3149 | CFJD9SY1NY5VM9X8RC5G2X2TAA7BCVCE16 | ||
3150 | 726H4JEGTAEB26JNCZKDHBPSN5JD3D60J5 | ||
3151 | GJMHFJ5YGRGY4EYBP0E2FJJ3KFEYN6HYM0G/ | ||
3152 | 1708333757?foo=example.com&bar+baz=1.2.3.4%3A5678%2Ffoo | ||
3153 | ]]> | ||
3154 | </artwork> | ||
3155 | </figure> | ||
3156 | <t> | ||
3157 | It specifies that the peer with the <em>pid</em> "1MVZ..." | ||
3158 | is reachable via "foo" at "example.com" and "bar+baz" at | ||
3159 | "1.2.3.4" on port 5678 until | ||
3160 | 1708333757 seconds after the Epoch. Note that "foo" | ||
3161 | and "bar+baz" here are underspecified and just used as a simple example. | ||
3162 | In practice, the <em>addr-name</em> refers to a scheme supported by a | ||
3163 | DHT underlay. | ||
3164 | </t> | ||
3168 | </section> | 3165 | </section> |
3169 | </back> | 3166 | </back> |
3170 | </rfc> | 3167 | </rfc> |