private CrlListID(Asn1Sequence seq) { //IL_000e: Unknown result type (might be due to invalid IL or missing references) //IL_0037: Unknown result type (might be due to invalid IL or missing references) if (seq == null) { throw new ArgumentNullException("seq"); } if (seq.Count != 1) { throw new ArgumentException(string.Concat((object)"Bad sequence size: ", (object)seq.Count), "seq"); } crls = (Asn1Sequence)seq[0].ToAsn1Object(); global::System.Collections.IEnumerator enumerator = crls.GetEnumerator(); try { while (enumerator.MoveNext()) { Asn1Encodable asn1Encodable = (Asn1Encodable)enumerator.get_Current(); CrlValidatedID.GetInstance(asn1Encodable.ToAsn1Object()); } } finally { global::System.IDisposable disposable = enumerator as global::System.IDisposable; if (disposable != null) { disposable.Dispose(); } } }
public CrlValidatedID[] GetCrls() { CrlValidatedID[] result = new CrlValidatedID[crls.Count]; for (int i = 0; i < crls.Count; ++i) { result[i] = CrlValidatedID.GetInstance(crls[i].ToAsn1Object()); } return(result); }
public CrlValidatedID[] GetCrls() { CrlValidatedID[] array = new CrlValidatedID[this.crls.Count]; for (int i = 0; i < this.crls.Count; i++) { array[i] = CrlValidatedID.GetInstance(this.crls[i].ToAsn1Object()); } return(array); }
private CrlListID(Asn1Sequence seq) { if (seq == null) { throw new ArgumentNullException("seq"); } if (seq.Count != 1) { throw new ArgumentException("Bad sequence size: " + seq.Count, "seq"); } this.crls = (Asn1Sequence)seq[0].ToAsn1Object(); foreach (Asn1Encodable asn1Encodable in this.crls) { CrlValidatedID.GetInstance(asn1Encodable.ToAsn1Object()); } }