FileDocCategorySizeDatePackage
DerSequenceGenerator.javaAPI DocBouncy Castle Crypto API 1.41 (Java 1.5)1036Wed Oct 01 10:55:30 BST 2008org.bouncycastle.sasn1

DerSequenceGenerator

public class DerSequenceGenerator extends DerGenerator
deprecated
use corresponsding classes in org.bouncycastle.asn1.

Fields Summary
private final ByteArrayOutputStream
_bOut
Constructors Summary
public DerSequenceGenerator(OutputStream out)


     
         
         
    
        super(out);
    
public DerSequenceGenerator(OutputStream out, int tagNo, boolean isExplicit)

        super(out, tagNo, isExplicit);
    
Methods Summary
public voidaddObject(DerObject object)

        _bOut.write(object.getEncoded());
    
public voidclose()

        writeDerEncoded(BerTag.CONSTRUCTED | BerTag.SEQUENCE, _bOut.toByteArray());
    
public java.io.OutputStreamgetRawOutputStream()

        return _bOut;