| Access | Constructor and Description |
|---|---|
| public | BERSequenceGenerator(OutputStream
target stream out)Use the passed in stream as the target for the generator, writing out the header tag for a constructed SEQUENCE. |
| public | BERSequenceGenerator(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 |
| BERSequenceGenerator | back to summary |
|---|---|
| public BERSequenceGenerator(OutputStream out) throws IOException Use the passed in stream as the target for the generator, writing out the header tag for a constructed SEQUENCE.
| |
| BERSequenceGenerator | back to summary |
|---|---|
| public BERSequenceGenerator(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 BER end tag.
| |