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