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

Skip to content
Snippets Groups Projects
Commit 66299cb0 authored by zzz's avatar zzz
Browse files

EdDSA notes

parent 79450bcd
No related branches found
No related tags found
No related merge requests found
...@@ -77,8 +77,9 @@ public class EdDSAPrivateKey implements EdDSAKey, PrivateKey { ...@@ -77,8 +77,9 @@ public class EdDSAPrivateKey implements EdDSAKey, PrivateKey {
* } * }
*</pre> *</pre>
* *
* Note that the private key encoding is not fully specified in the Josefsson draft, * Note that the private key encoding is not fully specified in the Josefsson draft version 04,
* and the example is wrong, as it's lacking Version and AlgorithmIdentifier. * and the example could be wrong, as it's lacking Version and AlgorithmIdentifier.
* This will hopefully be clarified in the next draft.
* But sun.security.pkcs.PKCS8Key expects them so we must include them for keytool to work. * But sun.security.pkcs.PKCS8Key expects them so we must include them for keytool to work.
* *
* @return 49 bytes for Ed25519, null for other curves * @return 49 bytes for Ed25519, null for other curves
......
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