FileDocCategorySizeDatePackage
BERConstructedSequence.javaAPI DocAzureus 3.0.3.4745Tue Jun 08 05:12:56 BST 2004org.bouncycastle.asn1

BERConstructedSequence

public class BERConstructedSequence extends DERConstructedSequence

Fields Summary
Constructors Summary
Methods Summary
voidencode(DEROutputStream out)

        if (out instanceof ASN1OutputStream || out instanceof BEROutputStream)
        {
            out.write(SEQUENCE | CONSTRUCTED);
            out.write(0x80);
            
            Enumeration e = getObjects();
            while (e.hasMoreElements())
            {
                out.writeObject(e.nextElement());
            }
        
            out.write(0x00);
            out.write(0x00);
        }
        else
        {
            super.encode(out);
        }