private AuthorityInformationAccess( Asn1Sequence seq) { if (seq.Count < 1) { throw new ArgumentException("sequence may not be empty"); } this.descriptions = new AccessDescription[seq.Count]; for (int i = 0; i < seq.Count; ++i) { descriptions[i] = AccessDescription.GetInstance(seq[i]); } }
public AuthorityInformationAccess( AccessDescription description) { this.descriptions = new AccessDescription[] { description }; }