trac 2685 Support sig types
protocol proposed by pboted at https://github.com/polistern/pboted/blob/master/docs/techdoc_v5%20(draft).txt
diff from proto version 4 to 5:
2a3,6
> ToDo: Remove or reformat application-specific paragraphs
> ToDo: Renew the protocol documentation at Markdown (or other)
> ToDo: Fill out application specific documentation
> ToDo: Move documentation to separate repository
230,231c234,241
< | P1 | 384 bytes | Destination key
< | P2 | 384 bytes | Destination key
---
> | IDN1 | 384 bytes | Standart I2P identity
> | TYPE1 | 1 byte | Certificate type
> | LEN1 | 2 byte | Length of extra bytes DATA1 field
> | DATA1 | byte[] | Extra bytes
> | IDN2 | 384 bytes | Standart I2P identity
> | TYPE2 | 1 byte | Certificate type
> | LEN2 | 2 byte | Length of extra bytes DATA2 field
> | DATA2 | byte[] | Extra bytes
233c243,246
< | Pn | 384 bytes | Destination key
---
> | IDNn | 384 bytes | Standart I2P identity
> | TYPEn | 1 byte | Certificate type
> | LENn | 2 byte | Length of extra bytes DATAn field
> | DATAn | byte[] | Extra bytes
638c651
< ALG=1: ElGamal-2048 / DSA-1024 / AES-256 / SHA-256 (same as the I2P router uses)
---
> ALG=1: ElGamal-2048 / DSA-1024 / AES-256 / SHA-256 (same as the I2P router uses) [DEPRECATED]
671a685
> ToDo: Looks specific to Java app, remove from protocol description