Esempio n. 1
0
 /**
  * create a sequence containing a vector of objects.
  */
 public DERSequence(
     ASN1EncodableVector v)
 {
     for (int i = 0; i != v.size(); i++)
     {
         this.addObject(v.get(i));
     }
 }
Esempio n. 2
0
        internal DERSet(
            ASN1EncodableVector v,
            bool needsSorting)
        {
            for (int i = 0; i != v.size(); i++)
            {
                this.addObject(v.get(i));
            }

            if (needsSorting)
            {
                this.sort();
            }
        }