コード例 #1
0
        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]);
            }
        }
コード例 #2
0
 public AuthorityInformationAccess(
     AccessDescription description)
 {
     this.descriptions = new AccessDescription[] { description };
 }