Org.BouncyCastle.Asn1.Cms.EncryptedData.EncryptedData C# (CSharp) Méthode

EncryptedData() private méthode

private EncryptedData ( Asn1Sequence seq ) : System
seq Asn1Sequence
Résultat System
		private EncryptedData(
			Asn1Sequence seq)
		{
			if (seq == null)
				throw new ArgumentNullException("seq");
			if (seq.Count < 2 || seq.Count > 3)
				throw new ArgumentException("Bad sequence size: " + seq.Count, "seq");

			this.version = DerInteger.GetInstance(seq[0]);
			this.encryptedContentInfo = EncryptedContentInfo.GetInstance(seq[1]);

			if (seq.Count > 2)
			{
				this.unprotectedAttrs = Asn1Set.GetInstance(seq[2]);
			}
		}

Same methods

EncryptedData::EncryptedData ( EncryptedContentInfo encInfo ) : System
EncryptedData::EncryptedData ( EncryptedContentInfo encInfo, Asn1Set unprotectedAttrs ) : System