summary refs log tree commit diff
path: root/crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-05 15:40:09 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-05 15:40:09 +0700
commit7f43ba84bd30b99d0e957920aa660a45f998c522 (patch)
tree7c6f4738d69ab3def1416c397752a3b63b66738f /crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs
parentUpdate package icon (diff)
downloadBouncyCastle.NET-ed25519-7f43ba84bd30b99d0e957920aa660a45f998c522.tar.xz
Port OpenPGP support for XDH, EdDSA from bc-java
- see https://github.com/bcgit/bc-csharp/issues/345
Diffstat (limited to 'crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs')
-rw-r--r--crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs b/crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs
new file mode 100644
index 000000000..e7208bab2
--- /dev/null
+++ b/crypto/src/asn1/cryptlib/CryptlibObjectIdentifiers.cs
@@ -0,0 +1,11 @@
+namespace Org.BouncyCastle.Asn1.Cryptlib
+{
+    internal class CryptlibObjectIdentifiers
+    {
+        internal static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029");
+
+        internal static readonly DerObjectIdentifier ecc = cryptlib.Branch("1.5");
+
+        internal static readonly DerObjectIdentifier curvey25519 = ecc.Branch("1");
+    }
+}