summary refs log tree commit diff
path: root/crypto/src/asn1/DerVideotexString.cs
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2024-06-21 17:21:34 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2024-06-21 17:21:34 +0700
commita3f7b8ba1349d1e518661aa2723e64f595dfb3df (patch)
tree4136daa6b201fb432b0028168039279600ce8ea7 /crypto/src/asn1/DerVideotexString.cs
parentRefactoring in Asn1.Misc (diff)
downloadBouncyCastle.NET-ed25519-a3f7b8ba1349d1e518661aa2723e64f595dfb3df.tar.xz
ASN.1: GetTagged method for all universal types
Diffstat (limited to 'crypto/src/asn1/DerVideotexString.cs')
-rw-r--r--crypto/src/asn1/DerVideotexString.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/src/asn1/DerVideotexString.cs b/crypto/src/asn1/DerVideotexString.cs
index 086fdbe94..5ace0cb17 100644
--- a/crypto/src/asn1/DerVideotexString.cs
+++ b/crypto/src/asn1/DerVideotexString.cs
@@ -85,6 +85,11 @@ namespace Org.BouncyCastle.Asn1
             return null;
         }
 
+        public static DerVideotexString GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
+        {
+            return (DerVideotexString)Meta.Instance.GetTagged(taggedObject, declaredExplicit);
+        }
+
         private readonly byte[] m_contents;
 
         public DerVideotexString(byte[] contents)