| Modifier and Type | Class and Description |
|---|---|
| private class |
| Access | Constructor and Description |
|---|---|
| public | BEROctetStringGenerator(OutputStream
target stream out)Use the passed in stream as the target for the generator, writing out the header tag for a constructed OCTET STRING. |
| public | BEROctetStringGenerator(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 OCTET STRING (possibly implicit). |
| Modifier and Type | Method and Description |
|---|---|
| public OutputStream | Returns: an OutputStream which chunks data in blocks of 1000 (CER limit).Return a stream representing the content target for this OCTET STRING |
| public OutputStream | Returns: an OutputStream which chunks data in blocks of buf length.the buffer to use for chunking the data. buf)Return a stream representing the content target for this OCTET STRING |
| BEROctetStringGenerator | back to summary |
|---|---|
| public BEROctetStringGenerator(OutputStream out) throws IOException Use the passed in stream as the target for the generator, writing out the header tag for a constructed OCTET STRING.
| |
| BEROctetStringGenerator | back to summary |
|---|---|
| public BEROctetStringGenerator(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 OCTET STRING (possibly implicit).
| |
| getOctetOutputStream | back to summary |
|---|---|
| public OutputStream getOctetOutputStream() Return a stream representing the content target for this OCTET STRING
| |
| getOctetOutputStream | back to summary |
|---|---|
| public OutputStream getOctetOutputStream(byte[] buf) Return a stream representing the content target for this OCTET STRING
| |
| Modifier and Type | Field and Description |
|---|---|
| private byte[] | |
| private DEROutputStream | |
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with this stream. |
| public void | write(int
the b)byte.Implements abstract java. Writes the specified byte to this output stream. |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| _buf | back to summary |
|---|---|
| private byte[] _buf | |
| _derOut | back to summary |
|---|---|
| private DEROutputStream _derOut | |
| _off | back to summary |
|---|---|
| private int _off | |
| BufferedBEROctetStream | back to summary |
|---|---|
| pack-priv BufferedBEROctetStream(byte[] buf) | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources
associated with this stream. The general contract of
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |