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