summary refs log tree commit diff
path: root/crypto/src/asn1/DerNumericString.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/DerNumericString.cs')
-rw-r--r--crypto/src/asn1/DerNumericString.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerNumericString.cs b/crypto/src/asn1/DerNumericString.cs
index 81871f3c9..5c30217d2 100644
--- a/crypto/src/asn1/DerNumericString.cs
+++ b/crypto/src/asn1/DerNumericString.cs
@@ -85,6 +85,11 @@ namespace Org.BouncyCastle.Asn1
             return null;
         }
 
+        public static DerNumericString GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
+        {
+            return (DerNumericString)Meta.Instance.GetTagged(taggedObject, declaredExplicit);
+        }
+
         private readonly byte[] m_contents;
 
         public DerNumericString(string str)