Inheritance: Asn1Encodable
 /** Creates a new PopoSigningKeyInput using password-based MAC. */
 public PopoSigningKeyInput(
     PKMacValue pkmac,
     SubjectPublicKeyInfo spki)
 {
     this.publicKeyMac = pkmac;
     this.publicKey = spki;
 }
        private PopoSigningKeyInput(Asn1Sequence seq)
        {
            Asn1Encodable authInfo = (Asn1Encodable)seq[0];

            if (authInfo is Asn1TaggedObject)
            {
                Asn1TaggedObject tagObj = (Asn1TaggedObject)authInfo;
                if (tagObj.TagNo != 0)
                {
                    throw new ArgumentException("Unknown authInfo tag: " + tagObj.TagNo, "seq");
                }
                sender = GeneralName.GetInstance(tagObj.GetObject());
            }
            else
            {
                publicKeyMac = PKMacValue.GetInstance(authInfo);
            }

            publicKey = SubjectPublicKeyInfo.GetInstance(seq[1]);
        }