Org.BouncyCastle.Asn1.Pkcs.CertBag.CertBag C# (CSharp) Method

CertBag() public method

public CertBag ( Asn1Sequence seq ) : System
seq Asn1Sequence
return System
		public CertBag(
            Asn1Sequence seq)
        {
			if (seq.Count != 2)
				throw new ArgumentException("Wrong number of elements in sequence", "seq");

//			this.seq = seq;
            this.certID = DerObjectIdentifier.GetInstance(seq[0]);
            this.certValue = DerTaggedObject.GetInstance(seq[1]).GetObject();
        }

Same methods

CertBag::CertBag ( DerObjectIdentifier certID, Asn1Object certValue ) : System