| Modifier and Type | Field and Description |
|---|---|
| private final Cipher | |
| private final CryptoAPIEncryptor | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public InputStream | |
| public synchronized void | write(int
the b)byte.Overrides org. Writes the specified byte to this output stream. |
| public synchronized void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides org. Writes |
| cipher | back to summary |
|---|---|
| private final Cipher cipher | |
| encryptor | back to summary |
|---|---|
| private final CryptoAPIEncryptor encryptor | |
| oneByte | back to summary |
|---|---|
| private final byte[] oneByte | |
| CryptoAPIDocumentOutputStream | back to summary |
|---|---|
| public CryptoAPIDocumentOutputStream(CryptoAPIEncryptor encryptor) throws GeneralSecurityException | |
| setBlock | back to summary |
|---|---|
| public void setBlock(int block) throws GeneralSecurityException | |
| setSize | back to summary |
|---|---|
| public void setSize(int count) | |
| toInputStream | back to summary |
|---|---|
| public InputStream toInputStream(long maxSize) Returns the encrypted data.
| |
| write | back to summary |
|---|---|
| public synchronized void write(int b) Overrides org. Doc from java. Writes the specified byte to this output stream. The general
contract for
| |
| write | back to summary |
|---|---|
| public synchronized void write(byte[] b, int off, int len) Overrides org. Doc from java. Writes
If
If
| |