summary refs log tree commit diff
path: root/crypto/src/asn1/misc
diff options
context:
space:
mode:
authorDavid Hook <dgh@bouncycastle.org>2015-10-14 07:36:33 +1100
committerDavid Hook <dgh@bouncycastle.org>2015-10-14 07:36:33 +1100
commitbe7c50ab9ca0082716b5ca116186aa652c8e00be (patch)
treefd01ee88063cee394bcacace6028eed3f340c667 /crypto/src/asn1/misc
parentPort of latest PGP tests and supporting code changes (diff)
downloadBouncyCastle.NET-ed25519-be7c50ab9ca0082716b5ca116186aa652c8e00be.tar.xz
Added extra OIDs.
Diffstat (limited to 'crypto/src/asn1/misc')
-rw-r--r--crypto/src/asn1/misc/MiscObjectIdentifiers.cs30
1 files changed, 28 insertions, 2 deletions
diff --git a/crypto/src/asn1/misc/MiscObjectIdentifiers.cs b/crypto/src/asn1/misc/MiscObjectIdentifiers.cs
index 45adce4f7..8128b6952 100644
--- a/crypto/src/asn1/misc/MiscObjectIdentifiers.cs
+++ b/crypto/src/asn1/misc/MiscObjectIdentifiers.cs
@@ -41,13 +41,39 @@ namespace Org.BouncyCastle.Asn1.Misc
         //       iso/itu(2) country(16) us(840) organization(1) novell(113719)
         //
         public static readonly string				Novell					= "2.16.840.1.113719";
-        public static readonly DerObjectIdentifier	NovellSecurityAttribs	= new DerObjectIdentifier(Novell + ".1.9.4.1");
+        public static readonly DerObjectIdentifier NovellSecurityAttribs	= new DerObjectIdentifier(Novell + ".1.9.4.1");
 
         //
         // Entrust
         //       iso(1) member-body(16) us(840) nortelnetworks(113533) entrust(7)
         //
         public static readonly string				Entrust					= "1.2.840.113533.7";
-        public static readonly DerObjectIdentifier	EntrustVersionExtension = new DerObjectIdentifier(Entrust + ".65.0");
+        public static readonly DerObjectIdentifier EntrustVersionExtension = new DerObjectIdentifier(Entrust + ".65.0");
+
+        //
+        // Ascom
+        //
+        public static readonly DerObjectIdentifier as_sys_sec_alg_ideaCBC = new DerObjectIdentifier("1.3.6.1.4.1.188.7.1.1.2");
+
+        //
+        // Peter Gutmann's Cryptlib
+        //
+        public static readonly DerObjectIdentifier cryptlib = new DerObjectIdentifier("1.3.6.1.4.1.3029");
+
+        public static readonly DerObjectIdentifier cryptlib_algorithm = cryptlib.Branch("1");
+        public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_ECB = cryptlib_algorithm.Branch("1.1");
+        public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CBC = cryptlib_algorithm.Branch("1.2");
+        public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_CFB = cryptlib_algorithm.Branch("1.3");
+        public static readonly DerObjectIdentifier cryptlib_algorithm_blowfish_OFB = cryptlib_algorithm.Branch("1.4");
+
+        //
+        // Blake2b
+        //
+        public static readonly DerObjectIdentifier blake2 = new DerObjectIdentifier("1.3.6.1.4.1.1722.12.2");
+
+        public static readonly DerObjectIdentifier id_blake2b160 = blake2.Branch("1.5");
+        public static readonly DerObjectIdentifier id_blake2b256 = blake2.Branch("1.8");
+        public static readonly DerObjectIdentifier id_blake2b384 = blake2.Branch("1.12");
+        public static readonly DerObjectIdentifier id_blake2b512 = blake2.Branch("1.16");
     }
 }