I2P Address: [http://git.idk.i2p]

Skip to content
Snippets Groups Projects
Commit 974337a2 authored by str4d's avatar str4d
Browse files

Fix SAMv3 documentation for SIGNATURE_TYPE

parent 42bc6986
No related branches found
No related tags found
No related merge requests found
{% extends "global/layout.html" %} {% extends "global/layout.html" %}
{% block title %}SAM V3{% endblock %} {% block title %}SAM V3{% endblock %}
{% block lastupdated %}September 2016{% endblock %} {% block lastupdated %}April 2017{% endblock %}
{% block accuratefor %}0.9.26{% endblock %} {% block accuratefor %}0.9.29{% endblock %}
{% block content %} {% block content %}
<p>Specified below is a simple client protocol for interacting with I2P. <p>Specified below is a simple client protocol for interacting with I2P.
</p> </p>
...@@ -324,6 +324,7 @@ received through other forms are answered with an error message) : ...@@ -324,6 +324,7 @@ received through other forms are answered with an error message) :
STYLE={STREAM,DATAGRAM,RAW} STYLE={STREAM,DATAGRAM,RAW}
ID=$nickname ID=$nickname
DESTINATION={$privkey,TRANSIENT} DESTINATION={$privkey,TRANSIENT}
[SIGNATURE_TYPE=value] # SAM 3.1 or higher only, for DESTINATION=TRANSIENT only, default DSA_SHA1
[PORT=$port] # Required for DATAGRAM and RAW, invalid for STREAM [PORT=$port] # Required for DATAGRAM and RAW, invalid for STREAM
[HOST=$host] # Optional for DATAGRAM and RAW, invalid for STREAM [HOST=$host] # Optional for DATAGRAM and RAW, invalid for STREAM
[FROM_PORT=nnn] # SAM 3.2 or higher only, default 0 [FROM_PORT=nnn] # SAM 3.2 or higher only, default 0
...@@ -1171,7 +1172,8 @@ Public and private base64 keys can be generated using the following ...@@ -1171,7 +1172,8 @@ Public and private base64 keys can be generated using the following
message: message:
<pre> <pre>
DEST GENERATE -&gt; DEST GENERATE
[SIGNATURE_TYPE=value] # SAM 3.1 or higher only, default DSA_SHA1
</pre> </pre>
</p><p> </p><p>
...@@ -1184,7 +1186,7 @@ which is answered by ...@@ -1184,7 +1186,7 @@ which is answered by
</pre> </pre>
</p><p> </p><p>
As of I2P 0.9.14, an optional parameter SIGNATURE_TYPE is supported. As of version 3.1 (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) 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>. that is supported by <a href="{{ site_url('docs/spec/common-structures') }}#type_Certificate">Key Certificates</a>.
The default is DSA_SHA1. The default is DSA_SHA1.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment