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