summary refs log tree commit diff
path: root/crypto/src/asn1/x509/KeyPurposeId.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2017-06-10 20:44:56 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2017-06-10 20:44:56 +0700
commita0fd16c00237ba5f59fb5e3fd4901f7b3c1aa97e (patch)
tree237b01e11fa199090c4a5bb5944a5100da9b5daf /crypto/src/asn1/x509/KeyPurposeId.cs
parentAdded byte[] return when macBlock not set. (diff)
downloadBouncyCastle.NET-ed25519-a0fd16c00237ba5f59fb5e3fd4901f7b3c1aa97e.tar.xz
Misc. asn1 changes from Java API
Diffstat (limited to '')
-rw-r--r--crypto/src/asn1/x509/KeyPurposeId.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/src/asn1/x509/KeyPurposeId.cs b/crypto/src/asn1/x509/KeyPurposeId.cs
index 4b48a9b51..1a564b97a 100644
--- a/crypto/src/asn1/x509/KeyPurposeId.cs
+++ b/crypto/src/asn1/x509/KeyPurposeId.cs
@@ -32,5 +32,7 @@ namespace Org.BouncyCastle.Asn1.X509
         // microsoft key purpose ids
         //
         public static readonly KeyPurposeID IdKPSmartCardLogon = new KeyPurposeID("1.3.6.1.4.1.311.20.2.2");
+
+        public static readonly KeyPurposeID IdKPMacAddress = new KeyPurposeID("1.3.6.1.1.1.1.22");
     }
 }