summary refs log tree commit diff
path: root/crypto/src/asn1/x500/Rdn.cs
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/src/asn1/x500/Rdn.cs')
-rw-r--r--crypto/src/asn1/x500/Rdn.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/src/asn1/x500/Rdn.cs b/crypto/src/asn1/x500/Rdn.cs
index 23537e1ae..e3dd586e9 100644
--- a/crypto/src/asn1/x500/Rdn.cs
+++ b/crypto/src/asn1/x500/Rdn.cs
@@ -18,6 +18,9 @@ namespace Org.BouncyCastle.Asn1.X500
         public static Rdn GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) =>
             new Rdn(Asn1Set.GetInstance(taggedObject, declaredExplicit));
 
+        public static Rdn GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit) =>
+            new Rdn(Asn1Set.GetTagged(taggedObject, declaredExplicit));
+
         private readonly Asn1Set m_values;
 
         private Rdn(Asn1Set values)