PGPDataEncryptor instances are generally not constructed directly, but obtained from a
PGPDataEncryptorBuilder.
| Modifier and Type | Method and Description |
|---|---|
| public int | Returns: the block size in bytes.Gets the block size of the underlying cipher used by this encryptor. |
| public PGPDigestCalculator | Returns: the integrity check calculator, ornull if no integrity checking was
configured.Obtains the integrity check calculator configured for this encryptor instance. |
| public OutputStream | Returns: a cipher output stream appropriate to the type of this data encryptor.the stream to wrap and write encrypted data to. out)Constructs an encrypting output stream that encrypts data using the underlying cipher of this encryptor. |
| getBlockSize | back to summary |
|---|---|
| public int getBlockSize() Gets the block size of the underlying cipher used by this encryptor.
| |
| getIntegrityCalculator | back to summary |
|---|---|
| public PGPDigestCalculator getIntegrityCalculator() Obtains the integrity check calculator configured for this encryptor instance.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream(OutputStream out) Constructs an encrypting output stream that encrypts data using the underlying cipher of this encryptor. The cipher instance in this encryptor is used for all output streams obtained from this method, so it should only be invoked once.
| |