/** * 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)); } }
internal DERSet( ASN1EncodableVector v, bool needsSorting) { for (int i = 0; i != v.size(); i++) { this.addObject(v.get(i)); } if (needsSorting) { this.sort(); } }