Org.BouncyCastle.Asn1.Esf.OtherCertID.OtherCertID C# (CSharp) Method

OtherCertID() private method

private OtherCertID ( Asn1Sequence seq ) : System
seq Asn1Sequence
return System
		private OtherCertID(
			Asn1Sequence seq)
		{
			if (seq == null)
				throw new ArgumentNullException("seq");
			if (seq.Count < 1 || seq.Count > 2)
				throw new ArgumentException("Bad sequence size: " + seq.Count, "seq");

			this.otherCertHash = OtherHash.GetInstance(seq[0].ToAsn1Object());

			if (seq.Count > 1)
			{
				this.issuerSerial = IssuerSerial.GetInstance(seq[1].ToAsn1Object());
			}
		}

Same methods

OtherCertID::OtherCertID ( OtherHash otherCertHash ) : System
OtherCertID::OtherCertID ( OtherHash otherCertHash, IssuerSerial issuerSerial ) : System