diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 21:51:59 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2017-06-10 21:51:59 +0700 |
commit | 80c81b9413658a2d68102fed6e0be1f44b5b1dd9 (patch) | |
tree | f6157f2bf70c132a5dc9ce18b2e397b60c0cf831 /crypto/src | |
parent | Additional fix to GOFB mode (diff) | |
download | BouncyCastle.NET-ed25519-80c81b9413658a2d68102fed6e0be1f44b5b1dd9.tar.xz |
Add Ed25519 OID
Diffstat (limited to 'crypto/src')
-rw-r--r-- | crypto/src/asn1/gnu/GNUObjectIdentifiers.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/gnu/GNUObjectIdentifiers.cs b/crypto/src/asn1/gnu/GNUObjectIdentifiers.cs index 9311a3ac1..b322ef233 100644 --- a/crypto/src/asn1/gnu/GNUObjectIdentifiers.cs +++ b/crypto/src/asn1/gnu/GNUObjectIdentifiers.cs @@ -27,5 +27,10 @@ namespace Org.BouncyCastle.Asn1.Gnu public static readonly DerObjectIdentifier Serpent256Cfb = new DerObjectIdentifier("1.3.6.1.4.1.11591.13.2.44"); // Serpent-256-CFB public static readonly DerObjectIdentifier Crc = new DerObjectIdentifier("1.3.6.1.4.1.11591.14"); // CRC algorithms public static readonly DerObjectIdentifier Crc32 = new DerObjectIdentifier("1.3.6.1.4.1.11591.14.1"); // CRC 32 + + /** 1.3.6.1.4.1.11591.15 - ellipticCurve */ + public static readonly DerObjectIdentifier EllipticCurve = new DerObjectIdentifier("1.3.6.1.4.1.11591.15"); + + public static readonly DerObjectIdentifier Ed25519 = EllipticCurve.Branch("1"); } } |