SAM: Updates for v3.1 (ticket #1318)

I2CP: Fix SigType names
This commit is contained in:
zzz
2014-06-28 15:56:00 +00:00
parent 785dfcde53
commit 9567477f71
4 changed files with 120 additions and 61 deletions

View File

@ -1,7 +1,7 @@
{% extends "global/layout.html" %}
{% block title %}SAM V1 Specification{% endblock %}
{% block lastupdated %}August 2010{% endblock %}
{% block accuratefor %}0.8{% endblock %}
{% block lastupdated %}June 2014{% endblock %}
{% block accuratefor %}0.9.14{% endblock %}
{% block content %}
<p>Specified below is version 1 of a simple client protocol for interacting with
I2P.
@ -11,6 +11,17 @@ Newer alternatives:
<a href="{{ site_url('docs/api/bob') }}">BOB</a>.
</p>
<h3>I2P 0.9.14 Changes</h3>
<p>
The reported version remains "1.0".
<ul>
<li>DEST GENERATE now supports a SIGNATURE_TYPE parameter.
<li>The MIN parameter in HELLO VERSION is now optional.
<li>The MIN and MAX parameters in HELLO VERSION now support single-digit versions such as "3".
</ul>
</p>
<h2>Version 1 Protocol</h2>
<pre>
----------------------------------------------------------------------
Simple Anonymous Messaging (SAM version 1.0) Specification
@ -51,7 +62,9 @@ and
HELLO REPLY RESULT=$result VERSION=1.0
The current version for both must be "1.0".
As of I2P 0.9.14, the MIN parameter is optional.
The MAX parameter must be provided and be greater than or equal to "1" and
less than "2" to use version 1.
The RESULT value may be one of:
@ -311,6 +324,11 @@ which is answered by
PUB=$pubkey
PRIV=$privkey
As of I2P 0.9.14, an optional parameter SIGNATURE_TYPE is supported.
The SIGNATURE_TYPE value may be any name (e.g. ECDSA_SHA256_P256, case insensitive) or number (e.g. 1)
that is supported by <a href="{{ site_url('docs/spec/common_structures') }}#type_Certificate">Key Certificates</a>.
The default is DSA_SHA1.
----------------------------------------------------------------------
RESULT values
----------------------------------------------------------------------