| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final CMSEnvelopedDataStreamGenerator | |
| private final OutputStream | |
| private final OutputEncryptor |
| Access | Constructor and Description |
|---|---|
| private | SMIMEEnvelopedWriter(SMIMEEnvelopedWriter.
|
| Modifier and Type | Method and Description |
|---|---|
| public OutputStream |
| contentTransferEncoding | back to summary |
|---|---|
| private final String contentTransferEncoding | |
| envGen | back to summary |
|---|---|
| private final CMSEnvelopedDataStreamGenerator envGen | |
| mimeOut | back to summary |
|---|---|
| private final OutputStream mimeOut | |
| outEnc | back to summary |
|---|---|
| private final OutputEncryptor outEnc | |
| SMIMEEnvelopedWriter | back to summary |
|---|---|
| private SMIMEEnvelopedWriter(SMIMEEnvelopedWriter. | |
| getContentStream | back to summary |
|---|---|
| public OutputStream getContentStream() throws IOException Implements abstract org. | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv String | |
| private final CMSEnvelopedDataStreamGenerator | |
| private final Map | |
| private static final String[] | |
| private static final String[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public SMIMEEnvelopedWriter. | Returns: the current Builder instance.a generator of a recipient info object. recipientGenerator)Add a generator to produce the recipient info required. |
| public SMIMEEnvelopedWriter | |
| public SMIMEEnvelopedWriter. | setBufferSize(int
length of octet strings to buffer the data. bufferSize)Set the underlying string size for encapsulated data |
| public SMIMEEnvelopedWriter. | |
| public SMIMEEnvelopedWriter. | |
| public SMIMEEnvelopedWriter. | Returns: the current Builder instance.name of the MIME header. headerName, String value of the MIME header. headerValue)Specify a MIME header (name, value) pair for this builder. |
| contentTransferEncoding | back to summary |
|---|---|
| pack-priv String contentTransferEncoding | |
| envGen | back to summary |
|---|---|
| private final CMSEnvelopedDataStreamGenerator envGen | |
| headers | back to summary |
|---|---|
| private final Map<String, String> headers | |
| stdHeaders | back to summary |
|---|---|
| private static final String[] stdHeaders | |
| stdValues | back to summary |
|---|---|
| private static final String[] stdValues | |
| Builder | back to summary |
|---|---|
| public Builder() | |
| addRecipientInfoGenerator | back to summary |
|---|---|
| public SMIMEEnvelopedWriter. Add a generator to produce the recipient info required.
| |
| build | back to summary |
|---|---|
| public SMIMEEnvelopedWriter build(OutputStream mimeOut, OutputEncryptor outEnc) | |
| setBufferSize | back to summary |
|---|---|
| public SMIMEEnvelopedWriter. Set the underlying string size for encapsulated data
| |
| setOriginatorInfo | back to summary |
|---|---|
| public SMIMEEnvelopedWriter. | |
| setUnprotectedAttributeGenerator | back to summary |
|---|---|
| public SMIMEEnvelopedWriter. | |
| withHeader | back to summary |
|---|---|
| public SMIMEEnvelopedWriter. Specify a MIME header (name, value) pair for this builder. If the headerName already exists it will be overridden.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final OutputStream | |
| private final OutputStream |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. |
| public void | write(byte[]
the data. buf)Overrides java. b.length bytes from the specified byte array
to this output stream.
|
| public void | write(byte[]
the data. buf, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. len bytes from the specified byte array
starting at offset off to this output stream.
|
| public void | write(int
the i)byte.Implements abstract java. |
| backing | back to summary |
|---|---|
| private final OutputStream backing | |
| main | back to summary |
|---|---|
| private final OutputStream main | |
| ContentOutputStream | back to summary |
|---|---|
| pack-priv ContentOutputStream(OutputStream main, OutputStream backing) | |
| 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(byte[] buf) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(byte[] buf, int off, int len) throws IOException Overrides java. Doc from java. Writes
If
If
| |
| write | back to summary |
|---|---|
| public void write(int i) throws IOException Implements abstract java. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |