summary refs log tree commit diff
path: root/crypto/src/asn1/cms
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/cms')
-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");
     }
 }