diff --git a/i2p2www/pages/site/docs/spec/common-structures.html b/i2p2www/pages/site/docs/spec/common-structures.html index 371579a9..60324d90 100644 --- a/i2p2www/pages/site/docs/spec/common-structures.html +++ b/i2p2www/pages/site/docs/spec/common-structures.html @@ -100,37 +100,88 @@ This structure is used for AES256 encryption and decryption.

SigningPublicKey

{% trans %}Description{% endtrans %}

{% trans cryptography=site_url('docs/how/cryptography') -%} -This structure is used for verifying DSA signatures. +This structure is used for verifying signatures. {% endtrans %}

{% trans %}Contents{% endtrans %}

{% trans -%} -128 bytes +Key type and length are inferred from context or are specified in the Key Certificate of a Destination. +{% endtrans %} +{% trans -%} +The default type is DSA-160. +{% endtrans %} +{% trans -%} +As of release 0.9.11, other types may be supported, depending on context. {% endtrans %}

+ + + + + + + + + +
{% trans %}Type{% endtrans %}{% trans %}Length (bytes){% endtrans %}
DSA-160128
ECDSA-SHA256-P25664
ECDSA-SHA384-P38496
ECDSA-SHA512-P521132
RSA-SHA256-2048256
RSA-SHA384-3072384
RSA-SHA512-4096512
+

Javadoc

SigningPrivateKey

{% trans %}Description{% endtrans %}

{% trans cryptography=site_url('docs/how/cryptography') -%} -This structure is used for creating DSA signatures. +This structure is used for creating signatures. {% endtrans %}

{% trans %}Contents{% endtrans %}

{% trans -%} -20 bytes +Key type and length are specified when created. +{% endtrans %} +{% trans -%} +The default type is DSA-160. +{% endtrans %} +{% trans -%} +As of release 0.9.11, other types may be supported, depending on context. {% endtrans %}

+ + + + + + + + + +
{% trans %}Type{% endtrans %}{% trans %}Length (bytes){% endtrans %}
DSA-16020
ECDSA-SHA256-P25632
ECDSA-SHA384-P38448
ECDSA-SHA512-P52166
RSA-SHA256-2048512
RSA-SHA384-3072768
RSA-SHA512-40961024
+

Javadoc

Signature

{% trans %}Description{% endtrans %}

{% trans cryptography=site_url('docs/how/cryptography') -%} -This structure represents the DSA signature of some data. +This structure represents the signature of some data. {% endtrans %}

{% trans %}Contents{% endtrans %}

{% trans -%} -40 bytes +Signature type and length are inferred from the type of key used. +{% endtrans %} +{% trans -%} +The default type is DSA-160. +{% endtrans %} +{% trans -%} +As of release 0.9.11, other types may be supported, depending on context. {% endtrans %}

+ + + + + + + + + +
{% trans %}Type{% endtrans %}{% trans %}Length (bytes){% endtrans %}
DSA-16040
ECDSA-SHA256-P25664
ECDSA-SHA384-P38496
ECDSA-SHA512-P521132
RSA-SHA256-2048256
RSA-SHA384-3072384
RSA-SHA512-4096512
+

Javadoc

Hash

@@ -275,9 +326,9 @@ The defined Signing Key types are: ECDSA-SHA256-P256164 ECDSA-SHA384-P384296 ECDSA-SHA512-P5213132 -RSA-SHA256-20484512 -RSA-SHA384-30725768 -RSA-SHA512-409661024 +RSA-SHA256-20484256 +RSA-SHA384-30725384 +RSA-SHA512-40966512

@@ -316,9 +367,9 @@ Example layouts using an ElGamal Crypto Public Key and the Signing Public Key ty ECDSA-SHA256-P256640 ECDSA-SHA384-P384320 ECDSA-SHA512-P52104 -RSA-SHA256-20480384 -RSA-SHA384-30720648 -RSA-SHA512-40960896 +RSA-SHA256-20480128 +RSA-SHA384-30720256 +RSA-SHA512-40960384