diff options
author | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 19:41:12 +0700 |
---|---|---|
committer | Peter Dettman <peter.dettman@bouncycastle.org> | 2024-07-01 19:41:12 +0700 |
commit | 6e5206da62f412be2b27298c146b41271210e0d9 (patch) | |
tree | 89d91dfc59813e8fb0c2ffd12572f89ea5613570 /crypto/src/asn1/x500/Rdn.cs | |
parent | Refactoring in Asn1.Tsp (diff) | |
download | BouncyCastle.NET-ed25519-6e5206da62f412be2b27298c146b41271210e0d9.tar.xz |
Refactoring in Asn1.X500
Diffstat (limited to 'crypto/src/asn1/x500/Rdn.cs')
-rw-r--r-- | crypto/src/asn1/x500/Rdn.cs | 3 |
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) |