diff options
Diffstat (limited to 'crypto/src/asn1/esf/CrlListID.cs')
-rw-r--r-- | crypto/src/asn1/esf/CrlListID.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crypto/src/asn1/esf/CrlListID.cs b/crypto/src/asn1/esf/CrlListID.cs index ef49f9f4f..f9ca95e24 100644 --- a/crypto/src/asn1/esf/CrlListID.cs +++ b/crypto/src/asn1/esf/CrlListID.cs @@ -24,10 +24,11 @@ namespace Org.BouncyCastle.Asn1.Esf return new CrlListID(Asn1Sequence.GetInstance(obj)); } - public static CrlListID GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) - { - return new CrlListID(Asn1Sequence.GetInstance(taggedObject, declaredExplicit)); - } + public static CrlListID GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) => + new CrlListID(Asn1Sequence.GetInstance(taggedObject, declaredExplicit)); + + public static CrlListID GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit) => + new CrlListID(Asn1Sequence.GetTagged(taggedObject, declaredExplicit)); private readonly Asn1Sequence m_crls; |