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

Skip to content
Snippets Groups Projects
Unverified Commit 03e5c6c1 authored by zzz's avatar zzz
Browse files

Crypto: Add official EdDSA OIDs to provider

parent 826bf3c2
No related branches found
No related tags found
No related merge requests found
...@@ -72,6 +72,14 @@ public final class I2PProvider extends Provider { ...@@ -72,6 +72,14 @@ public final class I2PProvider extends Provider {
// but this works fine with programmatic cert generation // but this works fine with programmatic cert generation
put("Alg.Alias.Signature.1.3.101.101", "SHA512withEdDSA"); put("Alg.Alias.Signature.1.3.101.101", "SHA512withEdDSA");
put("Alg.Alias.Signature.OID.1.3.101.101", "SHA512withEdDSA"); put("Alg.Alias.Signature.OID.1.3.101.101", "SHA512withEdDSA");
// The official OID is now 1.3.101.112 for pubkeys, privkeys, and sigs
// See RFC 8410 and RFC 8420
put("Alg.Alias.KeyFactory.1.3.101.112", "EdDSA");
put("Alg.Alias.KeyFactory.OID.1.3.101.112", "EdDSA");
put("Alg.Alias.KeyPairGenerator.1.3.101.112", "EdDSA");
put("Alg.Alias.KeyPairGenerator.OID.1.3.101.112", "EdDSA");
put("Alg.Alias.Signature.1.3.101.112", "SHA512withEdDSA");
put("Alg.Alias.Signature.OID.1.3.101.112", "SHA512withEdDSA");
// TODO Ed25519ph // TODO Ed25519ph
// OID: 1.3.101.101 // OID: 1.3.101.101
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment