| Modifier and Type | Field and Description |
|---|---|
| private final ByteArrayOutputStream |
| Access | Constructor and Description |
|---|---|
| public | DERSequenceGenerator(OutputStream
target stream out)Use the passed in stream as the target for the generator. |
| public | DERSequenceGenerator(OutputStream
target stream out, int the tag number to introduce tagNo, boolean true if this is an explicitly tagged object, false otherwise. isExplicit)Use the passed in stream as the target for the generator, writing out the header tag for a tagged constructed SEQUENCE (possibly implicit). |
| Modifier and Type | Method and Description |
|---|---|
| public void | addObject(ASN1Encodable
an ASN.1 encodable object to add. object)Add an object to the SEQUENCE being generated. |
| public void | |
| public OutputStream | Returns: the OutputStream the SEQUENCE is being written to.Implements abstract org. |
| _bOut | back to summary |
|---|---|
| private final ByteArrayOutputStream _bOut | |
| DERSequenceGenerator | back to summary |
|---|---|
| public DERSequenceGenerator(OutputStream out) throws IOException Use the passed in stream as the target for the generator.
| |
| DERSequenceGenerator | back to summary |
|---|---|
| public DERSequenceGenerator(OutputStream out, int tagNo, boolean isExplicit) throws IOException Use the passed in stream as the target for the generator, writing out the header tag for a tagged constructed SEQUENCE (possibly implicit).
| |
| addObject | back to summary |
|---|---|
| public void addObject(ASN1Encodable object) throws IOException Add an object to the SEQUENCE being generated.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Close of the generator, writing out the SEQUENCE.
| |
| getRawOutputStream | back to summary |
|---|---|
| public OutputStream getRawOutputStream() Implements abstract org. Return the target stream for the SEQUENCE.
| |