summary refs log tree commit diff
path: root/crypto/src/asn1/cms/CMSObjectIdentifiers.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2023-07-24 16:37:13 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2023-07-24 16:37:13 +0700
commitce3ce95d5d7ea6d2172beb0bbc40e6c3b1d4e154 (patch)
treecc0ed69b729dae59ae2bbad87ba0478f9981ff0b /crypto/src/asn1/cms/CMSObjectIdentifiers.cs
parentRefactoring in CMS stores (diff)
downloadBouncyCastle.NET-ed25519-ce3ce95d5d7ea6d2172beb0bbc40e6c3b1d4e154.tar.xz
Update OID registries
Diffstat (limited to 'crypto/src/asn1/cms/CMSObjectIdentifiers.cs')
-rw-r--r--crypto/src/asn1/cms/CMSObjectIdentifiers.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/crypto/src/asn1/cms/CMSObjectIdentifiers.cs b/crypto/src/asn1/cms/CMSObjectIdentifiers.cs
index 6f4f8fb5e..60f05d328 100644
--- a/crypto/src/asn1/cms/CMSObjectIdentifiers.cs
+++ b/crypto/src/asn1/cms/CMSObjectIdentifiers.cs
@@ -1,7 +1,10 @@
+using System;
+
 using Org.BouncyCastle.Asn1.Pkcs;
 
 namespace Org.BouncyCastle.Asn1.Cms
 {
+    // TODO[api] Make static
     public abstract class CmsObjectIdentifiers
     {
         public static readonly DerObjectIdentifier Data = PkcsObjectIdentifiers.Data;
@@ -25,5 +28,23 @@ namespace Org.BouncyCastle.Asn1.Cms
 
         public static readonly DerObjectIdentifier id_ri_ocsp_response = id_ri.Branch("2");
         public static readonly DerObjectIdentifier id_ri_scvp = id_ri.Branch("4");
+
+        /** 1.3.6.1.5.5.7.6 */
+        public static readonly DerObjectIdentifier id_alg  = new DerObjectIdentifier("1.3.6.1.5.5.7.6");
+
+        public static readonly DerObjectIdentifier id_RSASSA_PSS_SHAKE128 = id_alg.Branch("30");
+
+        public static readonly DerObjectIdentifier id_RSASSA_PSS_SHAKE256 = id_alg.Branch("31");
+
+        public static readonly DerObjectIdentifier id_ecdsa_with_shake128 = id_alg.Branch("32");
+
+        public static readonly DerObjectIdentifier id_ecdsa_with_shake256 = id_alg.Branch("33");
+
+        /**
+         * OtherRecipientInfo types
+         */
+        public static readonly DerObjectIdentifier id_ori = new DerObjectIdentifier("1.2.840.113549.1.9.16.13");
+
+        public static readonly DerObjectIdentifier id_ori_kem = id_ori.Branch("3");
     }
 }