summary refs log tree commit diff
path: root/crypto/src/asn1/Asn1Null.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/Asn1Null.cs')
-rw-r--r--crypto/src/asn1/Asn1Null.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/Asn1Null.cs b/crypto/src/asn1/Asn1Null.cs
index fa0adf71f..93a56ecc4 100644
--- a/crypto/src/asn1/Asn1Null.cs
+++ b/crypto/src/asn1/Asn1Null.cs
@@ -73,6 +73,11 @@ namespace Org.BouncyCastle.Asn1
             return null;
         }
 
+        public static Asn1Null GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
+        {
+            return (Asn1Null)Meta.Instance.GetTagged(taggedObject, declaredExplicit);
+        }
+
         internal Asn1Null()
         {
         }