summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2015-12-28 20:18:40 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2015-12-28 20:18:40 +0700
commit5439621aab0092fdf259911bc9cc7481f10bc943 (patch)
tree52942e94d684ac2fcde72a19a0ce3d106cdcbec4
parentAdd IdRsaKem (diff)
downloadBouncyCastle.NET-ed25519-5439621aab0092fdf259911bc9cc7481f10bc943.tar.xz
Add a couple more OIDs
-rw-r--r--crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs12
1 files changed, 7 insertions, 5 deletions
diff --git a/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs b/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs
index 609aa61ba..042911a06 100644
--- a/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs
+++ b/crypto/src/asn1/pkcs/PKCSObjectIdentifiers.cs
@@ -133,8 +133,13 @@ namespace Org.BouncyCastle.Asn1.Pkcs
 		public const string CrlTypes = Pkcs9 + ".23";
 		public static readonly DerObjectIdentifier X509Crl = new DerObjectIdentifier(CrlTypes + ".1");
 
-        public static readonly DerObjectIdentifier IdAlg        = IdSmime.Branch("3");
-        public static readonly DerObjectIdentifier IdAlgPwriKek = IdAlg.Branch("9");
+        public static readonly DerObjectIdentifier IdAlg = IdSmime.Branch("3");
+
+        public static readonly DerObjectIdentifier IdAlgEsdh        = IdAlg.Branch("5");
+        public static readonly DerObjectIdentifier IdAlgCms3DesWrap = IdAlg.Branch("6");
+        public static readonly DerObjectIdentifier IdAlgCmsRC2Wrap  = IdAlg.Branch("7");
+        public static readonly DerObjectIdentifier IdAlgPwriKek     = IdAlg.Branch("9");
+        public static readonly DerObjectIdentifier IdAlgSsdh        = IdAlg.Branch("10");
 
         /*
          * <pre>
@@ -264,8 +269,5 @@ namespace Org.BouncyCastle.Asn1.Pkcs
         public static readonly DerObjectIdentifier PbeWithShaAnd2KeyTripleDesCbc	= new DerObjectIdentifier(Pkcs12PbeIds + ".4");
         public static readonly DerObjectIdentifier PbeWithShaAnd128BitRC2Cbc		= new DerObjectIdentifier(Pkcs12PbeIds + ".5");
         public static readonly DerObjectIdentifier PbewithShaAnd40BitRC2Cbc			= new DerObjectIdentifier(Pkcs12PbeIds + ".6");
-
-		public static readonly DerObjectIdentifier IdAlgCms3DesWrap = new DerObjectIdentifier("1.2.840.113549.1.9.16.3.6");
-		public static readonly DerObjectIdentifier IdAlgCmsRC2Wrap = new DerObjectIdentifier("1.2.840.113549.1.9.16.3.7");
     }
 }