diff options
Diffstat (limited to 'crypto/src/asn1/crmf/PopoSigningKeyInput.cs')
-rw-r--r-- | crypto/src/asn1/crmf/PopoSigningKeyInput.cs | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/crypto/src/asn1/crmf/PopoSigningKeyInput.cs b/crypto/src/asn1/crmf/PopoSigningKeyInput.cs index c62159051..189cb9681 100644 --- a/crypto/src/asn1/crmf/PopoSigningKeyInput.cs +++ b/crypto/src/asn1/crmf/PopoSigningKeyInput.cs @@ -16,10 +16,11 @@ namespace Org.BouncyCastle.Asn1.Crmf return new PopoSigningKeyInput(Asn1Sequence.GetInstance(obj)); } - public static PopoSigningKeyInput GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) - { - return new PopoSigningKeyInput(Asn1Sequence.GetInstance(taggedObject, declaredExplicit)); - } + public static PopoSigningKeyInput GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit) => + new PopoSigningKeyInput(Asn1Sequence.GetInstance(taggedObject, declaredExplicit)); + + public static PopoSigningKeyInput GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit) => + new PopoSigningKeyInput(Asn1Sequence.GetTagged(taggedObject, declaredExplicit)); private readonly GeneralName m_sender; private readonly PKMacValue m_publicKeyMac; |