1 package org.bouncycastle.asn1;
10 * create an empty sequence
17 * create a set containing one object
26 * create a set containing a vector of objects.
40 if (out instanceof ASN1OutputStream || out instanceof BEROutputStream)
42 out.write(SET | CONSTRUCTED);
45 Enumeration e = getObjects();
46 while (e.hasMoreElements())
48 out.writeObject(e.nextElement());